Raised This Month: $ Target: $400
 0% 

[Any] HUB Error


Post New Thread Closed Thread   
 
Thread Tools Display Modes
Author Message
zvp
Member
Join Date: Dec 2012
Old 12-24-2012 , 14:28   [Any] HUB Error
#1

L 12/24/2012 - 18:43:19: [SM] Plugin encountered error 25: Call was aborted L 12/24/2012 - 18:43:19: [SM] Native "SetFailState" reported: FATAL ERROR CONNECTING TO DATABASE: Could not find database conf "store" L 12/24/2012 - 18:43:19: [SM] Displaying call stack trace for plugin "hub.smx": L 12/24/2012 - 18:43:19: [SM] [0] Line 218, hub.sp::SQL_CB_Connect()

That's the error.
Game: CSS
Happens when?: When is start up the server I find that in the console log

Also, when I go to the plugin page, the "Get Plugin" link doesn't work.
zvp is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 12-24-2012 , 14:46   Re: [Any] HUB Error
#2

"Get Plugin" won't work if the plugin has third-party dependencies that aren't part of the online compiler. Download the .smx that should be provided nearby instead.

As for your error, that's because there is no database config for "store" in your databases.cfg file.
__________________
11530 is offline
zvp
Member
Join Date: Dec 2012
Old 12-24-2012 , 15:34   Re: [Any] HUB Error
#3

"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"
}
}

I got that in the database.cfg, how do I add that?
zvp is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 12-24-2012 , 17:27   Re: [Any] HUB Error
#4

Edit the file to add a new section for "store":

PHP Code:
"Databases"
{
    
//Other database sections
    
"store"
    
{
        
"driver" "default"
        "host" "localhost"
        "database" "plugin_database_name"
        "user" "your_sql_username"
        "pass" "your_sql_password"
    
}
    
//Other sections

Fill the relevant sections with the correct info though.
__________________

Last edited by 11530; 12-24-2012 at 17:28.
11530 is offline
zvp
Member
Join Date: Dec 2012
Old 12-24-2012 , 18:56   Re: [Any] HUB Error
#5

L 12/24/2012 - 23:50:44: [SM] Plugin encountered error 25: Call was aborted L 12/24/2012 - 23:50:44: [SM] Native "SetFailState" reported: FATAL ERROR CONNECTING TO DATABASE: [2002]: Can't connect to local MySQL server through socket '/tmp/mysql.sock' (2) L 12/24/2012 - 23:50:44: [SM] Displaying call stack trace for plugin "hub.smx": L 12/24/2012 - 23:50:44: [SM] [0] Line 218, hub.sp::SQL_CB_Connect()
zvp is offline
11530
Veteran Member
Join Date: Sep 2011
Location: Underworld
Old 12-24-2012 , 20:50   Re: [Any] HUB Error
#6

Is your MySQL on a different server to the game server? If so, you need to change "localhost" to the actual IP address where MySQL is installed. Do you actually have MySQL installed on the relevant server? It is configured to accept incoming connections from your game server?
__________________
11530 is offline
zvp
Member
Join Date: Dec 2012
Old 12-24-2012 , 21:32   Re: [Any] HUB Error
#7

I have a clan website from the gameservers. I made a database using mysql.
then i used the user and password i got from that.
And it still shows up as the same error.
zvp is offline
zvp
Member
Join Date: Dec 2012
Old 12-24-2012 , 22:09   Re: [Any] HUB Error
#8

Bump.
Please help, if anyone knows what to use from mysql to let it work?
zvp is offline
asherkin
SourceMod Developer
Join Date: Aug 2009
Location: OnGameFrame()
Old 12-25-2012 , 07:01   Re: [Any] HUB Error
#9

Plugin issues belong in the plugin's thread.
__________________
asherkin is offline
Closed Thread



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 12:39.


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