2008-06-30, 04:54 PM
While trying to confirm the bug mentioned here, I came across the following db problem in trying to copy the thread:
This is a general problem throughout the board anywhere where the field name is left out of insert queries and the database tries to use a default value, when the field doesn't have one set. e.g. creating new forums.
Just reinstalled my local testing server setup from scratch so it could be something I haven't set up yet..
Quote:SQL Error:
1364 - Field 'message' doesn't have a default value
Query:
INSERT INTO mybb_posts (tid
,fid
,subject
,icon
,uid
,username
,dateline
,ipaddress
,includesig
,smilieoff
,edituid
,edittime
,visible
) VALUES ('2','3','another forum','0','1','Eljay','1214842957','127.0.0.1','0','0','0','0','1')
This is a general problem throughout the board anywhere where the field name is left out of insert queries and the database tries to use a default value, when the field doesn't have one set. e.g. creating new forums.
Just reinstalled my local testing server setup from scratch so it could be something I haven't set up yet..