PDA

View Full Version : MySQL Error - Can't add forum :(


Heineken77
07-25-2002, 02:09 AM
I tried adding a forum twice, and this is the error I received :(

Database error in vBulletin Control Panel 2.2.6:

Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayo rder,parentid,
parentlist,allowposting,cancontainthreads,iconimg,
daysprune,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allo wsmilies,allowicons,
styleoverride,allowratings,countposts,moderateatta ch)
VALUES
(NULL,'1','Administration & Moderators Only','Forum for Admin & Mods Regarding League Rules & League Decisions','1','1','1',
'','1','1','',
'','30','','',
'0','0','1','1','1','1',
'0','1','1','0')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Wednesday 24th of July 2002 11:06:06 PM
Script: http://nba2k3.net/forum/forum/admin/forum.php
Referer: http://nba2k3.net/forum/admin/forum.php?action=add

Can anyone help me out please? :(
Sincerely,
Heineken

FWC
07-25-2002, 05:56 AM
It looks like you have an extra '', before the '30' for daysprune.

Boofo
07-25-2002, 06:18 AM
No, that wasn't the problem. He had the "Forum Category Icons" hack installed and it had an extra item in there it shouldn't have. It was from another of the author's hacks. :) I found it the hard way. :)