I was installing a gaming ladder script onto my database and it also uses an admin log and I totally forget about the admin log for vB. So now the admin log for vB is messed up and I cant get into the admin panel amymore.
If this helps, here is the query I ran for the ladders:
DROP TABLE IF EXISTS adminlog;
CREATE TABLE adminlog (
logid int(10) NOT NULL auto_increment,
admin varchar(25) NOT NULL default '0',
ladderid int(10) NOT NULL default '0',
details varchar(250) NOT NULL default '',
created timestamp(14) NOT NULL,
PRIMARY KEY (logid)
) TYPE=MyISAM;
And this is the error I get when trying to go into the admin cp of vB:
Database error in vBulletin Control Panel 2.2.6:
Invalid SQL: INSERT INTO adminlog (adminlogid,userid,dateline,script,action,extrainfo,ipaddress) VALUES (NULL,'1',1056066371,'index.php','','','68.116.54.130')
mysql error: Unknown column 'adminlogid' in 'field list'
mysql error number: 1054
Is there anyway to fix my stupid mistake?
If this helps, here is the query I ran for the ladders:
DROP TABLE IF EXISTS adminlog;
CREATE TABLE adminlog (
logid int(10) NOT NULL auto_increment,
admin varchar(25) NOT NULL default '0',
ladderid int(10) NOT NULL default '0',
details varchar(250) NOT NULL default '',
created timestamp(14) NOT NULL,
PRIMARY KEY (logid)
) TYPE=MyISAM;
And this is the error I get when trying to go into the admin cp of vB:
Database error in vBulletin Control Panel 2.2.6:
Invalid SQL: INSERT INTO adminlog (adminlogid,userid,dateline,script,action,extrainfo,ipaddress) VALUES (NULL,'1',1056066371,'index.php','','','68.116.54.130')
mysql error: Unknown column 'adminlogid' in 'field list'
mysql error number: 1054
Is there anyway to fix my stupid mistake?

Comment