Status
Not open for further replies.

Maverick340

Ambassador of Buzz
I have a blog that runs on wordpress (2.0.4) . I recently moved from one hosting to another . While doing so i backed my MYSQL database and restored it out here. Now when i try to post an article i get this error
Code:
WordPress database error: [Duplicate entry '0' for key 1]
INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES ('0','_pingme','1') 

WordPress database error: [Duplicate entry '0' for key 1]
INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES ('0','_encloseme','1') 

Warning: Cannot modify header information - headers already sent by (output started at /home/maverick/public_html/wp-includes/wp-db.php:104) in /home/maverick/public_html/wp-includes/pluggable-functions.php on line 272
Whats wrong ?
 

tuxfan

Technomancer
Have a look here. You just need to run a simple MySQL query thru phpMyAdmin and it will start working ;)
 
Last edited:
OP
Maverick340

Maverick340

Ambassador of Buzz
Tried it . It now dosent give an error while posting but still refuses to post !
__________
I ge this error after i run that querry :
Code:
Error

SQL query: 

ALTER TABLE `wp_posts` CHANGE `ID` `ID` BIGINT( 20 ) UNSIGNED NOT NULL AUTO_INCREMENT ;


MySQL said:  
#1062 - Duplicate entry '45' for key 1
 
Last edited:
Status
Not open for further replies.
Top Bottom