• 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

Viewing 8 replies - 1 through 8 (of 8 total)
  • Thread Starter paulrus

    (@paulrus)

    bump

    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;?>
    Thread Starter paulrus

    (@paulrus)

    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

    Thread Starter paulrus

    (@paulrus)

    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

    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 https://domain.com/wordpress as my wordpress url, but
    https://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……

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

    Thread Starter paulrus

    (@paulrus)

    Hi – I’ve tried both non www and with www – neither fix it.

    https://www.japancast.net

    Thanks!

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

    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..

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘readers unable to log in and comment’ is closed to new replies.