ArtLung Blog

www.flickr.com
A photo on Flickr A photo on Flickr A photo on Flickr A photo on Flickr A photo on Flickr

Joe Crawford lives in Simi Valley, CA USA. He makes mistakes.

WordPress 2.1 Ate My Blog

I can see the posts in the database, but something went wonky on the upgrade and everything before the upgrade is invisible.

Woe is me till I find the time to fix it.

Please stand by.

I’m asking about it on the wp support forum.

Update: And we’re back. The way I fixed it: running this SQL:

-- update DBPREFIX with your own. It may be "wp_"
update DBPREFIX_posts set post_type='post' where post_parent=0;

My theme is not really 2.1 compatible, so I had to do some other hacking as well. When I had everything displaying on the home page, ALL BLOG POSTS were displaying. That’s too many posts. I’m just glad nothing was lost.

Kids, don’t rush your software upgrades right before bedtime. It’s the wrong thing to do.

Wilford Brimley

Leave a Comment

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.