SQL 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: SQL Errors? (
/showthread.php?tid=500954)
SQL Errors? -
K9IsGodly - 15.03.2014
I'm getting these errors, and I don't know why:
PHP код:
Error: Function not registered: 'mysql_tquery'
Error: Function not registered: 'mysql_escape_string'
Error: Function not registered: 'cache_get_data'
Error: Function not registered: 'cache_get_field_content'
Error: Function not registered: 'mysql_stat'
Error: Function not registered: 'mysql_log'
Error: Function not registered: 'mysql_connect'
Error: Function not registered: 'mysql_errno'
Error: Function not registered: 'mysql_close'
Error: Function not registered: 'cache_get_row'
Error: Function not registered: 'cache_insert_id'
Error: Function not registered: 'cache_affected_rows'
Script[gamemodes/MSG.amx]: Run time error 19: "File or function is not found"
Number of vehicle models: 0
Re: SQL Errors? -
CuervO - 15.03.2014
Most likely outdated SQL Plugin. Download the latest SQL plugin and recompile your mode with it.
Re: SQL Errors? -
K9IsGodly - 15.03.2014
Quote:
Originally Posted by CuervO
Most likely outdated SQL Plugin. Download the latest SQL plugin and recompile your mode with it.
|
Upon doing that, I get these errors from the compiler:
PHP код:
./includes/mysql.pwn(194) : warning 213: tag mismatch
./includes/mysql.pwn(194) : warning 213: tag mismatch
./includes/mysql.pwn(4739) : error 017: undefined symbol "mysql_insert_id"
./includes/mysql.pwn(5021) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5054) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5070) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5198) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5247) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5294) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5311) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5901) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5983) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6039) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6063) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6160) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6261) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6630) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6674) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(7104) : error 017: undefined symbol "mysql_insert_id"
./includes/mysql.pwn(7170) : error 017: undefined symbol "mysql_free_result"
./includes/mysql.pwn(7197) : error 017: undefined symbol "mysql_insert_id"
./includes/mysql.pwn(7351) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(7492) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(7830) : error 017: undefined symbol "mysql_affected_rows"
Re: SQL Errors? -
CuervO - 15.03.2014
Quote:
Originally Posted by K9IsGodly
Upon doing that, I get these errors from the compiler:
PHP код:
./includes/mysql.pwn(194) : warning 213: tag mismatch
./includes/mysql.pwn(194) : warning 213: tag mismatch
./includes/mysql.pwn(4739) : error 017: undefined symbol "mysql_insert_id"
./includes/mysql.pwn(5021) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5054) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5070) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5198) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5247) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5294) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5311) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5901) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(5983) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6039) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6063) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6160) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6261) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6630) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(6674) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(7104) : error 017: undefined symbol "mysql_insert_id"
./includes/mysql.pwn(7170) : error 017: undefined symbol "mysql_free_result"
./includes/mysql.pwn(7197) : error 017: undefined symbol "mysql_insert_id"
./includes/mysql.pwn(7351) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(7492) : error 017: undefined symbol "mysql_affected_rows"
./includes/mysql.pwn(7830) : error 017: undefined symbol "mysql_affected_rows"
|
Uh... you did update the includes too, didn't you?
Re: SQL Errors? -
K9IsGodly - 15.03.2014
Quote:
Originally Posted by CuervO
Uh... you did update the includes too, didn't you?
|
Yeah I updated the mysql.dll, and the a_mysql.inc and it gives me the same errors. I don't know of any other includes I need to update (I'm really terrible with mySQL).
Re: SQL Errors? -
K9IsGodly - 15.03.2014
The MySQL plugin is failing to load now, too.