Mystislav
07-12-2002, 11:04 AM
Ok I've been on my vb installing hacks for a while. And I noticed a few things..
First of all, when I try to run my sql query I get this
Database error in vBulletin Control Panel 2.2.6:
Invalid SQL: CREATE TABLE user_rate (
userrateid int(10) unsigned NOT NULL auto_increment,
rateduser int(10) unsigned DEFAULT '0' NOT NULL,
userid int(10) unsigned DEFAULT '0' NOT NULL,
userrating smallint(6) DEFAULT '0' NOT NULL,
PRIMARY KEY (userrateid),
KEY rateduser (userid)
);
ALTER TABLE user ADD ratenum SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE user ADD ratetotal SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE user ADD allowrate SMALLINT(5) UNSIGNED DEFAULT '1' NOT NULL;
mysql error: You have an error in your SQL syntax near ';
ALTER TABLE user ADD ratenum SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALT' at line 8
mysql error number: 1064
Date: Friday 12th of July 2002 08:03:44 AM
Script: http://66.192.45.86/~sjmadho/board/board/admin/query.php
Referer: http://www.sjmadhouse.net/board/admin/query.php
then when I try to ban people, it gives me a error and when I try to change ppls username it is a error.. what do I do?
First of all, when I try to run my sql query I get this
Database error in vBulletin Control Panel 2.2.6:
Invalid SQL: CREATE TABLE user_rate (
userrateid int(10) unsigned NOT NULL auto_increment,
rateduser int(10) unsigned DEFAULT '0' NOT NULL,
userid int(10) unsigned DEFAULT '0' NOT NULL,
userrating smallint(6) DEFAULT '0' NOT NULL,
PRIMARY KEY (userrateid),
KEY rateduser (userid)
);
ALTER TABLE user ADD ratenum SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE user ADD ratetotal SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALTER TABLE user ADD allowrate SMALLINT(5) UNSIGNED DEFAULT '1' NOT NULL;
mysql error: You have an error in your SQL syntax near ';
ALTER TABLE user ADD ratenum SMALLINT(5) UNSIGNED DEFAULT '0' NOT NULL;
ALT' at line 8
mysql error number: 1064
Date: Friday 12th of July 2002 08:03:44 AM
Script: http://66.192.45.86/~sjmadho/board/board/admin/query.php
Referer: http://www.sjmadhouse.net/board/admin/query.php
then when I try to ban people, it gives me a error and when I try to change ppls username it is a error.. what do I do?