View Single Post
Author Message
Waffle.Mayhem
Junior Member
Join Date: Aug 2016
Old 11-01-2016 , 19:51   Sourcebans Table doesnt exist
Reply With Quote #1

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) 
Waffle.Mayhem is offline