SA-MP Forums

SA-MP Forums (https://forum.sa-mp.com/index.php)
-   Scripting Help (https://forum.sa-mp.com/forumdisplay.php?f=12)
-   -   Mysql Error (https://forum.sa-mp.com/showthread.php?t=668840)

cncnn35 22/08/2019 01:49 PM

Mysql Error
 
Hi,

https://www.upload.ee/image/10386699/12321321.png

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.