Run time error 19: "File or function is not found"
#1

hello guys

when i try to run my mysql server i get Run time error 19: "File or function is not found"

please help me

regards

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

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

[12:42:37] filterscripts = ""  (string)
[12:42:37] 
[12:42:37] Server Plugins
[12:42:37] --------------
[12:42:37]  Loading plugin: mysql
[12:42:38] 

  > MySQL plugin R6-2 successfully loaded.

[12:42:38]   Loaded.
[12:42:38]  Loading plugin: streamer
[12:42:38] 

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

[12:42:38]   Loaded.
[12:42:38]  Loading plugin: sscanf
[12:42:38] 

[12:42:38]  ===============================

[12:42:38]       sscanf plugin loaded.     

[12:42:38]    © 2009 Alex "******" Cole

[12:42:38]    0.3d-R2 500 Players "dnee"

[12:42:38]  ===============================

[12:42:38]   Loaded.
[12:42:38]  Loading plugin: Whirlpool
[12:42:38]  
[12:42:38]  ==================
[12:42:38]  
[12:42:38]   Whirlpool loaded
[12:42:38]  
[12:42:38]  ==================
[12:42:38]  
[12:42:38]   Loaded.
[12:42:38]  Loaded 4 plugins.

[12:42:38] 
[12:42:38] Filterscripts
[12:42:38] ---------------
[12:42:38]   Loaded 0 filterscripts.

[12:42:38] Script[gamemodes/base.amx]: Run time error 19: "File or function is not found"
[12:42:38] Number of vehicle models: 0
Reply
#2

Update mysql to latest version and then recompile your script
Reply
#3

Quote:
Originally Posted by Brezon
Посмотреть сообщение
Update mysql to latest version and then recompile your script
ok i will try
Reply
#4

A thread about that run time error should be stickied because I see atleast 2 threads per day about it.

Anyways, load nativechecker (https://sampforum.blast.hk/showthread.php?tid=249226) plugin and add it last in plugins line (in server.cfg). Start the server and post the whole server log once again.
Reply
#5

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
A thread about that run time error should be stickied because I see atleast 2 threads per day about it.

Anyways, load nativechecker (https://sampforum.blast.hk/showthread.php?tid=249226) plugin and add it last in plugins line (in server.cfg). Start the server and post the whole server log once again.
i add nativechecker plugin and i get 3 errors please help

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

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

[12:49:53] filterscripts = ""  (string)
[12:49:53] 
[12:49:53] Server Plugins
[12:49:53] --------------
[12:49:53]  Loading plugin: mysql
[12:49:53] 

  > MySQL plugin R6-2 successfully loaded.

[12:49:53]   Loaded.
[12:49:53]  Loading plugin: streamer
[12:49:53] 

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

[12:49:53]   Loaded.
[12:49:53]  Loading plugin: sscanf
[12:49:53] 

[12:49:53]  ===============================

[12:49:53]       sscanf plugin loaded.     

[12:49:53]    © 2009 Alex "******" Cole

[12:49:53]    0.3d-R2 500 Players "dnee"

[12:49:53]  ===============================

[12:49:53]   Loaded.
[12:49:53]  Loading plugin: Whirlpool
[12:49:53]  
[12:49:53]  ==================
[12:49:53]  
[12:49:53]   Whirlpool loaded
[12:49:53]  
[12:49:53]  ==================
[12:49:53]  
[12:49:53]   Loaded.
[12:49:53]  Loading plugin: nativechecker
[12:49:53]   Loaded.
[12:49:53]  Loading plugin: audio
[12:49:53] 

*** Audio Plugin v0.4 by Incognito loaded ***


[12:49:53]   Loaded.
[12:49:53]  Loaded 6 plugins.

[12:49:53] 
[12:49:53] Filterscripts
[12:49:53] ---------------
[12:49:53]   Loaded 0 filterscripts.

[12:49:53]    Error: Function not registered: 'mysql_tquery'
[12:49:53]    Error: Function not registered: 'cache_get_data'
[12:49:53]    Error: Function not registered: 'cache_get_field_content'
[12:49:53] Script[gamemodes/base.amx]: Run time error 19: "File or function is not found"
[12:49:53] Number of vehicle models: 0
Reply
#6

The script uses mysql plugin R33+ and you loaded R6-2. Load R39 which is the latest one: https://github.com/pBlueG/SA-MP-MySQL/releases

and also update all the other plugins. Streamer's last version is 2.7.2, for sscanf is 2.8.1 and for audio 0.5 R2.
Reply
#7

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
The script uses mysql plugin R33+ and you loaded R6-2. Load R39 which is the latest one: https://github.com/pBlueG/SA-MP-MySQL/releases

and also update all the other plugins. Streamer's last version is 2.7.2, for sscanf is 2.8.1 and for audio 0.5 R2.
ok i will download and update all new plugins and i will try
Reply
#8

now no problem but unknown where is the problem please help
Код:
----------
Loaded log file: "server_log.txt".
----------

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

[13:23:27] filterscripts = ""  (string)
[13:23:27] 
[13:23:27] Server Plugins
[13:23:27] --------------
[13:23:27]  Loading plugin: mysql
[13:23:28]  >> plugin.mysql: R39 successfully loaded.
[13:23:28]   Loaded.
[13:23:28]  Loading plugin: streamer
[13:23:28] 

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

[13:23:28]   Loaded.
[13:23:28]  Loading plugin: sscanf
[13:23:28] 

[13:23:28]  ===============================

[13:23:28]       sscanf plugin loaded.     

[13:23:28]          Version:  2.8.1        

[13:23:28]    © 2012 Alex "******" Cole  

[13:23:28]  ===============================

[13:23:28]   Loaded.
[13:23:28]  Loading plugin: Whirlpool
[13:23:28]  
[13:23:28]  ==================
[13:23:28]  
[13:23:28]   Whirlpool loaded
[13:23:28]  
[13:23:28]  ==================
[13:23:28]  
[13:23:28]   Loaded.
[13:23:28]  Loading plugin: nativechecker
[13:23:28]   Loaded.
[13:23:28]  Loading plugin: audio
[13:23:28] 

*** Audio Plugin v0.4 by Incognito loaded ***


[13:23:28]   Loaded.
[13:23:28]  Loaded 6 plugins.

[13:23:28] 
[13:23:28] Filterscripts
[13:23:28] ---------------
[13:23:28]   Loaded 0 filterscripts.

[13:23:28] 
----------------------------------
[13:23:28] MySQL BASE R39 GameMode Caching by Chillstep
[13:23:28] ----------------------------------

[13:23:28] Number of vehicle models: 0
Reply
#9

What "unknown" as gamemode text? By the way, check your mysql logs because the connection might have failed (wrong data: host, user, pass, db etc).
Reply
#10

Quote:
Originally Posted by Konstantinos
Посмотреть сообщение
What "unknown" as gamemode text? By the way, check your mysql logs because the connection might have failed (wrong data: host, user, pass, db etc).
ok bro
Reply


Forum Jump:


Users browsing this thread: 1 Guest(s)