Mysql Related Error
#1

Код:
[18:36:29]    Error: Function not registered: 'cache_get_data'
[18:36:29]    Error: Function not registered: 'cache_get_field_content'
[18:36:29]    Error: Function not registered: 'cache_get_row'
[18:36:29] Script[gamemodes/BGRP.amx]: Run time error 19: "File or function is not found"
Aside from runtime error 19, please tell me what or how to fix this error above runtime error.

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[18:36:29] 
[18:36:29] Server Plugins
[18:36:29] --------------
[18:36:29]  Loading plugin: mysql.so
[18:36:29]  >> plugin.mysql: R41-4 successfully loaded.
[18:36:29]   Loaded.
[18:36:29]  Loading plugin: whirlpool.so
[18:36:29]  
[18:36:29]  ==================
[18:36:29]  
[18:36:29]   Whirlpool loaded
[18:36:29]  
[18:36:29]  ==================
[18:36:29]  
[18:36:29]   Loaded.
[18:36:29]  Loading plugin: streamer.so
[18:36:29] 

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

[18:36:29]   Loaded.
[18:36:29]  Loading plugin: sscanf.so
[18:36:29] 

[18:36:29]  ===============================

[18:36:29]       sscanf plugin loaded.     

[18:36:29]          Version:  2.8.1        

[18:36:29]    © 2012 Alex "******" Cole  

[18:36:29]  ===============================

[18:36:29]   Loaded.
[18:36:29]  Loading plugin: nativechecker.so
[18:36:29]   Loaded.
[18:36:29]  Loaded 5 plugins.

[18:36:29] 
[18:36:29] Filterscripts
[18:36:29] ---------------
[18:36:29]   Loading filterscript 'Maping.amx'...
[18:36:29]   Loading filterscript 'PlayerInteriors.amx'...
[18:36:29]   Loading filterscript 'PlayerExteriors.amx'...
[18:36:29]   Loading filterscript 'yom_buttons.amx'...
[18:36:29]   Loading filterscript 'vactions.amx'...
[18:36:29]   Loading filterscript 'Server.amx'...
[18:36:29]   Loaded 6 filterscripts.

[18:36:29]    Error: Function not registered: 'cache_get_data'
[18:36:29]    Error: Function not registered: 'cache_get_field_content'
[18:36:29]    Error: Function not registered: 'cache_get_row'
[18:36:29] Script[gamemodes/BGRP.amx]: Run time error 19: "File or function is not found"
[18:36:29] Number of vehicle models: 0
Reply
#2

http://forum.sa-mp.com/showpost.php?...35&postcount=5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
About mysql, you've loaded R41-4 but the script still uses cache_get_field_content which was renamed in R40+
Last version using this function was R39-6
You later got an error about the libmysqlclient, either install the correct libraries or use a static version. Otherwise, you'd have to update the whole script and use R41-4
Reply
#3

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
http://forum.sa-mp.com/showpost.php?...35&postcount=5



You later got an error about the libmysqlclient, either install the correct libraries or use a static version. Otherwise, you'd have to update the whole script and use R41-4
What do you mean you later got an error about the libmysqlclient? You mean after I've followed your instructions, I'll encounter another error?
Reply
#4

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
http://forum.sa-mp.com/showpost.php?...35&postcount=5



You later got an error about the libmysqlclient, either install the correct libraries or use a static version. Otherwise, you'd have to update the whole script and use R41-4
How do I install the correct libraries? Where can I find the static version of libmysqlclient?
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
http://forum.sa-mp.com/showpost.php?...35&postcount=5



You later got an error about the libmysqlclient, either install the correct libraries or use a static version. Otherwise, you'd have to update the whole script and use R41-4
I followed and this is what I got

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

SA-MP Dedicated Server
----------------------
v0.3.7-R2, ©2005-2015 SA-MP Team

[20:02:07] 
[20:02:07] Server Plugins
[20:02:07] --------------
[20:02:07]  Loading plugin: mysql.so
[20:02:07]   Failed (libmysqlclient.so.18: cannot open shared object file: No such file or directory)
[20:02:07]  Loading plugin: Whirlpool.so
[20:02:07]  
[20:02:07]  ==================
[20:02:07]  
[20:02:07]   Whirlpool loaded
[20:02:07]  
[20:02:07]  ==================
[20:02:07]  
[20:02:07]   Loaded.
[20:02:07]  Loading plugin: streamer.so
[20:02:07] 

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

[20:02:07]   Loaded.
[20:02:07]  Loading plugin: sscanf.so
[20:02:07] 

[20:02:07]  ===============================

[20:02:07]       sscanf plugin loaded.     

[20:02:07]          Version:  2.8.2        

[20:02:07]    © 2012 Alex "******" Cole  

[20:02:07]  ===============================

[20:02:07]   Loaded.
[20:02:07]  Loading plugin: nativechecker.so
[20:02:07]   Loaded.
[20:02:07]  Loaded 4 plugins.

[20:02:07] 
[20:02:07] Filterscripts
[20:02:07] ---------------
[20:02:07]   Loading filterscript 'Maping.amx'...
[20:02:07] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x282001) (script might need to be recompiled with the latest include file)
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: Streamer_SetVisibleItems: Expecting 3 parameter(s), but found 2
[20:02:07]   Loading filterscript 'PlayerInteriors.amx'...
[20:02:07] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x282001) (script might need to be recompiled with the latest include file)
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: CreateDynamicPickup: Expecting 11 parameter(s), but found 9
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: CreateDynamicPickup: Expecting 11 parameter(s), but found 9
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: CreateDynamicPickup: Expecting 11 parameter(s), but found 9
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: CreateDynamic3DTextLabel: Expecting 15 parameter(s), but found 13
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: Streamer_SetVisibleItems: Expecting 3 parameter(s), but found 2
[20:02:07]   Loading filterscript 'PlayerExteriors.amx'...
[20:02:07] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x282001) (script might need to be recompiled with the latest include file)
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: CreateDynamic3DTextLabel: Expecting 15 parameter(s), but found 13
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: CreateDynamic3DTextLabel: Expecting 15 parameter(s), but found 13
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: Streamer_SetVisibleItems: Expecting 3 parameter(s), but found 2
[20:02:07]   Loading filterscript 'yom_buttons.amx'...
[20:02:07] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x282001) (script might need to be recompiled with the latest include file)
[20:02:07]   Loading filterscript 'vactions.amx'...
[20:02:07]   Loading filterscript 'Server.amx'...
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: CreateDynamic3DTextLabel: Expecting 15 parameter(s), but found 13
[20:02:07] *** Streamer Plugin: CreateDynamicPickup: Expecting 11 parameter(s), but found 9
[20:02:07] *** Streamer Plugin: CreateDynamicObject: Expecting 14 parameter(s), but found 11
[20:02:07] *** Streamer Plugin: Streamer_SetVisibleItems: Expecting 3 parameter(s), but found 2
[20:02:07]   Loaded 6 filterscripts.

[20:02:07] *** Streamer Plugin: Include file version (0x26105) does not match plugin version (0x282001) (script might need to be recompiled with the latest include file)
[20:02:07]    Error: Function not registered: 'mysql_log'
[20:02:07]    Error: Function not registered: 'mysql_tquery'
[20:02:07]    Error: Function not registered: 'mysql_escape_string'
[20:02:07]    Error: Function not registered: 'cache_get_data'
[20:02:07]    Error: Function not registered: 'cache_get_field_content'
[20:02:07]    Error: Function not registered: 'mysql_stat'
[20:02:07]    Error: Function not registered: 'mysql_connect'
[20:02:07]    Error: Function not registered: 'mysql_errno'
[20:02:07]    Error: Function not registered: 'mysql_close'
[20:02:07]    Error: Function not registered: 'cache_get_row'
[20:02:07]    Error: Function not registered: 'cache_insert_id'
[20:02:07]    Error: Function not registered: 'cache_affected_rows'
[20:02:07] Script[gamemodes/BGRP.amx]: Run time error 19: "File or function is not found"
[20:02:07] Number of vehicle models: 0
Reply


Forum Jump:


Users browsing this thread: 3 Guest(s)