Risultati da 1 a 10 di 10

Discussione: Problema File Config.php

  1. #1

    Problema File Config.php

    Allora innanzitutto buongiorno sono contento di essere in questa community ed sono abbastanza contento del prodotto che ho acquistato solo che ho un problema:

    Uso Hosting Altervista e non so come configurare il config.php




    Codice:
    	//	****** 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'] = 'forum';
    
    	//	****** 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'] = 'dbmaster@example.com';
    
    	//	****** 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'] = 'root';
    $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;

    Spero di aver una risposta,
    Grazie al piu presto

  2. #2
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  3. #3
    Allora ho provato a compilarlo da solo in questa maniera:
    Codice:
    	//	****** 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'] = 'forum';
    
    	//	****** 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'] = '*****@live.it';
    
    	//	****** 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'] = 'Bozerman';
    $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'] = 'localhost';
    $config['SlaveServer']['port'] = 3306;
    $config['SlaveServer']['username'] = '';
    $config['SlaveServer']['password'] = '';
    $config['SlaveServer']['usepconnect'] = 0;

    Pero andando avanti mi da questo errore :


  4. #4
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    Indica che il server e/o il database non sono impostati correttamente.

    Verifica:
    $config['Database']['dbname'] = 'forum';
    $config['MasterServer']['servername'] = 'localhost';

    Spesso il server db non è localhost, e spesso il nome del database non è forum
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  5. #5
    Invece di localhost ho messo root e mi da un'altro errore

    Immagine:

  6. #6
    Account disattivato
    Data Registrazione
    Sep 2006
    Località
    Italia
    Messaggi
    477
    Devi verificare se il tuo server usa il localhost o cosa. Lo puoi verificare andando in phpmyadmin. Ciao

  7. #7
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    root è normalmente il nome utente principale del database, non il server.
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  8. #8
    Ho risolto solo che mi é piaciuto il servizio e mi sono comperato il vbulletin 3.7.2
    Adesso sto alla 3.6.8!! Che devo fare sovvraporre i file? Oppure cancellare tutto e mettere quella della 3.7.2?

  9. #9
    Borg L'avatar di y2ksw
    Data Registrazione
    Nov 2004
    Località
    Bologna, Italia
    Età
    64
    Messaggi
    9,035
    devi sostituire i file sul server, e poi eseguire [forumhome]/install/upgrade.php
    Giovanni
    http://www.trimelli.com/

    Per favore non mandatemi PM, ma scrivete sul forum. Vi sarà risposto prima.

  10. #10
    Inattivo
    Data Registrazione
    Apr 2008
    Località
    Capri
    Età
    32
    Messaggi
    176
    Non hai compilato bene i dati..

    hai sbagliato questo:
    $config['MasterServer']['servername'] = 'localhost';
    Metti:
    $config['MasterServer']['servername'] = 'tuosito.it';

    Prova cosi.

Discussioni Simili

  1. vBulletin 3.6.x config
    Di -ZioGianni- nel forum VBulletin 3
    Risposte: 16
    Ultimo Messaggio: 04-11-2008, 01:02
  2. vBulletin 3.7.x aiuto con il config.php
    Di napulitano nel forum VBulletin 3
    Risposte: 12
    Ultimo Messaggio: 09-05-2008, 20:29
  3. vBulletin 3.5.x Con quale programma devo aprire il file Config.php.new ?
    Di werk90 nel forum VBulletin 3
    Risposte: 8
    Ultimo Messaggio: 06-05-2008, 18:54
  4. vBulletin 3.6.x Config.php??
    Di Dark_Peppe nel forum VBulletin 3
    Risposte: 12
    Ultimo Messaggio: 02-02-2008, 18:59
  5. vBulletin 3.6.x config.php.....problema
    Di jeff_92 nel forum VBulletin 3
    Risposte: 2
    Ultimo Messaggio: 09-02-2007, 00:58

Segnalibri

Permessi di Scrittura

  • Tu non puoi inviare nuove discussioni
  • Tu non puoi inviare risposte
  • Tu non puoi inviare allegati
  • Tu non puoi modificare i tuoi messaggi
  •