Raised This Month: $248 Target: $400
 62% 

SourceBans Exception Reported Error


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
meister
Junior Member
Join Date: Nov 2014
Location: Singapore
Old 06-14-2020 , 10:02   SourceBans Exception Reported Error
Reply With Quote #1

Hello. I encounter an error in my logs when I add a ban via sm_addban.

Code:
L 06/14/2020 - 13:58:22: [SM] Exception reported: Invalid database Handle 0 (error: 4)
L 06/14/2020 - 13:58:22: [SM] Blaming: sbpp_main.smx
L 06/14/2020 - 13:58:22: [SM] Call stack trace:
L 06/14/2020 - 13:58:22: [SM]   [0] SQL_TQuery
L 06/14/2020 - 13:58:22: [SM]   [1] Line 686, .\sbpp_main.sp::CommandAddBan
I am using the same MySQL DB for 2 servers, with the same user and password.

The first server is able to add bans fine, but the second isn't. The logfile for SourceBans doesn't contain any connection errors (it contains nothing), so I assume my server is connected to my remote MySQL DB.

But for debugging sake, I used sb_debug_connection.php provided in the root folder of SourceBans web:
Code:
[+] SourceBans "Error Connecting()" Debug starting for server 167.71.213.107:27015

[+] Trying to establish UDP connection
[+] UDP connection successfull!
[+] Trying to write to the socket
[+] Successfully requested server info. (That doesn't mean anything on an UDP stream.) Reading...
[+] Got an response! Server: [QuadFrag] Casual Competitive | Prime | 128t | !rank !ws !knife !gloves

[+] Trying to establish TCP connection
[+] TCP connection successfull!
[+] Trying to write to TCP socket and authenticate via rcon
[+] Successfully sent authentication request. Reading...
[+] Got an response!
[+] Password correct!
I am not entirely sure why I am unable to write to my remote MySQL DB.

Any help is appreciated, thank you!
__________________

Last edited by meister; 06-14-2020 at 10:17.
meister 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 20:24.


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