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:
• wordpress comment error page
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 =-.
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 =-.
Nice post & tips. I will do that on my next project website…
.-= Brillie´s last blog ..Sidang TA =-.
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!
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.
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? =-.
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 =-.
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 =-.
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 =-.
Thx for the tip
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 =-.