[wp-hackers] Lost categories upgrading to 2.5.1

Elliotte Harold elharo at metalab.unc.edu
Wed Apr 30 03:56:46 GMT 2008


I decided to upgrade my blog to 2.5.1 tonight from back in the 2.2 
region, and promptly lost all my categories.

This also broke my permalinks. However the categories still seem to be 
there if I know the old names for them.

This is the first time a WordPress upgrade has gone so badly for me.

The upgrade produced lots of error messages like this:

WordPress database error: [Table 'elharo_wordpress.wp_terms' doesn't exist]
SELECT term_id, term_group FROM wp_terms WHERE slug = ‘uncategorized’

WordPress database error: [Table 'elharo_wordpress.wp_terms' doesn't exist]
INSERT INTO wp_terms (term_id, name, slug, term_group) VALUES (’1′, 
‘Uncategorized’, ‘uncategorized’, ‘0′)

WordPress database error: [Table 'elharo_wordpress.wp_term_taxonomy' 
doesn't exist]
INSERT INTO wp_term_taxonomy (term_id, taxonomy, description, parent, 
count) VALUES (’1′, ‘category’, ”, ‘0′, ‘2′)

However it did eventually claim

     WordPress database error: [DROP command denied to user 
'elharo_2_w'@'209.68.1.245' for table 'wp_categories']
     DROP TABLE IF EXISTS wp_categories

     WordPress database error: [DROP command denied to user 
'elharo_2_w'@'209.68.1.245' for table 'wp_link2cat']
     DROP TABLE IF EXISTS wp_link2cat

     WordPress database error: [DROP command denied to user 
'elharo_2_w'@'209.68.1.245' for table 'wp_post2cat']
     DROP TABLE IF EXISTS wp_post2cat
     Upgrade Complete

     Your WordPress database has been successfully upgraded!
     Continue


Any suggestions/ideas?


-- 
Elliotte Rusty Harold  elharo at metalab.unc.edu
Java I/O 2nd Edition Just Published!
http://www.cafeaulait.org/books/javaio2/
http://www.amazon.com/exec/obidos/ISBN=0596527500/ref=nosim/cafeaulaitA/


More information about the wp-hackers mailing list