Support » Fixing WordPress » Some people can’t comment – get blank wp-comments-post.php page

  • Resolved runningspirit

    (@runningspirit)


    I’ve been having a problem with my comments since January. For some reason one day they just stopped working.

    If I log into the admin panel I can comment on my own posts. However if I log out and try to leave a comment I get a blank wp-comments-post.php page. I have tried to re-install version 2.7.1 to see if that helped but it didn’t.

    Can anyone help?
    My blog url is – http://www.unique-honor.net/

Viewing 15 replies - 1 through 15 (of 28 total)
  • dlmfisher

    (@dlmfisher)

    I looked at your site and see no problems. I click on comment and see the post and the comment block.

    Thread Starter runningspirit

    (@runningspirit)

    Yes you can see the comment block however if you try to leave a comment it takes you to a blank page and the comment won’t show up.

    Thread Starter runningspirit

    (@runningspirit)

    Can anyone help me?

    Thread Starter runningspirit

    (@runningspirit)

    Anyone at all?

    dlmfisher

    (@dlmfisher)

    I think a file is missing from your install. I emailed you about it using the email address listed on your site yesterday or the day before.

    Thread Starter runningspirit

    (@runningspirit)

    I checked the file and it is there.

    Thread Starter runningspirit

    (@runningspirit)

    bump. Can someone PLEASE help me figure this out?

    I’ve checked the page and it’s there. There doesn’t seem to be anything missing from the file!

    davesnothere

    (@davesnothere)

    I’ve got the same issue. Things work fine on my development box, but not on the clients. Same WP install, 2.7

    t31os

    (@t31os)

    Seems to me that the comment form is the problem…

    If you have a comments.php in your theme, try just renaming it temporarily so it defaults to the default themes comments.php

    If the problem goes away then you know where the problem is…

    davesnothere

    (@davesnothere)

    Probably not the best solution, but if this is a showstopper — most likely is 😉 — and you need a workable hack, here’s what worked for me:

    1. open wp-comments-post.php (this is in the wordpress root.)
    2. at the bottom, line 88 for me (wp 2.7), comment out wp_redirect($location);
    3. replace it with header("Location:$location");

    So, you should have this at the end:

    #wp_redirect($location);
    header("Location:$location");

    CAUTION, this most likely will not survive an update and will have to be redone.

    Anyone know where the wp_redirect function lives?

    t31os

    (@t31os)

    wp-includes\pluggable.php

    Line 834

    Thread Starter runningspirit

    (@runningspirit)

    Thanks for the suggestions I’m off to try them out!

    Thread Starter runningspirit

    (@runningspirit)

    I tried doing what you suggested and it still comes up with a blank page.

    http://www.unique-honor.net/wp-comments-post.php

    Thread Starter runningspirit

    (@runningspirit)

    I also renamed comments.php in my theme’s folder and now when I try to comment it keeps telling me that my e-mail isn’t vaild even through I know it is.

    Thread Starter runningspirit

    (@runningspirit)

    I have the opposite problem. I can comment logged in but can’t comment when I am logged out.

Viewing 15 replies - 1 through 15 (of 28 total)
  • The topic ‘Some people can’t comment – get blank wp-comments-post.php page’ is closed to new replies.