How to Fix WordPress Blank Page Error on Leaving Comments

by Udegbunam Chukwudi on September 27, 2009

make money online

This is a guest post by Udegbunam Chukwudi of StrictlyOnlineBiz

God knows how many times I’ve got the wordpress blank page error after leaving comments on some blogs. Some days back I got an email from one of my readers complaining that he had left  two lengthy comments on my blog only to get a blank page after clicking the submit button.  Thus I set out to find a solution and finally I’m 99% sure I’ve found one.

My research revealed that in some cases the almighty and over-rated Akismet is to be blamed. One of the features of Akismet that helps it with it’s anti-spam capability is that it tends to monitor the time gap between when a web page or blog post loads and when a comment is subsequently submitted.

If the time gap is small, Akismet tags the comment as spam and either throws up a blank page or tags the comment as spam in your wordpress dashboard. In most cases it does both.

HOW TO FIX THIS ISSUE?

Simple, deactivate and uninstall Akismet.

Please note that I tried this method and the next day, my blog went loco with the permalinks misbehaving badly. Single posts kept throwing up 404 errors.  Reactivating Akismet and restoring a backup of my database seems to have saved my blog.

NOTE: I don’t know what Akismet had to do with this but I’m so NEVER going to be deactivating it again because at a point I felt I’d been hacked.

If you intend going this route, make sure comment moderation is enabled for each and every comment. Most especially if you manage a do-follow blog like I do.

Another fix I found making the rounds on the net is changing a little piece of code found in the comments.php file of your wordpress theme.

It is said that wordpress uses post ID to track which comments go with certain posts and if this post id is missing in a comment, the comment is lost or the commentator is redirected to a blank page.

The Trick:

Using CTRL + F, find:

<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />

in your comments.php file and change it to

<input type="hidden" name="comment_post_ID" value="<?php echo $post->ID; ?>" />

Save the file and you’re good to go…

NOTE: So far so good, by changing this tiny piece of code in the comments.php file, I’ve been able to save my commentators a whole lot of headache. Deactivating Akismet was certainly not an option for me.

I hope you will find this guide helpful whenever your blog will face such kind of problem.


Top 10 Search Terms:

• blank page while submit a comment w • wordpress comment error page • wordpress comments error page • comment error page wordpress • wordpress empty comment error • wordpress blank page comments • fix coding in wordpress comments php • wordpress comment submit 404 error • wordpress comment page error • wordpress blank page after posting comment


THIS IS A DO FOLLOW BLOG --- ADD YOUR COMMENT

Article Written By Udegbunam Chukwudi

Udegbunam Chukwudi in his pastime writes about free blogging and make money online tips at his blog Strictly Online Biz. Topics already covered at his blog includes Upgrading & Speeding up wordpress blogs, Making Money through Paid Online Surveys, Google Adsense, Web Hosting Reselling and CPA Marketing amongst others. You can follow him on twitter >@sonlinebiz.

Udegbunam Chukwudi has written 1 superb article(s) on this blog


{ 31 comments… read them below or add one }

Barbara Ling, Virtual Coach September 27, 2009 at 5:46 pm

Great find! I always like knowing how to fix small annoying errors on my blog – will file this for future reference. Thanks!
.-= Barbara Ling, Virtual Coach´s last blog ..Today’s Humor of the Day – Funny Microsoft Windows Errors =-.

Reply

Earn Money At Home September 28, 2009 at 5:47 am

Thank you for the tips. Even though I don’t have a wordpress blog, the information I learn will always in my mind for my future references.
.-= Earn Money At Home´s last blog ..How To Earn More Money from Google Adsense =-.

Reply

Brillie September 28, 2009 at 9:33 am

Nice post & tips. I will do that on my next project website…
.-= Brillie´s last blog ..Sidang TA =-.

Reply

Benjamin Cip September 28, 2009 at 10:47 am

I didn’t know this problem existed, but thanks for the solution to solve this errors problem! I’ll use it if I ever have that error on my blog. Thanks for sharing!

Reply

Typhoon September 28, 2009 at 9:34 pm

Well I have seen that error few times when leaving comment on blogs like tylercruz etc. I think Akismet or some other spam protection plugin could be the reason for it.

Reply

Melvin September 28, 2009 at 11:56 am

Great post! It really doesnt happen to me but Im just curious still to find something for it.. I thought there arent many guides on internet about fixing it..
.-= Melvin´s last blog ..Do You Appreciate Your Readers? =-.

Reply

Liane YoungBlogger September 28, 2009 at 4:56 pm

The wordpress error page for comments… I sure do hate seeing that. Nice tip. ;)
.-= Liane YoungBlogger´s last blog ..Launching a New Service Soon – Your Content Perfect Ebook Coming Right Up =-.

Reply

Extreme John September 28, 2009 at 10:19 pm

Ahh this is a great post idea, for a while I seeing these issues everywhere and it was driving me crazy.
.-= Extreme John´s last blog ..Extreme John $250 Fan Sign Contest =-.

Reply

Udegbunam Chukwudi from Make Money Online Tips September 29, 2009 at 12:08 pm

Thanks for the support guys. I’m still new to guest posting and so far my efforts have been appreciated.
Another useful tip is when writing long comments always do on Notepad or MS Word so that afterwards you can just copy and paste in the comment.
This way you still have your comment should you get the blank page error.
Take care guys.
.-= Udegbunam Chukwudi@Make Money Online Tips´s last blog ..How To Get A Visa or MasterCard In Nigeria =-.

Reply

Bora Paris dot Com October 4, 2009 at 8:25 am

Thx for the tip

Reply

Albert Fang October 8, 2009 at 6:19 am

Thanks for this nice tutorial. This habit of Wordpress really bugged me for my other bugs, until I found the solution. :)
.-= Albert Fang´s last blog ..Article Marketing: A Strategy for Affiliate Marketing =-.

Reply

Toronto Windows October 14, 2009 at 4:51 am

I have had this problem many times, but I did not realize that it was app problem with WP blogs.
Well, I will keep this page for future reference. Thanks

Reply

Jenn December 6, 2009 at 12:44 pm

I wonder what’s the connection of Akismet plugin with that issue? though I never experience this thing. If ever, I will get back here and follow your tutorial, I’m sure it’ll work.
.-= Jenn´s last blog ..TRIPLE MEDICAL CELEBRATION: A BlogThing Game =-.

Reply

Marketing Digital January 26, 2010 at 7:48 pm

Blacklisting seems to be another possible cause for the “blank page after commenting” problem:

http://searchengineoptimizationplus.com/2008/09/15/submit-blog-comments-and-getting-a-blank-page
.-= Marketing Digital´s last blog ..20 Objetivos Para Uso De Mídias Sociais Dentro Da Sua Empresa =-.

Reply

Ian Brodie from Get Clients February 14, 2010 at 11:18 pm

I rarely get this (maybe because I read posts before commenting – lol). But I’m going to implement it on my blog.

Being thesis based, it’s going to be a little trickier to do – but a challenge is nice!

Ian
.-= Ian Brodie from Get Clients´s last blog ..Is it better to be Truthful, or Interesting? =-.

Reply

Ketin March 10, 2010 at 7:32 pm

Well thats why i always thought why i am getting blank pages while commenting. I always thought it had to something with my comment. But even if i post a 1 line comment or 10 line , i got the same error in some blogs.
Akismet can really piss off your visitors.
.-= Ketin@tweetomatic Profiteer Review´s last blog ..Tweetomatic Profiteer Review – It is Live now =-.

Reply

Pakiisp April 1, 2010 at 5:27 am

great post thankyou for made this nice post my problem is solved coz i was have same prob in comments.php thanks alot.

Reply

Peter Armenti April 3, 2010 at 11:51 pm

now.. if only I could fix this on EVERYONE ELSES sites.. I’d be good.. I’m getting white screen here :(
.-= Peter Armenti´s last blog ..Can’t ignore Elgg anymore =-.

Reply

Nick June 19, 2010 at 4:18 am

Great post – Askimet saves me hundreds of spam posts a day, so disabling it wasn’t an option for me either. I gave this a shot on a blog I manage for a client and it seems to have worked, so I appreciate you posting about it!

Reply

Rob October 16, 2010 at 7:16 pm

Perfect! I had this exact problem. Akismet is a no brainer with all the spammers around. Thank you for the “how-to”. – Rob.

Reply

Charles October 19, 2010 at 10:22 am

Wow I have been trying to figure out this blank page for a while now, thanks for this fix, just what I have been looking for!

Reply

Fawn December 7, 2010 at 2:07 pm

Blog commenting has been a major part of my SEO and I’ve had the blank comments page so many times. It never occurred to me it was Askimet related. Thanks for the info.

Reply

Vinson January 1, 2011 at 11:21 pm

Hi Udegbunam,

You are very clever in detecting the problems regarding Akismet white page blacklisting method. So it means If we do comment on let’ say 5 to 10 blogs in a very short interval we will be see this white page? I hope I get your idea right.

Vinson

Reply

Trond January 12, 2011 at 2:37 am

I had the same problem just recently and I had to reinstall my theme. That solved my problem:-)

Reply

Rob February 14, 2011 at 2:42 pm

Exactly what I was looking for – I’ve had this blank page so many times and thought it was just me. Many thanks, Rob.

Reply

JohnFarmadeo February 27, 2011 at 10:41 pm

Thanks. I have been very active lately in commenting on blogs and this has been a problem. There is nothing more frustrating than writing a lengthy comment relevant to the article and discussion and end up on a blank page.

I initially thought it was my computer but after several tries I realized it was askimet. I hope they clean up their act, they are damaging web 2.0

John

Reply

Rizza April 24, 2011 at 6:24 am

Now I know why sometime when I make a comment (to some other blogs), after submitting a long paragraph comment… blank page? Urrrggghhhh…(-_-*)… so thanks for this very useful post. Hopefully, those kind of blog site (which I submitted with long paragraph comment and redirected to a blank page) will read this so they can fix the problem.

Reply

Holo May 2, 2011 at 2:02 am

It really doesn’t happen to me but I’m just curious still to find something for it.
Holo recently posted..iPad2 Jailbreak My Profile

Reply

June mcgraw May 2, 2011 at 3:42 pm

Very helful info, it fixed my wordpress issues.

Reply

Gary May 20, 2011 at 10:55 am

That’s why I sometimes get the blank page after commenting. I thought it was my browser’s problem. Turns out it is Akismet.
Gary recently posted..Make a Website – Step by Step TutorialMy Profile

Reply

Simon June 30, 2011 at 4:03 pm

I don’t understand as well when the comments take me to a blank page, so you mean the comment was never even read by the blog owner? That sucks very bad, why would Akismet place a tag on people like that? This is like branding people as spammers! Even when they are not, so we are not allowed to comment on blog posts anymore? I don’t understand Akismet at all, but I know many people don’t like it.

Reply

Leave a Comment

CommentLuv badge
This blog uses premium CommentLuv which allows you to put your keywords with your name if you have had 3 approved comments. Use your real name and then @ your keywords (maximum of 3)


whos.amung.us