Warning: Unknown: Your script possibly relies on a session side-effect which existed until PHP 4.2.3. Please be advised that the session extension does not consider global variables as a source of data, unless register_globals is enabled. You can disable this functionality and this warning by setting session.bug_compat_42 or session.bug_compat_warn to off, respectively in Unknown on line 0
Dodatkowo gdy chce podać powody banów pokazuje mi się (na górze, tamten error był pokazany na dole:
Warning: include() [function.include]: URL file-access is disabled in the server configuration in /home/pd311/domains/republika-cs.xpag.pl/public_html/bany/include/functions.inc.php on line 321 Warning: include(http://www.amxbans.net/version.inc) [function.include]: failed to open stream: no suitable wrapper could be found in /home/pd311/domains/republika-cs.xpag.pl/public_html/bany/include/functions.inc.php on line 321 Warning: include() [function.include]: Failed opening 'http://www.amxbans.net/version.inc' for inclusion (include_path='.:/usr/local/lib/php') in /home/pd311/domains/republika-cs.xpag.pl/public_html/bany/include/functions.inc.php on line 321
Wiem tylko że ten błąd jest związany ze złym działaniem mysql (może trzeba zmienić chmoda?).
Wersję amxbansa pobrałem z tej strony czyli wersję 5.0
Oto mój log podczas startu serwera:
L 12/12/2010 - 21:35:12: -------- Mapchange to jail_xmf -------- L 12/12/2010 - 21:35:24: [amxbans.amxx] [AMXBANS] AMXBans 5.0 jest online L 12/12/2010 - 21:40:05: [admin_sql.amxx] Login: "hm lol<10><STEAM_0:0:28298052><>" became an admin (account "STEAM_0:0:28298052") (access "abcdefghijklmnopqrstu") (address "88.156.49.19") L 12/12/2010 - 21:40:05: [admin.amxx] Login: "hm lol<10><STEAM_0:0:28298052><>" became an admin (account "STEAM_0:0:28298052") (access "abcdefghijklmnopqrstu") (address "88.156.49.19") L 12/12/2010 - 21:41:19: [mapsmenu.amxx] Cmd: "hm lol<10><STEAM_0:0:28298052><>" changelevel "jail_xmf" L 12/12/2010 - 21:41:21: -------- Mapchange to jail_xmf -------- L 12/12/2010 - 21:41:24: [amxbans.amxx] [AMXBANS] AMXBans 5.0 jest online L 12/12/2010 - 21:42:00: -------- Mapchange to jail_xmf -------- L 12/12/2010 - 21:42:03: [amxbans.amxx] [AMXBANS] AMXBans 5.0 jest online
Oto co mam w plugins.ini:
; AMX Mod X plugins ; Admin Base - Always one has to be activated ; admin_sql.amxx ; admin base - SQL version (comment admin.amxx) ; Basic admincmd.amxx ; basic admin console commands adminhelp.amxx ; help command for admin console commands adminslots.amxx ; slot reservation multilingual.amxx ; Multi-Lingual management ; Menus menufront.amxx ; front-end for admin menus cmdmenu.amxx ; command menu (speech, settings) plmenu.amxx ; players menu (kick, ban, client cmds.) ;telemenu.amxx ; teleport menu (Fun Module required!) mapsmenu.amxx ; maps menu (vote, changelevel) ; Chat / Messages adminchat.amxx ; console chat commands antiflood.amxx ; prevent clients from chat-flooding the server scrollmsg.amxx ; displays a scrolling message imessage.amxx ; displays information messages adminvote.amxx ; vote commands ; Map related nextmap.amxx ; displays next map in mapcycle mapchooser.amxx ; allows to vote for next map timeleft.amxx ; displays time left on map ; Configuration pausecfg.amxx ; allows to pause and unpause some plugins statscfg.amxx ; allows to manage stats plugins via menu and commands ; Counter-Strike ;restmenu.amxx ; restrict weapons menu statsx.amxx ; stats on death or round end (CSX Module required!) ;miscstats.amxx ; bunch of events announcement for Counter-Strike ;stats_logging.amxx ; weapons stats logging (CSX Module required!) ; Enable to use AMX Mod plugins ;amxmod_compat.amxx ; AMX Mod backwards compatibility layer ; Custom - Add 3rd party plugins here jb_freedaymenu.amxx restmenu.amxx jailbreak_strip_t_weapons.amxx spadochron5.amxx dodatki_jb.amxx jailbreak_piesci.amxx jailbreak_ktowygral.amxx jailbreak_dni.amxx JB_weapon.amxx jailbreak_bunt_wiezniow_sekundy.amxx jailbreak_poszukiwani.amxx jail_silownia.amxx sprayid.amxx jailbreak_openjails.amxx jail_zasady.amxx jail_basic_info.amxx amx_gore_ultimate.amxx jb_freedaymenu.amxx ne_unlimitedammo.amxx jailbreak_silownia.amxx jb_freedaymenu.amxx admin_gag.amxx adminlisten.amxx blokada_ct.amxx amx_ip.amxx day_light.amxx amxbans.amxx admin_amxbans.amxx admin.amxx
Dodałem admin.amxx ponieważ jak go usunąłem to nie można było użyć żadnej komendy admina.
Oto mój modules.ini (pozwoliłem sobie na usunięcie komentarzy):
mysql sqlite fun engine fakemeta geoip sockets regex nvault cstrike csx
Mój plik sql.cfg
amx_sql_host "188.165.238.109" amx_sql_user "pd311_pd311" amx_sql_pass "***********" ;zamzalem passy amx_sql_db "pd311_pd311" amx_sql_table "admins" amx_sql_type "mysql"
Moja wersja amxx to 1.8.1 pod linuxa, kupiłem serwer w polsce na ownserwer.pl
Niestety ale szukałem i nigdzie nie znalazłem odpowiedzi (może za mało?) więc proszę o szybką odpowiedź.