The strange thing is that i did not change anything to my database, so why would it give me an 'invalid datbase handle' error?
So here is what i did to make it easy:
-deleted all databases in cpanel
-deleted all users
-created a new database called pulpfor1_tf2statsx
-created a new user and added this to the database with all priviliges
-deleted the entire tf2stats dir on the webserver
-downloaded the tf2stats webinterface 6.5.2 from this forum topic
-downloaded the corrected files from SCE ghost
-uploaded the webinterface with corrected files to the webserver
-modified settings.php with correct database and user info
-seems to display normal:
http://www.pulpfortress.com/tf2stats/
-modified on the gameserver the databases.cfg with the correct datbase and user info
-removed remote mysql hosts from cpanel
-added the gameserver IP 63.211.105.54 to remote access hosts in cpanel
-restarted the gameserver
Still the same error
:
L 12/05/2009 - 07:41:04: [SM] Native "SQL_TQuery" reported: Invalid database Handle 0 (error: 4)
L 12/05/2009 - 07:41:04: [SM] Displaying call stack trace for plugin "n1g-tf2-stats.smx":
L 12/05/2009 - 07:41:04: [SM] [0] Line 2797, G:\Users\Raphael\Desktop\Neuer Ordner (4)\TF2-Stats-V5.0\plugin\tf\addons\sourcemod\scripting\n1g-tf2-stats.sp::createdbtables()
L 12/05/2009 - 07:41:04: [SM] [1] Line 179, G:\Users\Raphael\Desktop\Neuer Ordner (4)\TF2-Stats-V5.0\plugin\tf\addons\sourcemod\scripting\n1g-tf2-stats.sp::OnPluginStart()