[wp-trac] [WordPress Trac] #6006: SQL error uploading file using media manager

WordPress Trac wp-trac at lists.automattic.com
Tue Feb 26 16:35:39 GMT 2008


#6006: SQL error uploading file using media manager
----------------------------+-----------------------------------------------
 Reporter:  SteveAgl        |       Owner:  anonymous
     Type:  defect          |      Status:  new      
 Priority:  high            |   Milestone:  2.5      
Component:  Administration  |     Version:  2.5      
 Severity:  blocker         |    Keywords:           
----------------------------+-----------------------------------------------
 on a win installation with last version of PHP/SQL/APACHE using media
 uploader on RTE give this error, for any type of files (images, audio):

 WordPress database error Field 'post_excerpt' doesn't have a default value
 for query INSERT INTO wp_posts
 (`post_author`,`post_date`,`post_date_gmt`,`post_content`,`post_title`,`post_status`,`post_type`,`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 ('1','2008-02-26 17:31:24','2008-02-26
 16:31:24','','tada','inherit','attachment','open','open','','tada','','','2008-02-26
 17:31:24','2008-02-26
 16:31:24','-1204042914','0','audio/wav','http://www.wpt.loc/wp-
 content/uploads/2008/02/tada.wav') made by wp_insert_attachment

-- 
Ticket URL: <http://trac.wordpress.org/ticket/6006>
WordPress Trac <http://trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list