Witam ja mam taki problem ze nie moze mi sie serwer polaczyc wszystko zrobilem dobrze tak jak trzeba ale nadal sie nie laczy www jest na proserwery.pl. Pokaze teraz error logi i pliki jak je wypelniam.
Error_logi:
L 12/10/2013 - 13:02:06: Start of error session.
L 12/10/2013 - 13:02:06: Info (map "de_westwood") (file "addons/amxmodx/logs/error_20131210.log")
L 12/10/2013 - 13:02:06: [AMXX] Plugin ("czas_online.amxx") is setting itself as failed.
L 12/10/2013 - 13:02:06: [AMXX] Plugin says: Brak polaczenia z baza danych
L 12/10/2013 - 13:02:06: [AMXX] Run time error 1 (plugin "czas_online.amxx") - forced exit
tutaj pokaze jak wszystko wypelniam:
config.php (strona dziala ok ale podaje w razie czego bo moze faktycznie cos nie zrobilem do konca):
// ------------------------
// Host bazy danych
// ------------------------
$CONFIG['db_host'] = '127.0.0.1';
// ------------------------
// Użytkownik bazy danych
// ------------------------
$CONFIG['db_user'] = 'tu podaje nazwe uzytkownika MYSQL';
// ------------------------
// Hasło użytkownika bazy danych
// ------------------------
$CONFIG['db_pass'] = 'tutaj haslo do MYSQL';
// ------------------------
// Nazwa bazy danych
// ------------------------
$CONFIG['db_name'] = 'baze danych MYSQL';
// ------------------------
// Tabela czasu xD
// ------------------------
$CONFIG['db_table'] = 'players_time';
Plik czas_online.sma:
new sqlConfig[ ][ ] = {
"www.twojanazwa.xaa.pl",
"uzytkownik",
"haslo",
"baza danych"
Wiec w czym tkwi problem?
Podaje jeszcze moduly:
;;;
; To enable a module, remove the semi-colon (;) 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
hamsandwich
Użytkownik mucek181 edytował ten post 10.12.2013 13:30