SA-MP Forums Archive
SA-MP-MySQL R41-4 | Include a_mysql errors - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: SA-MP-MySQL R41-4 | Include a_mysql errors (/showthread.php?tid=643927)



SA-MP-MySQL R41-4 | Include a_mysql errors - Rifa4life - 30.10.2017

Hi,

I have recently updated my gamemode script to work with the latest version of BlueG's MySQL plugin. After updating all the includes, plugins and the script to use new functions, I have encountered the following errors:

Код:
C:\Users\komp\Desktop\Royal\server files (windows)\pawno\include\a_mysql.inc(143) : error 017: undefined symbol "ERROR"
C:\Users\komp\Desktop\Royal\server files (windows)\gamemodes\royal.pwn(6323) : error 017: undefined symbol "ALL"
The lines referred to are:

royal.pwn(6323)
Код:
mysql_log(ALL);
a_mysql.inc(143)
Код:
native mysql_log(E_LOGLEVEL:loglevel = ERROR | WARNING);
Does anybody have an idea where does this come from and how can I solve it? Any guidance will be appreciated!


Re: SA-MP-MySQL R41-4 | Include a_mysql errors - Zeth - 30.10.2017

Here is the syntax
PHP код:
mysql_log(ALL);//for all logs
mysql_log(ERROR WARNING); 
Check the wiki page here https://sampwiki.blast.hk/wiki/MySQL#mysql_log
Try to check the preceding line, if its missing any brackets or terminator[;]


Re: SA-MP-MySQL R41-4 | Include a_mysql errors - Rifa4life - 30.10.2017

Everything is according to the wiki and as a matter of fact it just started working for an unclear to me reason but I have further related problems, which I will post in a separate thread since they are a little different.

Thanks for the shout though!