Support » Fixing WordPress » Login and Comment post redirect trouble

  • Hi,
    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.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mark (podz)


    Support Maven

    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.

    Mark (podz)


    Support Maven

    Have you tried step #4 there – involving phpmyadmin ?

    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.

    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

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Login and Comment post redirect trouble’ is closed to new replies.