2010-08-09, 04:26 PM
hi all,
when i try to convert usergroups i've got this error
the insert syntax is wrong, infact when i try to run manually this insert replacing '0' where '' it work...
i think there's an error into the merge system code...
i don't know php, could someone help me?
(sry for my english... i'm italian ^^)
when i try to convert usergroups i've got this error
MyBB has experienced an internal SQL error and cannot continue.
SQL Error:
1366 - Incorrect integer value: '' for column 'cansearch' at row 1
Query:
INSERT INTO mybb_usergroups (`import_gid`,`title`,`canview`,`canpostthreads`,`canpostreplys`,`caneditposts`,`candeleteposts`,`candeletethreads`,`cansearch`,`canviewmemberlist`,`caneditattachments`,`canpostpolls`,`canvotepolls`,`canundovotes`,`canpostattachments`,`canratethreads`,`canviewthreads`,`canviewprofiles`,`candlattachments`,`description`,`namestyle`,`type`,`stars`,`starimage`,`image`,`disporder`,`isbannedgroup`,`canusepms`,`cansendpms`,`cantrackpms`,`candenypmreceipts`,`pmquota`,`maxpmrecipients`,`cansendemail`,`canviewcalendar`,`canaddevents`,`canviewonline`,`canviewwolinvis`,`canviewonlineips`,`cancp`,`issupermod`,`canusercp`,`canuploadavatars`,`canratemembers`,`canchangename`,`showforumteam`,`usereputationsystem`,`cangivereputations`,`reputationpower`,`maxreputationsday`,`maxreputationsperuser`,`maxreputationsperthread`,`candisplaygroup`,`attachquota`,`cancustomtitle`) VALUES ('35','Team Green','1','1','1','1','1','1','','','1','1','1','1','1','1','1','','1','SMF imported group','{username}','2','1','images/green.jpg','','0','0','','','1','1','0','5','1','','','','0','0','','','','1','1','0','0','','','1','5','5','5','1','0','')
the insert syntax is wrong, infact when i try to run manually this insert replacing '0' where '' it work...
i think there's an error into the merge system code...
i don't know php, could someone help me?
(sry for my english... i'm italian ^^)