SA-MP Forums Archive
Mysql error help - 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: Mysql error help (/showthread.php?tid=514213)



Mysql error help - VillainPRO - 20.05.2014

any help, +rep

Код:
----------------------
v0.3z-R2, ©2005-2014 SA-MP Team

[15:27:31] 
[15:27:31] Server Plugins
[15:27:31] --------------
[15:27:31]  Loading plugin: mysql.so
[15:27:31]  SA:MP MySQL Plugin v2.1.1 Loaded.
[15:27:31]   Loaded.
[15:27:31]  Loading plugin: streamer.so
[15:27:31] 

*** Streamer Plugin v2.6.1 by Incognito loaded ***

[15:27:31]   Loaded.
[15:27:31]  Loading plugin: nativechecker.so
[15:27:31]   Loaded.
[15:27:31]  Loaded 3 plugins.

[15:27:31] [MySQL] Thread running. Threadsafe: Yes.
[15:27:31] 
[15:27:31] Filterscripts
[15:27:31] ---------------
[15:27:31]   Loaded 0 filterscripts.

[15:27:32]    Error: Function not registered: 'mysql_debug'
[15:27:32]    Error: Function not registered: 'mysql_retrieve_row'
[15:27:32]    Error: Function not registered: 'mysql_fetch_field_row'
[15:27:32] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[15:27:32] Number of vehicle models: 0



Re: Mysql error help - Konstantinos - 20.05.2014

I guess wrong mysql plugin. The gamemode probably uses the mysql plugin by BlueG.


Re: Mysql error help - VillainPRO - 20.05.2014

tried blueG plugins, after that
Код:
[15:34:34]    Error: Function not registered: 'mysql_query'
[15:34:34]    Error: Function not registered: 'mysql_debug'
[15:34:34]    Error: Function not registered: 'mysql_store_result'
[15:34:34]    Error: Function not registered: 'mysql_num_rows'
[15:34:34]    Error: Function not registered: 'mysql_retrieve_row'
[15:34:34]    Error: Function not registered: 'mysql_fetch_field_row'
[15:34:34]    Error: Function not registered: 'mysql_free_result'
[15:34:34]    Error: Function not registered: 'mysql_real_escape_string'
[15:34:34]    Error: Function not registered: 'mysql_connect'
[15:34:34]    Error: Function not registered: 'mysql_ping'
[15:34:34] Script[gamemodes/cnr.amx]: Run time error 19: "File or function is not found"
[15:34:34] Number of vehicle models: 0



Re: Mysql error help - Konstantinos - 20.05.2014

Now the problem is with the version of it. In R6, the above functions exist and in the latest versions - they don't.


Re: Mysql error help - MacT - 20.05.2014

Konstntinos, maybe you can turn on your PM?


Re: Mysql error help - VillainPRO - 20.05.2014

now will you tell me how to fix it, further contact skype:james.burke552


Re: Mysql error help - Konstantinos - 20.05.2014

Quote:
Originally Posted by VillainPRO
Посмотреть сообщение
now will you tell me how to fix it, further contact skype:james.burke552
Load mysql plugin by BlueG for R6. Any higher version will not work unless you modify the gamemode.

Quote:
Originally Posted by MacT
Посмотреть сообщение
Konstntinos, maybe you can turn on your PM?
It's always enabled.


Re: Mysql error help - MacT - 20.05.2014

Maybe you use MySQL R5 before R6 but that doesnt matter.


Re: Mysql error help - VillainPRO - 20.05.2014

same problem occurs. changed everything to blueG. i.e. plugin/inc files of it


Re: Mysql error help - Konstantinos - 20.05.2014

Post your server log again so I can see what version you loaded.