Przeniosłem całą bazę danych + wszystkie pliki z ftp na inny hosting i mam taki błąd na stronie:
[b]Warning[/b]: mysql_connect() [[url="http://gdyniacs.eu/Bany/function.mysql-connect"]function.mysql-connect[/url]]: Access denied for user 'pumba_dj'@'127.0.0.1' (using password: YES) in [b]/home/gdyniacs/public_html/Bany/include/config.inc.php[/b] on line [b]55[/b] Access denied for user 'pumba_dj'@'127.0.0.1' (using password: YES)Czytałem FAQ, ale ja wg nie mam takie pliku ja sql.cfg i modules.ini.
Dodałem sql.cfg z wzorem jaki miałem w psychostats (łatwiejszy do zrozumienia), ale to nic nie dało.
Co mam zrobić by to wszystko zaczęło działać?
@Edit.
Przepraszam nie miałem wtedy czasu do pisania ze wzorem. Umieszczam teraz zgodnie ze wzorem.
- Wersję serwera: NS/S
- Logi: chodzi tylko o stronę
- amxbans.cfg (28.01.2011r.) - to chyba nie jest potrzebne
- plugins.ini:
; AMX Mod X plugins ; Admin Base - Always one has to be activated amxbans_core.amxx amxbans_main.amxx ;admin.amxx ; admin base (required for any admin-related) ;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 amx_ssban.amxx ; plugin od ss bardzo dobry + wlasna konfiguracja ad_manager.amxx ; kolorowe reklamy na say admin_freelook.amxx ; admin widzi z kazdej kamery adminlisten.amxx ; admin widzi wszystkie wiadomosci parachute.amxx ; spadochron za free ;bomba_explode_sound.amxx ; licznik c4, dzwiek przy wybuchu paki descriptive_fire_in_the_hole.amxx ; info o zuconym granacie afkbombtransfer.amxx ; przenoszenie paki od gracza afk alt_end_round_sounds.amxx ; muzyczka na koniec rundy poprawne_rate.amxx ; ustawia rate i interp max 0.03 ;runplanting.amxx ; biegasz i kladziesz pake autobuyfix.amxx ; latka admin_spec_esp.amxx ; wh dla admina showip.amxx ; pokazuje IP graczy hpk_pl.amxx ; ping kicker anticommerce.amxx ; blokowanie reklam w say i w nickach ;reconnect_features.amxx ; po reconeccie przywraca kase i staty ;ptb.amxx ochronaResp.amxx deagsmapmanage230b.amxx serwery_aim.amxx ; po wpisaniu /serwer wyskakuje lista serwerów Gdynics- modules.ini:
;;; ; To enable a module, remove the semi-colon (<img src='https://amxx.pl/public/style_emoticons/<#EMO_DIR#>/wink.png' class='bbc_emoticon' alt=';)' /> in front of its name. ; If it's not here, simply add it its name, one per line. ; You don't need to write the _amxx part or the file extension. ;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; SQL Modules usually need to be enabled manually ;; ;; You can have any number on at a time. Use ;; ;; amx_sql_type in sql.cfg to specify the default ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; mysql sqlite ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; Put third party modules below here. ;; ;; You can just list their names, without the _amxx ;; ;; or file extension. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;; These modules will be auto-detected and loaded ;; ;; as needed. You do not need to enable them here ;; ;; unless you have problems. ;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; fun engine fakemeta geoip ;sockets ;regex ;nvault cstrike csx ;hamsandwichsql.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 "gdyniacs.xaa.pl" amx_sql_user "gdyniacs_bany" amx_sql_pass "************" amx_sql_db "gdyniacs_amxbans" amx_sql_table "amx" amx_sql_type "mysql"
Użytkownik T3DI edytował ten post 23.10.2011 09:49