![]() |
sv1cec,
i'm having a problem to upgrade to 3.0.8 with an SQL querry this sql querry Code:
ALTER TABLE `".TABLE_PREFIX."warning_options` ADD COLUMN warnings_before_banned int(5) NOT NULL default '0' AFTER points_before_banned WHERE oid='1' Code:
#1064 - You have an error in your SQL syntax near 'WHERE oid = '1'' at line 1 |
Quote:
And the value of that variable is going through a function which is supposed to replace the '. I am puzzled. |
Quote:
PHP Code:
PHP Code:
Let me know how you are progressing. Rgds |
Quote:
Stupid me!!! I am going to correct that in the zip. |
Quote:
I couldn't find that exact line in a fresh upload of the file but found something very close and changed it. This is what I get now. Code:
Database error in vBulletin 3.0.5: |
It appears as if all of the errors are listing the first value as being empty
values('','1742','1' Is that right? I don't know php/mysql real well so I have no idea. |
No, this is not your problem, this column is an auto-increment column, so you shouldn't enter a value.
Add the missing column by running this query: ALTER TABLE `warning_options` ADD COLUMN `caused_ban` char(1) AFTER warned_warning_id Then try again. |
OK here I go.. It's weird because I ran the upgrade script adn even went back and ran the install script.
|
Code:
Error Code:
Field Type Attributes Null Default Extra Action |
Quote:
ALTER TABLE `warnings` ADD COLUMN `caused_ban` char(1) AFTER warned_warning_id Then use the modification I told you before in the functions_warning.php and try to issue a warning. |
All times are GMT. The time now is 03:45 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|