SA-MP Forums Archive
help server startup - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Server (https://sampforum.blast.hk/forumdisplay.php?fid=6)
+--- Forum: Server Support (https://sampforum.blast.hk/forumdisplay.php?fid=19)
+--- Thread: help server startup (/showthread.php?tid=548537)



help server startup - kosa451 - 30.11.2014

Once i start my server i get these errors:

http://imgur.com/aasx74s



Logs:

Код:
SA-MP Dedicated Server
----------------------
v0.3z-R2, ©2005-2014 SA-MP Team

[14:31:30] weburl = "www.sa-mp.com"  (string)
[14:31:30] 
[14:31:30] Server Plugins
[14:31:30] --------------
[14:31:30]  Loading plugin: mysql
[14:31:30]   Failed.
[14:31:30]  Loading plugin: streamer
[14:31:30] 

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

[14:31:30]   Loaded.
[14:31:30]  Loading plugin: sscanf
[14:31:30] 

[14:31:30]  ===============================

[14:31:30]       sscanf plugin loaded.     

[14:31:30]    © 2009 Alex "******" Cole

[14:31:30]    0.3d-R2 500 Players "dnee"

[14:31:30]  ===============================

[14:31:30]   Loaded.
[14:31:30]  Loading plugin: whirlpool
[14:31:30]  
[14:31:30]  ==================
[14:31:30]  
[14:31:30]   Whirlpool loaded
[14:31:30]  
[14:31:30]  ==================
[14:31:30]  
[14:31:30]   Loaded.
[14:31:30]  Loading plugin: nativechecker
[14:31:30]   Loaded.
[14:31:30]  Loaded 4 plugins.

[14:31:30] 
[14:31:30] Filterscripts
[14:31:30] ---------------
[14:31:30]   Loading filterscript 'playerexteriors.amx'...
[14:31:30]   Loading filterscript 'playerinteriors.amx'...
[14:31:30]   Loading filterscript 'server.amx'...
[14:31:30]   Loaded 3 filterscripts.

[14:31:31]    Error: Function not registered: 'mysql_tquery'
[14:31:31]    Error: Function not registered: 'mysql_escape_string'
[14:31:31]    Error: Function not registered: 'cache_get_data'
[14:31:31]    Error: Function not registered: 'cache_get_field_content'
[14:31:31]    Error: Function not registered: 'mysql_stat'
[14:31:31]    Error: Function not registered: 'mysql_log'
[14:31:31]    Error: Function not registered: 'mysql_connect'
[14:31:31]    Error: Function not registered: 'mysql_errno'
[14:31:31]    Error: Function not registered: 'mysql_close'
[14:31:31]    Error: Function not registered: 'cache_get_row'
[14:31:31]    Error: Function not registered: 'cache_insert_id'
[14:31:31]    Error: Function not registered: 'cache_affected_rows'
[14:31:31] Script[gamemodes/SGRP.amx]: Run time error 19: "File or function is not found"
[14:31:31] Number of vehicle models: 0



Re: help server startup - Bingo - 30.11.2014

Download MySQL Plugin.

* If you already have it in your 'plugins' folder, Make sure it's updated version.
* (IN-CASE) If it's old version, Download the new one and place it in respective folders then make sure to re-compile your script.


Re: help server startup - kosa451 - 30.11.2014

Quote:
Originally Posted by Bingo
Посмотреть сообщение
Download MySQL Plugin.

* If you already have it in your 'plugins' folder, Make sure it's updated version.
* (IN-CASE) If it's old version, Download the new one and place it in respective folders then make sure to re-compile your script.
I get the same errors


Re: help server startup - kosa451 - 30.11.2014

anyone?


Re: help server startup - Jaay - 30.11.2014

If you're running it from your PC download Navicat and XAMPP (Watch a tutorial on how to set it up with mysql) and you should have a MySQL file I can already guess what script you're using you basically upload that file to a database on Navicat and then fill in the MySQL and MySQL_Remote in your scriptfiles folder to match your database.

MySQL File you need to upload to your Navicat Database:


MySQL and MySQL Remote you need to change to your database information:



If you need anymore help PM me


Re: help server startup - SimplyFragHosting - 30.11.2014

Hello Try this:

Go on this link:https://github.com/pBlueG/SA-MP-MySQL/releases

Download MySQL R34 (most compatible with current scripts)
Download the version for your server OS and run the Mysql_static.so or Mysql_static.dll and try that. Remember to add the file extention to the server.cfg and restart server.

Also did you upload the include and recompile?

Final Check: Are you using the correct MySQL plugin (theres different ones by different authors)

From my experience as a SA:MP server host the runtime error 19 is 95% of the time caused by a plugin not being the correct version or not being loaded due to a missing lib.