Comments are Working Again

by Tom Kenny (@tkenny)


Earlier today I realised that nobody was leaving any comments on the last few posts so something must have gone wrong or my writing got even worse overnight which is very possible!

Turns out that upon hitting the submit button, a blank page would appear and nothing would happen. I managed to recreate the bug on my local install of WordPress and discovered that there was something wrong with the database.

After spending far too long in phpmyadmin trying to figure it out, even with a developers help, we were stumped. The problem was obviously with the wp_comments table so I tried repairing it but no luck. Then I noticed I had the option to optimise the table. I had no idea what it does exactly but when can optimising anything be bad, right? Well, it did the trick.

Despite all the problems, I’ve picked up a couple of things about working with databases so it’s not all bad. Apologies for the inconvenience but everything is back to normal.

Comment away!

Improve Your Eye for Great Design

Learn why the best designers make the decisions they do to design successful websites people love in this FREE eBook with 3 in-depth case studies. I’ve spent hours studying what makes these websites amazing, so you can use what works and focus on your design work. Subscribe now to get it immediately.

100% privacy. No spam. Completely free!

by Tom Kenny

I’m a freelance web designer and front-end developer with over 7 years of experience designing for the web. Follow me on Twitter here.