Co jest tym spowodowane? Oto logi, plugins.ini, sql.cfg .
Proszę o pomoc, z dokładnym wyjaśnieniem co zrobić by ów problem ustał. Jestem laikiem w tych sprawach.
Logs:
# L 10/17/2010 - 09:23:22: [AMXX] Run time error 10 (plugin "amxbans_main.amxx") (native "SQL_QuoteString") - debug not enabled! # L 10/17/2010 - 09:23:22: [AMXX] To enable debug mode, add "debug" after the plugin name in plugins.ini (without quotes). # L 10/17/2010 - 09:38:41: Start of error session. # L 10/17/2010 - 09:38:41: Info (map "de_dust2") (file "addons/amxmodx/logs/error_20101017.log") # L 10/17/2010 - 09:38:41: [MySQL] Invalid database handle: 0 # L 10/17/2010 - 09:38:41: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") # L 10/17/2010 - 09:38:41: [AMXX] Run time error 10: native error (native "SQL_QuoteString") # L 10/17/2010 - 09:38:41: [AMXX] [0] amxbans_main.sma::mysql_get_servername_safe (line 392) # L 10/17/2010 - 09:38:41: [AMXX] [1] init_functions.inl::banmod_online_ (line 53) # L 10/17/2010 - 09:40:15: [MySQL] Invalid database handle: 0 # L 10/17/2010 - 09:40:15: [AMXX] Displaying debug trace (plugin "amxbans_main.amxx") # L 10/17/2010 - 09:40:15: [AMXX] Run time error 10: native error (native "SQL_QuoteString") # L 10/17/2010 - 09:40:15: [AMXX] [0] amxbans_main.sma::mysql_get_username_safe (line 387) # L 10/17/2010 - 09:40:15: [AMXX] [1] cmdBan.inl::_cmdMenuBan (line 81) #Ciągle powtarza się to samo.
Plugins.ini
# ; AmxBans 6.0.1 # # amxbans_core.amxx ; amxbans core engine # amxbans_main.amxx debug ; amxbans main engine # # ; Admin Base - Always one has to be activated # # ;admin.amxx ; admin base (required for any admin-related) # ;admin_sql.amxx ; admin base - SQL version (comment admin.amxx) #Więcej chyba nie trzeba.
Sql.cfg
// SQL configuration file // File location: $moddir/addons/amxmodx/configs/sql.cfg // *NOTE* Linux users may encounter problems if they specify "localhost" instead of "127.0.0.1" // We recommend using your server IP address instead of its name // *NOTE* amx_sql_type specifies the DEFAULT database type which admin.sma will use. amx_sql_host "xxx.x.xxx.xxx" amx_sql_user "tajne" amx_sql_pass "tajne" amx_sql_db "jak wyżej" amx_sql_table "admins" amx_sql_type "mysql"