MyBB Central
1366 - Incorrect integer value: '' for column 'tid' at row 1 - Printable Version

+- MyBB Central (http://www.mybbcentral.com)
+-- Forum: Mybb 1.6x Series Topics (http://www.mybbcentral.com/forum-34.html)
+--- Forum: Mybb 1.6x Official Central Plugins and Hacks (http://www.mybbcentral.com/forum-35.html)
+---- Forum: Requests and Suggestions (http://www.mybbcentral.com/forum-28.html)
+---- Thread: 1366 - Incorrect integer value: '' for column 'tid' at row 1 (/thread-5642.html)



1366 - Incorrect integer value: '' for column 'tid' at row 1 - kurdforums - Aug 21, 2010

Hello guys

I tried to active Show the users that has been online today (2.0) plugin

but I got this error :

MyBB has experienced an internal SQL error and cannot continue.

SQL Error:
1366 - Incorrect integer value: '' for column 'tid' at row 1
Query:
INSERT INTO mybb_templates (`tid`,`title`,`template`,`sid`) VALUES ('','online_today_index',' {$lang->whos_online_today} [{$lang->complete_list}] {$lang->online_note_today}
{$onlinemembers} ','-1')



Any Idea how to fix it ?


RE: 1366 - Incorrect integer value: '' for column 'tid' at row 1 - Elite Dash - Aug 21, 2010

Could you link me to the plugin and tell me what MyBB Version you use?


RE: 1366 - Incorrect integer value: '' for column 'tid' at row 1 - kurdforums - Aug 21, 2010

The link :
http://mods.mybb.com/view/online-today-1.2.2

I use MyBB 1.6


RE: 1366 - Incorrect integer value: '' for column 'tid' at row 1 - Elite Dash - Aug 21, 2010

Hmm, isn't that for 1.4?