#6006 closed defect (bug) (fixed)
SQL error uploading file using media manager
Reported by: | SteveAgl | Owned by: | |
---|---|---|---|
Milestone: | 2.5 | Priority: | high |
Severity: | blocker | Version: | 2.5 |
Component: | Administration | Keywords: | |
Focuses: | Cc: |
Description
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
Change History (3)
Note: See
TracTickets for help on using
tickets.
(In [7042]) Add some defaults for wp_insert_attachment. fixes #6006