ID’s not incrementing
-
Okay I followed all of the directions in moving your wordpress to a new server…but i am having a problem.
I am downgrading from MySQL 4.1.18-standard to MySQL 4.0.25-standard.
When I export my database I set the SQL export compatibility to MYSQL40 because I was getting a syntax error when trying to import.
I can post or whatever the first time perfectly on my new server but then when I try to post I get the following error:WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, post_content_filtered, post_title, post_excerpt, post_status, comment_status, ping_status, post_password, post_name, to_ping, pinged, post_modified, post_modified_gmt, post_parent, menu_order, post_mime_type) VALUES (‘1’, ‘2006-05-01 21:14:44’, ‘2006-05-02 03:14:44’, ‘okay this is a database test…it will work now since i prayed for it’, ”, ‘Test Post’, ”, ‘publish’, ‘open’, ‘open’, ”, ‘test-post’, ”, ”, ‘2006-05-01 21:14:44’, ‘2006-05-02 03:14:44’, ‘0’, ‘0’, ”)WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ” at line 3]
SELECT category_id FROM wp_post2cat WHERE post_id =WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ 1)’ at line 2]
INSERT INTO wp_post2cat (post_id, category_id) VALUES (, 1)WordPress database error: [You have an error in your SQL syntax. Check the manual that corresponds to your MySQL server version for the right syntax to use near ‘ORDER BY category_id’ at line 4]
SELECT category_id FROM wp_post2cat WHERE post_id = ORDER BY category_idWordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (”,’_pingme’,’1′)WordPress database error: [Duplicate entry ‘0’ for key 1]
INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (”,’_encloseme’,’1′)Warning: Cannot modify header information – headers already sent by (output started at /home/jason/public_html/wp-includes/wp-db.php:102) in /home/jason/public_html/wp-admin/post.php on line 59
I think my ID’s are just not incrementing……but I have NO clue as to how to fix it.
Thanks for any help!
-Jason
The topic ‘ID’s not incrementing’ is closed to new replies.