AlliedModders

AlliedModders (https://forums.alliedmods.net/index.php)
-   SourceBans / SourceBans++ (https://forums.alliedmods.net/forumdisplay.php?f=152)
-   -   error (https://forums.alliedmods.net/showthread.php?t=198506)

IcEWoLF 10-17-2012 02:56

error
 
33 <Error> "SourceBans" (1.4.10) by SourceBans Development Team
Load Errors:
SourceBans: Error detected in plugin startup (see error logs)
L 10/16/2012 - 23:53:46: rcon from "xxxxxxxxxxx": command "sm plugins list"

Code:

L 10/16/2012 - 06:00:30: [SM] Native "SetFailState" reported: Database failure: Could not find Database conf "sourcebans"

Now here is what's in my database.cfg:

Code:

"Databases"
{
        "driver_default"                "mysql"
       
        // When specifying "host", you may use an IP address, a hostname, or a socket file path
       
        "default"
        {
                "driver"                        "default"
                "host"                                "localhost"
                "database"                        "sourcemod"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }
       
        "storage-local"
        {
                "driver"                        "sqlite"
                "database"                        "sourcemod-local"
        }

        "clientprefs"
        {
                "driver"                        "sqlite"
                "host"                                "localhost"
                "database"                        "clientprefs-sqlite"
                "user"                                "root"
                "pass"                                ""
                //"timeout"                        "0"
                //"port"                        "0"
        }
}
"driver_default"                "mysql"
       
        "sourcebans"
        {
                "driver"                        "default"
                "host"                                "xxxxxxxxxx"
                "database"                        "xxxxxxxxx"
                "user"                                "xxxxxxxx"
                "pass"                                "xxxxxxxxxxxx"
                //"timeout"                        "0"
                "port"                        "3306"
        }


Drixevel 10-17-2012 03:10

Re: error
 
Tags are wrong. Remove 2nd driver_default line and move the ending bracket past the sourcebans database info. I would post up an example but the code tag is messing up for some reason.

IcEWoLF 10-17-2012 03:17

Re: error
 
Thanks that fixed it!


All times are GMT -4. The time now is 16:25.

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