dbi_query error
Here is the part of my code that is having problems:
Code:
Code:
L 03/26/2006 - 20:20:18: [AMXX] Displaying debug trace (plugin "tempban.amxx") |
Code:
should be Code:
That would make it run cleaner. I would also suggest you use public client_authorized(id){ to do the check so that you know the player has a steam id. ++edit++ Try this code Code:
|
Damnit, you got to it before me ><,
|
Wait, if you return plugin continue, does it break out of the loop? Because dbi_free_result might memory leak if it is not called before that function ends...
|
So add dbi_free_result right before that return.
|
I did, plugin still does not work.
|
Funny how nobody read the error
Code:
L 03/26/2006 - 20:20:18: [MYSQL] Invalid database handle 0if (!dbc) return |
Also, don't use:
Code:
use Code:
and don't use Code:
use Code:
and make sure you're connecting ot the right database and with the right users with correct permissions.... |
Quote:
|
Quote:
One is right. |
| All times are GMT -4. The time now is 16:30. |
Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.