Raised This Month: $12 Target: $400
 3% 

error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 10-17-2012 , 02:56   error
Reply With Quote #1

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"
	}
__________________
The 47 Ronin Gaming - http://www.47r-squad.com



Last edited by IcEWoLF; 10-17-2012 at 02:58.
IcEWoLF is offline
Drixevel
AlliedModders Donor
Join Date: Sep 2009
Location: Somewhere headbangin'
Old 10-17-2012 , 03:10   Re: error
Reply With Quote #2

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.

Last edited by Drixevel; 10-17-2012 at 03:13.
Drixevel is offline
IcEWoLF
Senior Member
Join Date: Jul 2007
Old 10-17-2012 , 03:17   Re: error
Reply With Quote #3

Thanks that fixed it!
__________________
The 47 Ronin Gaming - http://www.47r-squad.com


IcEWoLF 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 09:40.


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