WordPress.org

Support

Support » Requests and Feedback » [ERROR] Cannot upload file

[ERROR] Cannot upload file

  • Tried to upload .png image to a post on WordPress 2.0.4 / Windows Server 2003 / PHP 5.1 / MySQL 5 / Apache 2.

    WordPress database error: [Field ‘post_content_filtered’ doesn’t have a default value]
    INSERT INTO wp_posts (post_author, post_date, post_date_gmt, post_content, 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, guid) VALUES (‘3’, ‘2006-10-31 13:40:03’, ‘2006-10-31 06:40:03’, ”, ‘firefox-spread-btn-12.png’, ”, ‘attachment’, ‘open’, ‘open’, ”, ‘firefox-spread-btn-12png’, ”, ”, ‘2006-10-31 13:40:03’, ‘2006-10-31 06:40:03′, ’12’, ‘0’, ‘image/png’, ‘http://server.primacom.intranet/wp-content/uploads/2006/10/firefox-spread-btn-12.png’)

    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 ‘ 2)’ at line 2]
    INSERT INTO wp_post2cat (post_id, category_id) VALUES (, 2)

    WordPress database error: [Out of range value adjusted for column ‘post_id’ at row 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (”,’_wp_attached_file’,’F:\web\wordpress/wp-content/uploads/2006/10/firefox-spread-btn-12.png’)

    WordPress database error: [Out of range value adjusted for column ‘post_id’ at row 1]
    INSERT INTO wp_postmeta (post_id,meta_key,meta_value) VALUES (”,’_wp_attachment_metadata’,’a:4:{s:5:\”width\”;i:88;s:6:\”height\”;i:31;s:14:\”hwstring_small\”;s:22:\”height=\’31\’ width=\’88\’\”;s:4:\”file\”;s:69:\”F:\\web\\wordpress/wp-content/uploads/2006/10/firefox-spread-btn-12.png\”;}’)

    Warning: Cannot modify header information – headers already sent by (output started at F:\web\wordpress\wp-includes\wp-db.php:104) in F:\web\wordpress\wp-includes\pluggable-functions.php on line 272

    Note that this is a fresh install (not an upgrade).

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)
  • The topic ‘[ERROR] Cannot upload file’ is closed to new replies.