SA-MP-MySQL R41-4 | Include a_mysql errors
#1

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!
Reply
#2

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[;]
Reply
#3

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!
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)