File function not found when all is good
#1

When I run this on my own machine it runs fine. But my machine is windows and the host is .so. I have already updated the plugins and such.

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z-R2, ©2005-2014 SA-MP Team

[17:26:19] password = "" (string)
[17:26:19] filterscripts = "" (string)
[17:26:19] mapname = "San Andreas" (string)
[17:26:19] 
[17:26:19] Server Plugins
[17:26:19] --------------
[17:26:19] Loading plugin: mysql.so
[17:26:20] SA:MP MySQL Plugin v2.1.1 Loaded.
[17:26:20] Loaded.
[17:26:20] Loading plugin: sscanf.so
[17:26:20] 

[17:26:20] ===============================

[17:26:20] sscanf plugin loaded. 

[17:26:20] Version: 2.8.1 

[17:26:20] © 2012 Alex "******" Cole 

[17:26:20] ===============================

[17:26:20] Loaded.
[17:26:20] Loading plugin: streamer.so
[17:26:20] 

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

[17:26:20] Loaded.
[17:26:20] Loading plugin: dns.so
[17:26:20] 

*** DNS Plugin v2.4 by Incognito loaded ***

[17:26:20] Loaded.
[17:26:20] Loading plugin: nativechecker.so
[17:26:20] Loaded.
[17:26:20] Loaded 5 plugins.

[17:26:20] 
[17:26:20] Filterscripts
[17:26:20] ---------------
[17:26:20] Loaded 0 filterscripts.

[17:26:20] [MySQL] Thread running. Threadsafe: Yes.
[17:26:20] Error: Function not registered: 'mysql_function_query'
[17:26:20] Error: Function not registered: 'cache_get_data'
[17:26:20] Error: Function not registered: 'cache_get_row'
[17:26:20] Error: Function not registered: 'cache_get_field'
[17:26:20] Error: Function not registered: 'mysql_debug'
[17:26:20] Error: Function not registered: 'enable_mutex'
[17:26:20] Script[gamemodes/WCRP.amx]: Run time error 19: "File or function is not found"
[17:26:20] Number of vehicle models: 0
Reply
#2

It seems you're using the wrong MySQL plug-in.

This appears to be StrickenKid's plugin or something else, while it seems you should be using BlueG's MySQL plugin(now maintained by maddinat0r).

pawn Код:
SA:MP MySQL Plugin v2.1.1 Loaded.
You can find the releases here:
https://github.com/pBlueG/SA-MP-MySQL/releases
Reply
#3

This is what I get now.

Код:
Failed (plugins/mysql.so: symbol __cxa_pure_virtual, version libmysqlclient_16 not defined in file libmysqlclient_r.so.16 with link time reference)
Reply
#4

Try using the static build(mysql_static.so).
Reply
#5

Код:
----------
Loaded log file: "server_log.txt".
----------

SA-MP Dedicated Server
----------------------
v0.3z-R2, ©2005-2014 SA-MP Team

[18:53:31] password = "" (string)
[18:53:31] filterscripts = "" (string)
[18:53:31] mapname = "San Andreas" (string)
[18:53:31] 
[18:53:31] Server Plugins
[18:53:31] --------------
[18:53:31] Loading plugin: mysql_static.so
[18:53:31] >> plugin.mysql: R39-2 successfully loaded.
[18:53:31] Loaded.
[18:53:31] Loading plugin: sscanf.so
[18:53:31] 

[18:53:31] ===============================

[18:53:31] sscanf plugin loaded. 

[18:53:31] Version: 2.8.1 

[18:53:31] © 2012 Alex "******" Cole 

[18:53:31] ===============================

[18:53:31] Loaded.
[18:53:31] Loading plugin: streamer.so
[18:53:31] 

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

[18:53:31] Loaded.
[18:53:31] Loading plugin: dns.so
[18:53:31] 

*** DNS Plugin v2.4 by Incognito loaded ***

[18:53:31] Loaded.
[18:53:31] Loading plugin: nativechecker.so
[18:53:31] Loaded.
[18:53:31] Loaded 5 plugins.

[18:53:31] 
[18:53:31] Filterscripts
[18:53:31] ---------------
[18:53:31] Loaded 0 filterscripts.

[18:53:31] Error: Function not registered: 'mysql_function_query'
[18:53:31] Error: Function not registered: 'mysql_real_escape_string'
[18:53:31] Error: Function not registered: 'mysql_affected_rows'
[18:53:31] Error: Function not registered: 'mysql_insert_id'
[18:53:31] Error: Function not registered: 'cache_get_field'
[18:53:31] Error: Function not registered: 'mysql_debug'
[18:53:31] Error: Function not registered: 'mysql_ping'
[18:53:31] Error: Function not registered: 'enable_mutex'
[18:53:31] Script[gamemodes/WCRP.amx]: Run time error 19: "File or function is not found"
[18:53:31] Number of vehicle models: 0
Reply
#6

Still no luck any one else got an idea?
Reply
#7

Anyone?
Reply


Forum Jump:


Users browsing this thread: 2 Guest(s)