RSS Icon
Dave Chase, Web Designer, Photographer, Blogger

Dave Chase

Web Design • Photography • Journalism • Politics

Jan
28

Comment Problems with WordPress 2.7

Recently, I start a blog focusing on politics called Political College Student. Since I love WordPress so much, I of course decided to use the latest copy of WordPress, 2.7, on this blog. How can I not? With a cool new design, automatic upgrade and installation of plugins and the best tagging system I have seen, WordPress 2.7 is a huge improvement over WordPress 2.6.

However, after about a week of starting the blog I started getting a few comments. I did not notice on the first one, in fact it was not until one of the commenters pointed out that his comment was attached to the wrong post. Whenever someone tried to post a comment on one post, it would get attached to the post four posts before that. Clearly a problem.

I immediately added a topic on the WordPress.org but no one responded. Given that community, that means no one knows how to fix the problem..

When no one replied, I decided to play around with it.

NOTE: Whenever messing around with you WordPress Install, backup your database and your wp-content directory

First I tried digging around the core files to try and happen upon some errors but I found nothing. So, I decided to install WordPress 2.7 and install 2.6 to see if that would solve the problem. No luck there…

So, I had narrowed it down to a problem with my theme files. My theme is really a custom theme but I use the default theme as a starting point and edit it to my needs. So, I replaced the comments.php file in my theme with a fresh copy from the default theme and problem solved!

I also had someone email me who say my topic on the WordPress.org forums who was having a similar problem and I recommended that she replace the comments.php file with a fresh copy. It worked for her too.

So, when in doubt, replace the comments.php file!

Leave a Reply

Valid XHTML 1.0 TransitionalValid CSS!