-
Problem z config.php
Witam! Mam maly problem z plikiem config.php Uzupelniam wszystko tak jak jest podane na forum w pliku config i jak wgram to na serwer to mi wyskakuje Database error! Nie wiem co jest nie tak! Jesli ktos moglby mi pomoc bylbym bardzo wdzieczny! Chcetnych prosze o kontakt GG: 8751100 E-Mali: greksa@o2.pl Pozdro :)
-
Podaj dokładną treść błędu.
-
Staramy się rozwiązywać problemy na forum... Jeśli widzisz 'Database Error' to na 95% coś źle uzupełniasz (jest to możliwy błąd od strony serwera, ale zdarza się to bardzo rzadko). Na pewno wszystko robisz zgodnie z tą instrukcją?
http://vbhelp.pl/artykua-y-faq-f22/u...ig-php-t4.html
-
No wydaje mi sie ze wszystko dobrze uzupelniam! To jest to co wpisuje w config
To sa dane mysql
Database: cybermp3_gesiu
Host: localhost
Username: cybermp3_gesiu
Password: *******
A to jest gorna czesc pliku config.php z tym co ja uzupelnialem
Kod:
// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli, for slave support add _slave. Try to use mysqli if you are using PHP 5 and MySQL 4.1+
// for slave options just append _slave to your preferred database type.
$config['Database']['dbtype'] = 'mysql';
// ****** DATABASE NAME ******
// This is the name of the database where your vBulletin will be located.
// This must be created by your webhost.
$config['Database']['dbname'] = 'cybermp3_gesiu';
// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = '';
// ****** TECHNICAL EMAIL ADDRESS ******
// If any database errors occur, they will be emailed to the address specified here.
// Leave this blank to not send any emails when there is a database error.
$config['Database']['technicalemail'] = 'djprestigio@o2.pl';
// ****** FORCE EMPTY SQL MODE ******
// New versions of MySQL (4.1+) have introduced some behaviors that are
// incompatible with vBulletin. Setting this value to "true" disables those
// behaviors. You only need to modify this value if vBulletin recommends it.
$config['Database']['force_sql_mode'] = false;
// ****** MASTER DATABASE SERVER NAME AND PORT ******
// This is the hostname or IP address and port of the database server.
// If you are unsure of what to put here, leave the default values.
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
// ****** MASTER DATABASE USERNAME & PASSWORD ******
// This is the username and password you use to access MySQL.
// These must be obtained through your webhost.
$config['MasterServer']['username'] = 'cybermp3_gesiu';
$config['MasterServer']['password'] = '******';
// ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
// This option allows you to turn persistent connections to MySQL on or off.
// The difference in performance is negligible for all but the largest boards.
// If you are unsure what this should be, leave it off. (0 = off; 1 = on)
$config['MasterServer']['usepconnect'] = 0;
// ****** SLAVE DATABASE CONFIGURATION ******
// If you have multiple database backends, this is the information for your slave
// server. If you are not 100% sure you need to fill in this information,
// do not change any of the values here.
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = '';
$config['SlaveServer']['password'] = '';
$config['SlaveServer']['usepconnect'] = 0;
Jesli cos bylo nie tak prosze o podpowiedz, z gory dzieki :)
-
$config['Database']['tableprefix'] = ''; (tutaj powinieneś wpisać prefix jaki ustaliłeś dla tabel, dobrzez jeśli taki istnieje, np w przyszłości możesz korzystać z jednej bazy dla kilku for itp.)
$config['MasterServer']['servername'] = 'localhost'; (lepiej wpisać numer IP bazy danych, dostaniesz od swojego administratora hostu)
$config['MasterServer']['username'] = 'cybermp3_gesiu';
$config['Database']['dbname'] = 'cybermp3_gesiu'; Czy jesteś pewny tych dwóch danych? Masz tą samą nazwę dla nazwy bazy danych i uzytkownika?
-
Bo to jest na darmowym serwerze www i moze inny port jest? Sam juz niewiem!
-
vbulletina masz na darmowym serwerze??
-
To może podaj na forum adres tego darmowego hosta, to ktoś ci powie czy w ogóle tam można vBulletin postawić, bo kto wie co tam za bazy obsługują itd.
A ty wg założyłeś baze danych? Sorry za głupie pytanie, ale kto wie.
A tak w ogóle to podawanie danych jak to zrobiłeś to do najbezpieczniejszych nie należy. :)
-
Jeśli chcesz uzyskać dokładniejszą pomoc zapoznaj się z tym tematem:
http://vbhelp.pl/oga-oszenia-f4/uwag...icy-t1622.html
Pozdr.
MK
-
Teraz wstawulem na inny serw i tam na pewno jest port 3306 ale i tak nie dziala! http://www.skladanki.yoyo.pl/