Login and Comment post redirect trouble (6 posts)

  1. wosh
    Posted 12 years ago #

    I installed WP a few days ago, and have been integrating it in my
    site. Now, all of the sudden, I've lost the ability to login.
    This happended after clearing my cookies. Strange though,
    after the installation, logging in worked perfectly, and I
    changed my password immediatly.
    Next problem; when posting comments the wp-comments-post
    file fails to redirect the user back to the post. I have no idea why
    this is not working, as the code looks ok. It could be my
    PHP config or something, but I really have no idea. Anyone else
    experience this.
    Bastiaan Terhorst
    WP and my site are in different folders, if that matters.

  2. Mark (podz)
    Support Maven
    Posted 12 years ago #

  3. Anonymous
    Posted 12 years ago #

    Unfortunately following those directions do not solve my problems, the line they tell me to change was already changed anyway.
    It just keeps asking me to login. no errors or anything.

  4. Mark (podz)
    Support Maven
    Posted 12 years ago #

    Have you tried step #4 there - involving phpmyadmin ?

  5. wosh
    Posted 12 years ago #

    I have, and it didn't work.
    I've reinstalled wordpress (I didnt like the folder it was
    installed in). I can log in again. I've tried logging out, and deleting my cookies, and it still works. So hurrah.
    The coments problem however, persists.

  6. wosh
    Posted 12 years ago #

    Ok, I did some debugging myself and found that the point where the
    page stopped working was at the point where the blow owner was
    notified of changes. To be exact:

    if ((get_settings('comments_notify')) && ($approved)) {
    wp_notify_postauthor($comment_ID, 'comment');

    And my system doesn't have sendmail support compiled in.
    That broke the pipe. Now that I've turned off email notification
    it works like a charm.
    Maybe the options page should do a check (a simple
    function_exists() would do the trick) if mail() is available.
    Anyway, thanks for the replies, and WordPress ofcourse.
    Bas Terhorst

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.