WordPress.org

Ready to get started?Download WordPress

Forums

Login and Comment post redirect trouble (6 posts)

  1. wosh
    Member
    Posted 10 years ago #

    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.
    Cheers,
    Bastiaan Terhorst
    ps
    WP and my site are in different folders, if that matters.

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

  3. Anonymous
    Unregistered
    Posted 10 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 10 years ago #

    Have you tried step #4 there - involving phpmyadmin ?
    http://www.mfr.f2s.com/phpmyadmin/

  5. wosh
    Member
    Posted 10 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
    Member
    Posted 10 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.
    Cheers,
    Bas Terhorst

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.