PDA

View Full Version : Problem with adding forums after installing the forum picture hack


sledgeboy
06-30-2002, 10:08 AM
Hi !

I?ve just installed the Hack to add small images to them forums names. And now, if i want to add a forum in my cp i get a weird error, don?t know what it means. But I can add images to the forums wich are allready in the board, and i can modify them. I just can?t add new. I use vbb 2.2.6, an here is the error:

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','Testforum','Test Test Test','1','1','-1',
'','1','1','test.jpg',
'','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: Sunday 30th of June 2002 01:04:58 PM
Script: http://www.project-6.com/handyhacking/handyhacking/admin/forum.php
Referer: http://project-6.com/handyhacking/admin/forum.php?action=add

I would be very thankful for quick help, and please forgive me my band english !

Thanks

Sledge

sledgeboy
06-30-2002, 04:06 PM
is there no one who can help me ?

FWC
06-30-2002, 10:13 PM
Originally posted by sledgeboy
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','Testforum','Test Test Test','1','1','-1',
'','1','1','test.jpg',
'','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
Remove the '', after 'test.jpg',

You have an extra blank value in there.