SA-MP Forums Archive
Fuction not registered MYSQL - 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: Fuction not registered MYSQL (/showthread.php?tid=493025)



Fuction not registered MYSQL - gotwarzone - 06.02.2014

Help can you please help me how to fix this I got from server log?


Quote:

Error: Function not registered: 'cache_get_data'
[21:13:37] Error: Function not registered: 'cache_get_field_content'
[21:13:37] Error: Function not registered: 'mysql_function_query'
[21:13:37] Error: Function not registered: 'mysql_debug'
[21:13:37] Error: Function not registered: 'mysql_connect'
[21:13:37] Error: Function not registered: 'mysql_ping'
[21:13:37] Error: Function not registered: 'mysql_close'
[21:13:37] Error: Function not registered: 'mysql_real_escape_string'
[21:13:37] Error: Function not registered: 'cache_get_row'
[21:13:37] Error: Function not registered: 'mysql_affected_rows'
[21:13:37] Script[gamemodes/MCRP.amx]: Run time error 19: "File or function is not found"
[21:13:37] Number of vehicle models: 0




Re: Fuction not registered MYSQL - PowerPC603 - 06.02.2014

Update your plugin (DLL + include file).


Re: Fuction not registered MYSQL - gotwarzone - 06.02.2014

Quote:
Originally Posted by PowerPC603
Посмотреть сообщение
Update your plugin (DLL + include file).
I have updated and now I can connect to my database. But still server is offline.

Quote:

[22:23:39]
[22:23:39] ** MySQL Debugging enabled (02/06/14)
[22:23:39]
[22:23:39] >> mysql_connect(127.0.0.1, kevinbalordb, kevinbalordb, ******) on port 3306
[22:23:39] CMySQLHandler::CMySQLHandler() - constructor called.
[22:23:39] CMySQLHandler::CMySQLHandler() - Connecting to "127.0.0.1" | DB: "kevinbalordb" | Username: "kevinbalordb"
[22:23:39] CMySQLHandler::Connect() - Connection was successful.
[22:23:39] CMySQLHandler::Connect() - Auto-Reconnect has been enabled.
[22:23:39] >> mysql_ping( Connection handle: 1 )
[22:23:39] CMySQLHandler::Ping() - Connection is still alive.
[22:23:39] >> mysql_query_callback( Connection handle: 1 )
[22:23:39] >> mysql_query_callback( Connection handle: 1 )
[22:23:39] >> mysql_query_callback( Connection handle: 1 )
[22:23:39] >> mysql_query_callback( Connection handle: 1 )
[22:23:39] >> mysql_query_callback( Connection handle: 1 )
[22:23:39] >> mysql_query_callback( Connection handle: 1 )
[22:23:39] Passing query SELECT `gMOTD`,`aMOTD`,`vMOTD`,`cMOTD`,`pMOTD`,`ShopTechP ay` FROM `misc` | iii
[22:23:39] ProcessQueryThread(OnQueryFinish) - Query was successful. (SELECT `gMOTD`,`aMOTD`,`vMOTD`,`cMOTD`,`pMOTD`,`ShopTechP ay` FROM `misc`)
[22:23:39] ProcessQueryThread(OnQueryFinish) - Data caching enabled.
[22:23:39] CMySQLHandler::StoreResult() - Result was stored.
[22:23:39] CMySQLHandler::FreeResult() - Result was successfully free'd.
[22:23:39] CMySQLHandler::ProcessQueryThread() - Data is getting passed to ->ProcessTick()