• Rejestracja
vBHELP.pl - polskie wsparcie vBulletin
Strona 1 z 2 12 OstatniOstatni
  1. #1
    gesiu92 jest nieaktywny Początkujący
    Dołączył
    Aug 2008
    Posty
    4

    Exclamation 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



  2. #2
    Awatar Grzegorz
    Grzegorz jest nieaktywny Ja tu tylko sprzątam
    Dołączył
    Jan 2008
    Posty
    1 620
    Przydatne posty
    111

    Domyślnie

    Podaj dokładną treść błędu.
    Potrzebujesz stylu dla swojego forum? Chcesz przenieść styl z vbulletin 3 na vbulletin 4? Pisz PW


  3. #3
    Awatar Max
    Max
    Max jest nieaktywny There's something in the Air ...
    Dołączył
    Jan 2008
    Posty
    4 775
    Przydatne posty
    252
    Wpisów
    13

    Domyślnie

    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


  4. #4
    gesiu92 jest nieaktywny Początkujący
    Dołączył
    Aug 2008
    Posty
    4

    Domyślnie

    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


  5. #5
    Awatar falon
    falon jest nieaktywny Advanced Member
    Dołączył
    Jul 2008
    Posty
    911
    Przydatne posty
    3

    Domyślnie

    $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?


  6. #6
    gesiu92 jest nieaktywny Początkujący
    Dołączył
    Aug 2008
    Posty
    4

    Domyślnie

    Bo to jest na darmowym serwerze www i moze inny port jest? Sam juz niewiem!


  7. #7
    seba766 jest nieaktywny Stały bywalec
    Dołączył
    Apr 2008
    Posty
    239

    Domyślnie

    vbulletina masz na darmowym serwerze??


  8. #8
    Awatar falon
    falon jest nieaktywny Advanced Member
    Dołączył
    Jul 2008
    Posty
    911
    Przydatne posty
    3

    Domyślnie

    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.


  9. #9
    Awatar Max
    Max
    Max jest nieaktywny There's something in the Air ...
    Dołączył
    Jan 2008
    Posty
    4 775
    Przydatne posty
    252
    Wpisów
    13

    Domyślnie

    Jeśli chcesz uzyskać dokładniejszą pomoc zapoznaj się z tym tematem:
    http://vbhelp.pl/oga-oszenia-f4/uwag...icy-t1622.html

    Pozdr.
    MK


  10. #10
    gesiu92 jest nieaktywny Początkujący
    Dołączył
    Aug 2008
    Posty
    4

    Domyślnie

    Teraz wstawulem na inny serw i tam na pewno jest port 3306 ale i tak nie dziala! http://www.skladanki.yoyo.pl/


Strona 1 z 2 12 OstatniOstatni

Podobne wątki

  1. Problem z config.php
    By donnvitoyomasz in forum Pytania i problemy
    Odpowiedzi: 10
    Ostatni post / autor: 28.05.2009, 19:54
  2. Edycja config.php
    By blokers94 in forum Pytania i problemy
    Odpowiedzi: 5
    Ostatni post / autor: 03.03.2009, 15:16
  3. Problem z config.php prosze o wypełnienie.
    By Stary~ in forum Pytania i problemy
    Odpowiedzi: 12
    Ostatni post / autor: 20.01.2009, 21:18
  4. config.php
    By adrian218 in forum Pytania i problemy
    Odpowiedzi: 3
    Ostatni post / autor: 15.10.2008, 19:44
  5. Uzupelnienie config.php
    By saivet in forum Instalacja i upgrade
    Odpowiedzi: 5
    Ostatni post / autor: 29.06.2008, 22:21
Chmurka.pl

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67