PureNews

PureNews is an amazingly sleek and powerful news theme with unlimited color variations.

View full feature list Check out the live demo Buy this theme today

How to stop the blank page after leaving a comment in WordPress?

WordPressAfter resolving the scheduling bug in WordPress 2.9, I noticed that I was getting sent to a blank page after leaving a comment here. The comment would post but you had to hit the back button and then reload to find this out. I tried a few things the other day but put it to the back of my head until Rob Starr reminded me about the problem tonight.

Here’s the problem. After leaving a comment you are sent to http://www.bloggingtips.com/wp-comments-post.php, which is a blank page. If you go back a page and reload then you should see your comment but that page should be redirecting you back to the blog post with your comment on it.

I’ve only had this problem after updating to WordPress 2.9. However, it’s clear from reading the WordPress support forums that this is a problem that many people have had for a year or so. My hope was for this article to be an explanation of how you can resolve this problem. Unfortunately, I’ve not been able to fix it as yet.

If you have had this problem and fixed please share the process you went through to resolve it. I’m sure many readers, and myself, would be very grateful.

Here are a few steps I have taken to try and resolve this problem. Many people have reported them working for them but none have resolved the issue for me.

Unfortunately, most of the threads over at WordPress are incomplete with the blogger either not getting his problem resolved, or resolving it and not coming back to explain how he fixed it.

The last thing I can think is causing this is a probllem with database memory. Though if that was the case my other blogs would probably be having this problem too and they’re not. Plus, it’s always best to exhaust all other options before going to your host for help as they can’t be expected to resolve script issues like this.

I do apologise for any inconvenience caused by commentating at the moment. You can leave a comment but you will probably just get sent to that white page so please make sure you hit your back button after submitting your comment.

Again, any feedback on fixing this error would be greatly appreciated.

Thanks,
Kevin

Kevin Muldoon is a webmaster and blogger who lives in Central Scotland. His current project is WordPress Mods; a blog which focuses on WordPress Themes, Plugins, Tutorials, News and Modifications and useful resources such as 101 Places To Find Images For Your Blog Posts.

38 comments - Leave a reply
  • Posted by PC on 5th Jan 2010

    I have been getting these errors for the last 2 years and it is surprising wordpress has not officially found a solution for this yet. Thee errors still continue. Some possible fixes in comments here
    http://www.quickonlinetips.com/archives/2007/10/g…

    • Posted by anny on 30th Nov 2010

      We'll see how this one goes.

      I'm so glad we have a WP guru around. I'd rather read your fixes than the ones at WordPress.

      Thanks for the great stuff!

  • Posted by Kevin Muldoon on 5th Jan 2010

    Thanks for the link. Though I couldn't see anything on that article which helped with resolving this.

  • Posted by Kevin Muldoon on 5th Jan 2010

    Strange, the above comment posted there with no problems. Is anyone having a problem posting comments? If so, please let me know here :)

  • Posted by Patti Stafford on 6th Jan 2010

    I just commented on the other post (about scheduling issues) and it posted fine.

    We'll see how this one goes.

    I'm so glad we have a WP guru around. I'd rather read your fixes than the ones at WordPress.

    Thanks for the great stuff!

  • Posted by Patti Stafford on 6th Jan 2010

    So far, so good. It seems to be working. :)

  • Posted by Ginchen on 16th Jan 2010

    I've had a very similar problem, too. Today I found the solution, which was connected to the line

    <code><input type="hidden" name="comment_post_ID" value="ID; ?>" /></code>

    in the comment template. Since this line is present twice in your source code (once with and once without a value), my guess is that this was causing your problem, too.

    See here for details: http://blog.ginchen.de/en/2010/01/16/leere-seite-…

  • Posted by Andy on 1st Feb 2010

    Ooo IC, so that is the problem, thanks for tips

    • Posted by Jamie on 19th Mar 2011

      This helped me to, thanks!

  • Posted by foxy on 5th Sep 2010

    I get this error a lot when doing blog comments. I always thought it was my end. Thanks for letting me know its a WP glitch.
    My recent post Two weeks of Angeles City Debauchery!

  • Posted by Dan on 7th Sep 2010

    I'm also getting this a lot when I try to comment on blogs. I would really love a solution for this so I still comment on the blog.

  • Posted by vitamin d benefits on 8th Sep 2010

    I was having this issue with several of the blogs I frequent. Anyone know if there is a patch/fix out for this?

  • Posted by incentivi restauro on 11th Sep 2010

    Hello,
    I was also facing the same problem in my blog. But your suggestion fixed it. Thank you

  • Posted by Vacuum Chambers on 16th Sep 2010

    any news? Im having this problem in many of my blogs :(
    My recent post Ultra High Vacuum Chambers

  • Posted by James on 20th Sep 2010

    I've been getting this blank page as well — does it have something to do with Akismet?

  • Posted by stork club on 23rd Sep 2010

    So this is what happens to it…i have been experiencing that kind of problem and I thought i was blocked or something.keep on updating us on this, Kevin. Thanks!

  • Posted by alex on 5th Oct 2010

    I also having this problem before, what I found is my wp-comments-post.php template is blank, I just copy all code from default template and it solve the problem

  • Posted by Mark on 16th Oct 2010

    Nothing I found online worked for me, so I just did this as a patch:

    in the file, wp-comments-post.php

    before final line, ?>

    Add

    header( "Location: ./?page_id=".$comment_post_ID."" ) ;

    Hope that helps.

  • Posted by Buffalo Roofer on 18th Oct 2010

    Thanks for the heads up. Do you think this has anything to do with which browser someone is using?

  • Posted by jehzlau on 20th Oct 2010

    I also tried all possible solutions and until now, I still can't solve this problem. O_O
    My recent post What’s the title of this movie

  • Posted by mike on 25th Oct 2010

    thanks for this solution but i am still unable to solve it.
    i will try again.. http://www.mediapublishing.com.sg
    My recent post pingsg

  • Posted by seo software on 3rd Nov 2010

    this really frustrating, i have a lot of comments gone to waste because of this unusual scenario on word press. I hope anyone will find a solution for this.

  • Posted by baza firm on 3rd Nov 2010

    This is what piss me off most ! How can I post a comment if like 5 pages ( last 5 pages ) which I commented get blank :| . Some of the users have their comments there – is this happens only for a some of users?

  • Posted by Poker Rakeback on 10th Nov 2010

    I`m in the same situation , nothing works !
    My recent post UBcom Reload Bonus

  • Posted by DB www.redips.net on 12th Nov 2010

    Blank page is problem and I notice such behavior on several sites. You post gives an answer and I'm wonder how to diagnose a problem on my own site. All I can do is to monitor comment activity … :(

    Anyway, thank you for sharing …
    Cheers!
    My recent post Shift table content

  • Posted by Dejting Sverige on 13th Nov 2010

    hmm, so I guess it is a bug in wp then?
    My recent post Intervju med Johan från shakemyworldcom

  • Posted by Web design company on 14th Nov 2010

    I am facing same problem. From last few days I am facing same problem.
    Is this a problem due to WordPress?

  • Posted by Best Data Entry Jobs on 20th Nov 2010

    I have the same problem with many blog. It is very strange that I see many other comments posted successfully before me, but when I leave a comments, it show blank page and don't show my comments.
    My recent post Is there a way to get a freelance writing job under 18yrs old

  • Posted by virility ex guy on 26th Nov 2010

    I thought this was down to me being blocked. I haven't been able to post stuff to various different blogs

  • Posted by David on 29th Nov 2010

    I am having troubles posting to several WP sites. I will try the back-reload to see if I can get my comments posted. Thanks.

  • Posted by fatcow on 4th Dec 2010

    I don't think it is a "bug"

    It is preventing spam comments, hence akismet is causing the problem.

    You or your ip has been commenting on too many wordpress blogs… It doesn't have to be the same blog as akismet is 3rd party.

    It could be the url you are using for the website or the type of comment you are using
    My recent post Identify the best discount web hosting coupon code

  • Posted by Small Business on 12th Dec 2010

    Hey Kevin thanks for letting us comment on here.
    Do you still have this problem in WordPress 3.0.3?
    Thanks
    Phillipe.

  • Posted by iPod Touch Tutorial on 22nd Dec 2010

    This actually occur to me more often every time I post a comment on old blogs. However, I don't encounter this problem whenever I post a comment on new blogs. I initially thought that it's WP's spam deterrent system but after reading this post I realized that its a common problem for many bloggers like myself.
    My recent post iPod Touch Are Given To Medical Students

  • Posted by Mehmet Gültekin on 27th Dec 2010

    I have fixed the problem by adding the "the_post();" at the top of the php file.

  • Posted by joe fountains on 11th Jan 2011

    this is happening to me all the time, eveytime i leave a comment, i just get sent to an empty page, an my comments never get sent
    My recent post The Enchanting Effect of Water Fountains

  • Posted by Nabil on 22nd Jan 2011

    For some strange reason, I am still having this problem. And I'm using the latest version of WordPress: 3.0.

    No matter what I do – I seem to stumble upon that blank page wherever I leave a comment. And that is insanely annoying. Especially when you're not even spamming.
    My recent post Dölj håravfall med Toppik

  • Posted by Samsung 1080p HDTV on 16th Feb 2011

    I've been facing the same problem, and I solved it by deactivating the akismet plugin.

    Also when I commented in a couple of blogs, I found that from my office computer it was giving me a blank page, but from my laptop at home it was fine, so I guess the computer or maybe the IP is related (maybe akismet didn't like the IP when I was at my office, hehe)
    My recent post Samsung Un55b8000 55-Inch 1080p 240 Hz Led Hdtv Joanne Walden -

  • Posted by ryanfred on 23rd Feb 2011

    This solution worked for me like a charm, my comments weren't posting, nor was I able to access wp-admin or submit any data or forms for that matter…

    take a look at your functions.php file and make sure the are NO spaces at the top or bottom.

    I had the same issue, I was not able to login to my wp-admin section and this fixed it.
    My recent post Music is the only true universal language that speaks to emotion Music is the movement of math and