PDA

View Full Version : Unknown errors HELP !!! (please)


chavalo2
05-05-2003, 12:11 AM
Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: INSERT INTO forum
(forumid,styleid,title,description,active,displayo rder,parentid,
parentlist,allowposting,cancontainthreads,daysprun e,newpostemail,newthreademail,
moderatenew,allowhtml,allowbbcode,allowimages,allo wsmilies,allowicons,
styleoverride,allowratings,countposts,moderateatta ch,storereply,storethread)
VALUES
(NULL,'1','FTP LINKS','Post your FTP LINKS here.','1','0','8',
'','1','1','30','','',
'0','0','1','0','1','1',
'0','1','1','0')
mysql error: Column count doesn't match value count at row 1

mysql error number: 1136

Date: Monday 05th of May 2003 12:57:43 AM

Everytime a new forum is attempted to be created I get this :(

Xenon
05-05-2003, 05:47 PM
the error tells the bug already.

your column counts don't match, you have either too much or to less values in the second ()'s

chavalo2
05-06-2003, 05:02 PM
I need to remove

storereply,storethread

from the table. I think. How do I go about doing that?

Xenon
05-06-2003, 05:24 PM
phpmyadmin

but you have to change the query, just removing the fields won't help ya

chavalo2
05-06-2003, 05:39 PM
I have removed storereply,storethread


Still no go :(

Some help please.

Xenon
05-06-2003, 05:48 PM
i have already told you what the problem is!

the ammount of fields in the query is not equal to the ammount of values!

edit: you should upload an unhacked forum.php to solve it ;)