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

  • Resolved 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 –

Viewing 15 replies - 1 through 15 (of 28 total)
  • I looked at your site and see no problems. I click on comment and see the post and the comment block.

    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.

    Can anyone help me?

    Anyone at all?

    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.

    I checked the file and it is there.

    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!

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

    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…

    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:


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

    Anyone know where the wp_redirect function lives?


    Line 834

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

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

    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.

    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.