Just Finished Some Fixes at my Comment Database
Posted by : Dexter Panganiban |You are invited to have my FREE RSS Feeds or you may Subscribe to me via emailfor latest information in this website.
This post is intended to share some fixes that I have Done.
I have seen this comment in yellow at my database : See Pictures below
More than one INDEX key was created for column `comment_approved’
Problem : When Commenting in my blog it will redirect you to 404 Page then after refreshing the page it will again go back to the page but sometime comments are not shown.
Solution : I went to Database PHP My Admin then drop the [ comment_approved_date_gmt ] & [ comment_approved ] from the following Indexes as shown in below as part of your Database wp_comments.
I am not expert in this database thing but I tried to delete one of them and there are still problems. And when I delete all index, My dashboard acts strange so as per my trial and error, dropping { or deleting } [ comment_approved_date_gmt ] & [ comment_approved ] is the best solution. If you encounter error while commenting please let me know and I will try to resolve it.
BTW I have WordPress 2.6 in my system. I believed this is some issues with some of my plug-ins. I don’t know well, at least it is fix for now.
Interesting Comments
10 Responses to “Just Finished Some Fixes at my Comment Database”
Leave a Reply
Check my Blogging Tips and Experience
- Bloggers Beware? or be Jailed ?
- Sharing What I Read Today
- Nominations now Open for the 2008 Philippine Blog Awards
- My Hotel in Al Joub, Saudi Arabia has an Internet connection
- My Technology at Hand Site is now Mobile Ready
My WordPress Tips and Tricks
- I Have Enabled the CommentLuv Plugin For This Site
- How to import Blog Roll Links ?
- Wordpress Plug-ins : AdSense Manager
- Upgraded to WordPress 2.8.3 | Security Release
- How to Feed Subscribe in a Particular Label or Category of a Blog





























congratz at nafixed mo na..hehe. God bless!
Reply
kaya pala kahapon nag error 404 nung nag comment ako
Amys last blog post..WordCamp Philippines 2008
Reply
@ Did You Know?
Oo nga at last he he he, One good thing happen I was able to understand how this database things work..
@ Amy,
When I tried to reply on the comments I saw this error that is why I immediately search for the errors..
and luckily I found it..
Reply
congratz kuya dexter, pedeng pede kna maging programmer o database administrator – or you’re already one, hehhe,
- it’s gusher
2008 Beijing Olympics – Medal Tally Updates and Resultss last blog post..SEO Makes More Money
Reply
uu nga. Programmer yan c kuya dexter. hehe
Reply
@ Gusher,
How I wish I can be a programmer pero mukhang mahirap na yan sa stage ko ha ha ha.. medyo may edad na.
@ Did You Know?
Anong klaseng programmer.. Programmer ….hhmm.. television he he he
Reply
“went to Database PHP My Admin then drop the [ comment_approved_date_gmt ] & [ comment_approved ]”
Ok.. but doesn’t this affect moderation of comments. Can you still moderate comments after you droped them?!
Reply
@timmy77
You can only dropped the comments if its duplicated. But if not you must not drop it.. As of now Akismet is still doing fine.. and comments can also be moderated
Reply
FYI, I tried doing as you suggested, but it did not help. I dropped just the [ comment_approved_date_gmt ] & [ comment_approved ] indexes and I still get the 404 page.
Reply
Dexter Panganiban Reply:
March 10th, 2010 at 4:54 pm
@Steve,
This solution is for wordpress 2.6 it might not work thru your present WP version
Reply