Raised This Month: $52 Target: $400
 13% 

Table doesnt exist error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
The Goat
New Member
Join Date: Jan 2019
Old 01-22-2019 , 17:28   Table doesnt exist error
Reply With Quote #1

I'm running a Counter-Strike server, currently sourcebans isn't working at all on the server, the ban command acting more like a kick command in its current state. In the sourcebans.logs I keep getting the errors:
Code:
[sourcebans.smx] Verify Ban Query Failed: Table 'servername_sb.servername_bans' doesn't exist
[sourcebans.smx] Failed to retrieve overrides from the database, Table 'servername_sb.servername_overrides' doesn't exist
[sourcebans.smx] Failed to retrieve groups from the database, Table 'servername_sb.servername_srvgroups' doesn't exist
[sourcebans.smx] Failed to retrieve admins from the database, Table 'servername_sb.servername_admins_servers_groups' doesn't exist
[sourcebans.smx] Verify Ban Query Failed: Table 'servername_sb.servername_bans' doesn't exist
However, when any of these tables are renamed to fit what the logs are saying doesn't exist, the sourcebans page breaks, giving Fatal errors on nearly every page. When all of the tables have been renamed to fit what the logs say don't exist, the entire site breaks.
The "servername" in the database table names, of course is not the actual name.

Additional information can be supplied if needed.

Any help is appreciated! Thanks

Last edited by The Goat; 01-22-2019 at 17:28.
The Goat is offline
DJ Tsunami
DJ Post Spammer
Join Date: Feb 2008
Old 01-24-2019 , 06:11   Re: Table doesnt exist error
Reply With Quote #2

Open addons/sourcemod/configs/sourcebans/sourcebans.cfg and make sure DatabasePrefix is set to just "servername".
__________________

Last edited by DJ Tsunami; 01-24-2019 at 06:12.
DJ Tsunami is offline
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 15:27.


Powered by vBulletin®
Copyright ©2000 - 2019, vBulletin Solutions, Inc.
Theme made by Freecode