• Suddenly and without warning or reason my WordPress blog will not post or allow me to upload files.

    When I post I get:

    WordPress database error: [Duplicate entry '10' for key 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES ('760','_encloseme','1')
    
    Warning: Cannot modify header information - headers already sent by (output started at /home/shalista/public_html/blog/wp-includes/wp-db.php:133) in /home/shalista/public_html/blog/wp-includes/pluggable.php on line 331

    When I try to upload an image I get:

    WordPress database error: [Duplicate entry ’10’ for key 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (‘761′,’_wp_attached_file’,’/home/shalista/public_html/blog/wp-content/uploads/2007/08/44.jpg’)

    WordPress database error: [Duplicate entry ’10’ for key 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (‘761′,’_wp_attachment_metadata’,’a:5:{s:5:\”width\”;i:432;s:6:\”height\”;i:288;s:14:\”hwstring_small\”;s:23:\”height=\’85\’ width=\’128\’\”;s:4:\”file\”;s:65:\”/home/shalista/public_html/blog/wp-content/uploads/2007/08/44.jpg\”;s:5:\”thumb\”;s:16:\”44.thumbnail.jpg\”;}’)

    Warning: Cannot modify header information – headers already sent by (output started at /home/shalista/public_html/blog/wp-includes/wp-db.php:133) in /home/shalista/public_html/blog/wp-includes/pluggable.php on line 331

    This is very frustrating. I contacted my host and they said to seek WordPress help.

  • The topic ‘Database errors’ is closed to new replies.