Leefish its a fresh install of mybb 1.6.13 and xthreads 1.63, with fresh database aswell. I always load all the files from the plugin zip archive to the correct directories. I dont have any custom fields either. I dont know what is going on .
Here is the whole error
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1364 - Field 'xthreads_tplprefix' doesn't have a default value
Query:
INSERT INTO mybb_forums (`name`,`description`,`linkto`,`type`,`pid`,`parentlist`,`disporder`,`active`,`open`,`allowhtml`,`allowmycode`,`allowsmilies`,`allowimgcode`,`allowvideocode`,`allowpicons`,`allowtratings`,`usepostcounts`,`password`,`showinjump`,`modposts`,`modthreads`,`mod_edit_posts`,`modattachments`,`style`,`overridestyle`,`rulestype`,`rulestitle`,`rules`,`defaultdatecut`,`defaultsortby`,`defaultsortorder`) VALUES ('Forum B 2','','','f','4','','2','1','1','0','1','1','1','1','1','1','1','','1','0','0','0','0','0','0','0','','','0','','')
the only place i see of a 'xthreads_tplprefix' database query is in, inc/xthreads/xt_upgrader.php . But i'm nowhere near an upgrade of any kind.
> line 108:
$db->write_query('ALTER TABLE `'.$db->table_prefix.'forums` MODIFY `xthreads_tplprefix` varchar(255) not null default ""');
> line 136:
$db->write_query('ALTER TABLE `'.$db->table_prefix.'forums` MODIFY `xthreads_tplprefix` text not null');
or is there any way of setting a default value in a php file somewhere so the error can go away ?
i reinstalled mybb with xthreads about 15 times now