2009-07-09, 04:45 AM
Threads that are too large lead to this
SQL Error:
1406 - Data too long for column 'message' at row 1
Query:
INSERT INTO mybb_posts (![[Image: rainbow.gif]](https://camo.mybb.com/983afefc2a0eac9f6d74b3156c6f3eebc9690876/687474703a2f2f7777772e6461726b6c616e64736572766572732e636f6d2f736563726574736974652f696d616765732f69636f6e732f7261696e626f772e676966)
![[Image: rainbow.gif]](https://camo.mybb.com/983afefc2a0eac9f6d74b3156c6f3eebc9690876/687474703a2f2f7777772e6461726b6c616e64736572766572732e636f6d2f736563726574736974652f696d616765732f69636f6e732f7261696e626f772e676966)
![[Image: rainbow.gif]](https://camo.mybb.com/983afefc2a0eac9f6d74b3156c6f3eebc9690876/687474703a2f2f7777772e6461726b6c616e64736572766572732e636f6d2f736563726574736974652f696d616765732f69636f6e732f7261696e626f772e676966)
......plus about another 1,000 of these','72.218.40.206','1222256846','1','0','1','bbd6749b954a5ac663a1a85a8071394d')
but it still creates the thread.
so you get this on clicking of the thread
SQL Error:
1366 - Incorrect integer value: '' for column 'firstpost' at row 1
Query:
UPDATE mybb_threads SET
SQL Error:
1406 - Data too long for column 'message' at row 1
Query:
INSERT INTO mybb_posts (
tid
,fid
,subject
,icon
,uid
,username
,dateline
,message
,ipaddress
,longipaddress
,includesig
,smilieoff
,visible
,posthash
) VALUES ('9','2','Rainbows','15','5','Train','1247114615','but it still creates the thread.
so you get this on clicking of the thread
SQL Error:
1366 - Incorrect integer value: '' for column 'firstpost' at row 1
Query:
UPDATE mybb_threads SET
firstpost
='' WHERE tid='5'