SA-MP Forums Archive
[HELP] Runtime errors - 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: [HELP] Runtime errors (/showthread.php?tid=595593)



[HELP] Runtime errors - BornHuman - 05.12.2015

PHP код:
[23:13:15]    Error: Function not registered'WP_Hash'
[23:13:15]    Error: Function not registered'mysql_format'
[23:13:15]    Error: Function not registered'mysql_tquery'
[23:13:15]    Error: Function not registered'mysql_connect'
[23:13:15]    Error: Function not registered'mysql_errno'
[23:13:15]    Error: Function not registered'cache_get_data'
[23:13:15]    Error: Function not registered'cache_get_field_content'
[23:13:15]    Error: Function not registered'cache_get_field_content_int'
[23:13:15]    Error: Function not registered'cache_get_field_content_float'
[23:13:15]    Error: Function not registered'cache_insert_id' 
MySQL: R93-4
Whirlpool: Latest


Re: [HELP] Runtime errors - Sinox - 05.12.2015

Are the plugins loading fine?

Also, if you're on windows make sure you have libmysql.dll in your server directory


Re: [HELP] Runtime errors - Ritzy2K - 05.12.2015

Your MySQL Plugin, and Whirlpool plugin are either not loading, or are not upto date, if they're loading and the error is still their during the run time, try to download the latest version, compile with it and use the latest plugin it will work


Re: [HELP] Runtime errors - BornHuman - 05.12.2015

I have libmysql.dll, but could anyone link me to the latest versions of these plugins? Because I could of swore I had the latest versions.

Edit: Entire console log

PHP код:
----------
Loaded log file"server_log.txt".
----------
SA-MP Dedicated Server
----------------------
v0.3.7-R2, (C)2005-2015 SA-MP Team
[12:05:31filterscripts ""  (string)
[
12:05:31
[
12:05:31Server Plugins
[12:05:31] --------------
[
12:05:31]  Loading pluginsscanf
[12:05:31
[
12:05:31]  ===============================
[
12:05:31]       sscanf plugin loaded.     
[
12:05:31]          Version:  2.8.1        
[12:05:31]    (c2012 Alex "******" Cole  
[12:05:31]  ===============================
[
12:05:31]   Loaded.
[
12:05:31]  Loading pluginnativechecker
[12:05:31]   Loaded.
[
12:05:31]  Loading pluginmysql
[12:05:31]  >> plugin.mysqlR39-4 successfully loaded.
[
12:05:31]   Loaded.
[
12:05:31]  Loading pluginstreamer
[12:05:32
*** 
Streamer Plugin v2.7.8 by Incognito loaded ***
[
12:05:32]   Loaded.
[
12:05:32]  Loaded 4 plugins.
[
12:05:32
[
12:05:32Filterscripts
[12:05:32] ---------------
[
12:05:32]   Loaded 0 filterscripts.
[
12:05:32]    Error: Function not registered'WP_Hash'
[12:05:32]    Error: Function not registered'mysql_format'
[12:05:32]    Error: Function not registered'mysql_tquery'
[12:05:32]    Error: Function not registered'mysql_connect'
[12:05:32]    Error: Function not registered'mysql_errno'
[12:05:32]    Error: Function not registered'cache_get_data'
[12:05:32]    Error: Function not registered'cache_get_field_content'
[12:05:32]    Error: Function not registered'cache_get_field_content_int'
[12:05:32]    Error: Function not registered'cache_get_field_content_float'
[12:05:32]    Error: Function not registered'cache_insert_id'
[12:05:32Script[gamemodes/RP.amx]: Run time error 19"File or function is not found"
[12:05:32Number of vehicle models



Re: [HELP] Runtime errors - BornHuman - 05.12.2015

Edit: I downloaded the 'latest' versions using this thread here: https://sampforum.blast.hk/showthread.php?tid=503893 and I am still getting the same errors.


Re: [HELP] Runtime errors - Sinox - 05.12.2015

Eh, you're not loading whirlpool

Edit: not sure if this is the cause of the mysql errors, but did you update the mysql include in the pawno folder as well when compiling the script?