SA-MP Forums

SA-MP Forums (
-   Scripting Help (
-   -   Mysql Error (

cncnn35 22/08/2019 01:49 PM

Mysql Error

Calisthenics 22/08/2019 02:10 PM

Re: Mysql Error
R40 and above has a nice error log system with exact lines. If you prefer to use older version, at least get version R39-6 which prints the query or enable debug ALL.

Always check if there are rows before retrieving data (excluding COUNT() function as it will always return a row).
Search where mysql_connect is called (if any of the filterscripts use mysql too).
Set a default value for column `HasBlockApp` or give a value in INSERT query.

All times are GMT. The time now is 09:57 PM.

Powered by vBulletin® Version 3.8.6
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.