t c
10-26-2004, 05:11 PM
Hi, I will cut to the chase, I tried to install a hack on a vB forum and well my naive self didn't save a copy of the 21mb database beforehand. I now have problems and I cannot figure out what to do. I am not a MySQL coder so I have no clue how to undo anything.
The hack told me to run the following 3 queries:
ALTER TABLE `forum` ADD `security` TINYINT(1) UNSIGNED DEFAULT "1" NOT NULL;
ALTER TABLE `forum` ADD `forumpass` text NOT NULL;
ALTER TABLE `forum` ADD `passtimeout` int(8) UNSIGNED DEFAULT "0" NOT NULL;
I have the following error:
Invalid SQL: SELECT security,forumpass,passtimeout
FROM forum
WHERE forumid='3'
mysql error: Unknown column 'security' in 'field list'
mysql error number: 1054
Any and all help would be greatly appreciated. :confused:
The hack told me to run the following 3 queries:
ALTER TABLE `forum` ADD `security` TINYINT(1) UNSIGNED DEFAULT "1" NOT NULL;
ALTER TABLE `forum` ADD `forumpass` text NOT NULL;
ALTER TABLE `forum` ADD `passtimeout` int(8) UNSIGNED DEFAULT "0" NOT NULL;
I have the following error:
Invalid SQL: SELECT security,forumpass,passtimeout
FROM forum
WHERE forumid='3'
mysql error: Unknown column 'security' in 'field list'
mysql error number: 1054
Any and all help would be greatly appreciated. :confused:
