SA-MP Forums Archive
undefined symbol "mysql_get_field" (+REP) - 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: undefined symbol "mysql_get_field" (+REP) (/showthread.php?tid=606117)



undefined symbol "mysql_get_field" (+REP) - Amit1998 - 30.04.2016

Hi guys, I'm getting tons of error messages which says "undefined symbol "mysql_get_field"".
I'm using the latest mysql version and the include im using is the a_mysql. What could possibly be the problem? >:

+REPing the helpers.

Here's the full list of errors, I assume the fix is sort of mutual to all of them:
PHP код:
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8269) : error 035argument type mismatch (argument 1)
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8275) : error 035argument type mismatch (argument 1)
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8303) : error 017undefined symbol "mysql_free_result"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8315) : error 035argument type mismatch (argument 1)
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8316) : error 017undefined symbol "mysql_store_result"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8317) : error 017undefined symbol "mysql_fetch_row"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8319) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8320) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8322) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8324) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8325) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8326) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8327) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8328) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8329) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8330) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8331) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8332) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8333) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8334) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8335) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8336) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8337) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8338) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8339) : error 017undefined symbol "mysql_get_field"
D:\Program Files (x86)\Gamemode\gamemodes\Gamemode.pwn(8340) : error 017undefined symbol "mysql_get_field"
Compilation aborted.Pawn compiler 3.2.3664              Copyright (c1997-2006ITB CompuPhase
26 Errors

I got this on the top of my script:
PHP код:
#include <a_mysql> 
And I'm using the latest version.


Re: undefined symbol "mysql_get_field" (+REP) - DRIFT_HUNTER - 30.04.2016

You need old mysql plugin. R6 or R7 probably (I would go for R6 as that is mostly the case)


Re: undefined symbol "mysql_get_field" (+REP) - czerwony03 - 30.04.2016

As DRIFT_HUNTER said, you need older plugin, and older include.
But i will recommend rewrite mysql in gamemode, for the most new plugin R39, with caching, because R6 and R7, will slow down your server and cause lags.