WordPress.org

Ready to get started?Download WordPress

Forums

readers unable to log in and comment (9 posts)

  1. paulrus
    Member
    Posted 5 years ago #

    I'm having a problem where my readers try to comment, are told they must log in to comment - they log in and are taken back to the post where they once again are told they must log in to comment.

    I've tried this myself and was unable to comment on any posts.

    I'm running the latest version (2.72 I believe)

    Paul

  2. paulrus
    Member
    Posted 5 years ago #

    bump

  3. esmi
    Forum Moderator
    Posted 5 years ago #

    Check comments.php. It should include a couple of lines something like:

    <?php if (get_option('comment_registration') &amp;&amp; !$user_ID ) : ?>You must be <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?redirect_to=<?php echo urlencode(get_permalink()); ?>">logged in</a> to post a comment.
    <?php elseif($user_ID ) : ?>You are currently logged in as <a href="<?php echo get_option('siteurl'); ?>/wp-admin/profile.php"><?php echo $user_identity; ?></a>. <a href="<?php echo wp_logout_url(get_permalink()); ?>">Log out</a><?php endif;?>
  4. paulrus
    Member
    Posted 4 years ago #

    Well, it's been 10 months and I still have the same problem. I checked comments.php and what you've posted there doesn't make any sense with the current version.

    I've disabled all plug-ins - gone back to the default theme - nothing fixes it.

    Any ideas?

    Thanks

    Paul

  5. paulrus
    Member
    Posted 4 years ago #

    If I bump this, does it get back to the top? Seriously - 10 months with no ability to comment. I've re-loaded all of WordPress and still nothing fixes the problem. Nobody - even admins - can write comments. It just tells you that you need to log in, then you log in and it takes you back to the original post and tells you you must log in to post comments. The loop never ends.

    Paul

  6. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    This is a bit of a stretch, I've only see it be an issue twice....but why not suggest it. In your general settings, where you have your blog and WP urls setup, do they both either start, or do not start with www?

    example:
    I had http://domain.com/wordpress as my wordpress url, but
    http://www.domain.com as my blog url (no /wordpress directory, but that's how I have it set up)

    so the lack of www in my wordpress url caused some sort of authentication problem, and wouldn't let people comment. Like I said, it's a stretch......

  7. Rev. Voodoo
    Volunteer Moderator
    Posted 4 years ago #

    ALso, you never did give a url to your site....sometimes looking at the source can help us

  8. paulrus
    Member
    Posted 4 years ago #

    Hi - I've tried both non www and with www - neither fix it.

    http://www.japancast.net

    Thanks!

    PS: Why doesn't this site notify of replies?

  9. bstiekes
    Member
    Posted 4 years ago #

    RVoodoo...

    Many thanks for your answer, I was having similar problems, users could post comments using IE, but not with Chrome, Firefox, or Opera. Users could log into their profiles using the link from the main page, but would not be kept logged in on any sub-page. Attempting to log-in to comment simply resulted in a page refresh.

    Updating my wordpress url to match the blog url fixed the problem.

    many thanks! you saved me from having to post a message and get slapped with the "have you searched yet" salami..

Topic Closed

This topic has been closed to new replies.

About this Topic