• WP was working fine until i upgraded to wp 2.0.2 and i’m sure i followed the instructions on upgrading… however, after posting a test page, i got this error…

    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/account/domains/domain.name/public_html/wp-includes/wp-db.php:102)
    in
    /home/account/domains/domain.name/public_html/wp-admin/post.php
    on line 59

    any idea?

Viewing 5 replies - 1 through 5 (of 5 total)
  • Thread Starter betchay

    (@betchay)

    ooops… got it… the ID’s just wouldn’t increment…

    Okay, so how did you fix it? (I hate it when someone posts a problem, then says “oh, never mind, I fixed it!” without telling what you did. You DO realize the reason for this forum, don’t you?)

    Please tell us how you fixed it…I have the same problem and I thought that maybe it was the ID’s not incrementing but I don’t know how to fix it…thanks!
    Jason

    I was able to fix this problem by going into my database manually and setting the ID fields to auto-increment.

    could you please post exactly what to put in and where? I’m having the exact same problem and I can’t make a new post without having to go in and manually edit it right after.

    thanks.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘wordpress database error’ is closed to new replies.