AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   Sourcebans Table doesnt exist (https://forums.alliedmods.net/showthread.php?t=289951)

Waffle.Mayhem 11-01-2016 19:51

Sourcebans Table doesnt exist
 
Using sourcebans++ if that changes anything
When a player connects to the server I get a printed error message in console
PHP Code:

L 11/01/2016 19:44:34: [sourcebans.smxVerify Ban Query FailedTable 'restinsp_sourcebans.sourceban_bans' doesn't exist 

I know it is something duplicated somewhere but I have no clue where

Database entry
PHP Code:

    "sourcebans"
    
{
        
"driver"            "mysql"
        "host"                "xxxxxx"
        "database"            "restinsp_sourcebans"
        "user"                "xxxxxxxx"
        "pass"                "xxxxxxx"
        
//"timeout"            "0"
        
"port"                "3306"
    
}

    
"sourcecomms"
    
{
        
"driver"            "mysql"
        "host"                "xxxxxx"
        "database"            "restinsp_sourcecomms"
        "user"                "xxxxxxxx"
        "pass"                "xxxxxx"
        
//"timeout"            "0"
        
"port"            "3306"
    


Config.php
PHP Code:

define('DB_HOST''xxxxxxxx');               // The host/ip to your SQL server
define('DB_USER''xxxxxxx');                    // The username to connect with
define('DB_PASS''xxxxxxxx');                        // The password
define('DB_NAME''restinsp_sourcebans');                          // Database name    
define('DB_PREFIX''sb');                    // The table prefix for SourceBans
define('DB_PORT','3306');                            // The SQL port (Default: 3306) 


theChaosCoder 11-07-2016 18:40

Re: Sourcebans Table doesnt exist
 
Have you checked if the tabe 'restinsp_sourcebans.sourceban_bans' exists?
Have your user the permission to create a table?


All times are GMT -4. The time now is 14:52.

Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.