Zelut
October 24th, 2007, 09:03 PM
disclaimer: this question is not ubuntu related but since we've got the best and brightest minds here I thought I'd give it a try. Also, yes I have googled this to no end and asked on the WP forums (which are crap in comparison).
I updated my blog to WP 2.3 last month, which I have regretted since. I have database errors on all of my blogs and I can not figure out why.
An example error when I add a link to my blogroll:
WordPress database error: [Duplicate entry '47' for key 1]
INSERT INTO wp_term_relationships (object_id, term_taxonomy_id) VALUES ('47', '21')
Warning: Cannot modify header information - headers already sent by (output started at /home/ubuntutu/public_html/wp-includes/wp-db.php:160) in /home/ubuntutu/public_html/wp-includes/pluggable.php on line 390
Yes, all plugins are deactivated.
I even tried a force upgrade again to maybe coax the database into submission. I got this error and then it said it was done:
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_term_relationships ADD PRIMARY KEY (object_id,term_taxonomy_id)
WordPress database error: [Table 'ubuntutu_wrdp1.wp_categories' doesn't exist]
SELECT * FROM wp_categories ORDER BY cat_ID
WordPress database error: [Table 'ubuntutu_wrdp1.wp_post2cat' doesn't exist]
SELECT * FROM wp_post2cat
WordPress database error: [Table 'ubuntutu_wrdp1.wp_link2cat' doesn't exist]
SELECT * FROM wp_link2cat
if anyone has any ideas on how I can fix this I would *really* appreciate it.
I updated my blog to WP 2.3 last month, which I have regretted since. I have database errors on all of my blogs and I can not figure out why.
An example error when I add a link to my blogroll:
WordPress database error: [Duplicate entry '47' for key 1]
INSERT INTO wp_term_relationships (object_id, term_taxonomy_id) VALUES ('47', '21')
Warning: Cannot modify header information - headers already sent by (output started at /home/ubuntutu/public_html/wp-includes/wp-db.php:160) in /home/ubuntutu/public_html/wp-includes/pluggable.php on line 390
Yes, all plugins are deactivated.
I even tried a force upgrade again to maybe coax the database into submission. I got this error and then it said it was done:
WordPress database error: [Multiple primary key defined]
ALTER TABLE wp_term_relationships ADD PRIMARY KEY (object_id,term_taxonomy_id)
WordPress database error: [Table 'ubuntutu_wrdp1.wp_categories' doesn't exist]
SELECT * FROM wp_categories ORDER BY cat_ID
WordPress database error: [Table 'ubuntutu_wrdp1.wp_post2cat' doesn't exist]
SELECT * FROM wp_post2cat
WordPress database error: [Table 'ubuntutu_wrdp1.wp_link2cat' doesn't exist]
SELECT * FROM wp_link2cat
if anyone has any ideas on how I can fix this I would *really* appreciate it.