The Arcive of vBulletin Modifications Site. |
|
Error messages Details »»
|
|||||||||||||||||||||||||
I got when i click Manage Warning Types
Code:
Database error in vBulletin 3.0.3: Invalid SQL: select * from warning_types order by warn_points, warn_maturity, warn_name mysql error: Unknown column 'warn_maturity' in 'order clause' mysql error number: 1054 Date: Wednesday 27th of July 2005 02:37:44 AM Script: /admin_warn.php?act=view Referer: /index.php?do=nav Code:
Database error in vBulletin 3.0.3: Invalid SQL: select w.*,u.username as wusername,u.userid as wuserid,wt.*,wuser.username as warned_username_v,wuser.userid as warned_userid_v, ruser.username as removed_by_v, (w.warned_time+wt.warn_maturity*24*60*60) AS maturitydate from warnings w left join user wuser on(wuser.userid=w.warned_user) left join user u on(u.userid=w.warned_by) left join user ruser on(ruser.userid=w.removed_by) left join warning_types wt on(wt.tid=w.warned_warning_id) ORDER BY w.warned_time DESC LIMIT 0, 15 mysql error: Unknown column 'wt.warn_maturity' in 'field list' got Code:
Database error in vBulletin 3.0.3: Invalid SQL: SELECT COUNT(*) AS users FROM user AS user where warnings>0 OR alerts>0 mysql error: Unknown column 'warnings' in 'where clause' mysql error number: 1054 got Code:
Database error in vBulletin 3.0.3: Invalid SQL: SELECT COUNT(*) AS users FROM user AS user where warnings>0 OR alerts>0 mysql error: Unknown column 'warnings' in 'where clause' mysql error number: 1054 got Code:
Database error in vBulletin 3.0.3: Invalid SQL: SELECT COUNT(*) AS users FROM user AS user where warnings>0 OR alerts>0 mysql error: Unknown column 'warnings' in 'where clause' Show Your Support
|
|||||||||||||||||||||||||
| Comments |
|
#2
|
|||
|
|||
|
Your database tables have not been created or updated as they should be. Did you run the installation script (install_warn.php), or did you create the tables manually?
Try re-running that script again, or manually run the following queries: Code:
ALTER TABLE ".TABLE_PREFIX."warning_types ADD COLUMN warn_maturity int(5) Code:
ALTER TABLE ".TABLE_PREFIX."user ADD COLUMN warnings int(5) default '0' Rgds |
|
#3
|
|||
|
|||
|
I ran the script.
there are still error for View Warning Logs View Warned Users and Statistics - Warnings per User |
|
#4
|
|||
|
|||
|
It seems as if the installation script didn't create several fields in the various tables. I am not sure why. Run this query:
Code:
ALTER TABLE ".TABLE_PREFIX."warning_types ADD COLUMN warn_permban char(3) Code:
DESCRIBE TABLE tablename |
|
#5
|
|||
|
|||
|
Fixed them.
.. I wonder how come on the warn.php I see Quote:
how come when I try to warn someone, the warn type are all gone.. |
|
#6
|
|||
|
|||
|
Please make sure you have saved your options. Go to AWS options and change them according to your preferences. Click on Update and then verify that the updates are saved.
If not, you have not run the warn_install_setting.php script. |
|
#7
|
|||
|
|||
|
Quote:
btw.. I installed the zero telorance hack before.. |
|
#8
|
|||
|
|||
|
If you had Zero's hack before, there is a special script which should be run to do the updates. Did you run it? It is called upgrade_warn.php.
|
|
#9
|
|||
|
|||
|
Quote:
no good. ok... but I still can't see any warning for the Warning Selection: |
|
#10
|
|||
|
|||
|
This hack has a lot of differences compared with Zero's. If the suggested upgrade procedure is not followed, strange things result. Sorry about that, it is well documented in the installation instructions.
I am not sure why the warning types do not show, I am not sure what is there in your database and what is not. I would suggest that you delete the tables that Zero's hack create and start from scratch. |
![]() |
|
|