Come si setta il config.php?
Salve,
dopo aver risolto il problema iniziale torno a chiedere aiuto in quanto durante il setup il mio forum non riesce a connettersi al database
Premetto che ho cercato ma non ho trovato un post che mi aiutasse (o versioni vecchie o settaggi su altervista, io ho la versione 3.5.4)
In parole povere durante l'installazione allo step 3 non si riesce a connettere al database, vi riporto i miei settaggi (premesso che il sito è su un server dedicato e che nome db, nome utente e password sono esatti):
Citazione:
// ****** DATABASE TYPE ******
$config['Database']['dbtype'] = 'mysql';
// ****** DATABASE NAME ******
$config['Database']['dbname'] = 'nome del database';
// ****** TABLE PREFIX ******
// Prefix that your vBulletin tables have in the database.
$config['Database']['tableprefix'] = 'ch';
// ****** TECHNICAL EMAIL ADDRESS ******
$config['Database']['technicalemail'] = 'info@chorse.it';
// ****** FORCE EMPTY SQL MODE ******
$config['Database']['force_sql_mode'] = false;
// ****** MASTER DATABASE SERVER NAME AND PORT ******
$config['MasterServer']['servername'] = 'localhost';
$config['MasterServer']['port'] = 3306;
// ****** MASTER DATABASE USERNAME & PASSWORD ******
$config['MasterServer']['username'] = 'root';
$config['MasterServer']['password'] = '';
// ****** MASTER DATABASE PERSISTENT CONNECTIONS ******
$config['MasterServer']['usepconnect'] = 0;
// ****** SLAVE DATABASE CONFIGURATION ******
$config['SlaveServer']['servername'] = '';
$config['SlaveServer']['port'] = 3306;
$config['SlaveServer']['username'] = 'nome dell'utente del database';
$config['SlaveServer']['password'] = 'password del database';
$config['SlaveServer']['usepconnect'] = 0;
// ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
$config['Misc']['cookieprefix'] = 'bb';
// ******** FULL PATH TO FORUMS DIRECTORY ******
$config['Misc']['forumpath'] = 'D:\Inetpub\vhosts\chorse.it\subdomains/forum/httpdocs/forum/';
// ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
$config['SpecialUsers']['canviewadminlog'] = '1';
// ****** USERS WITH ADMIN LOG PRUNING PERMISSIONS ******
$config['SpecialUsers']['canpruneadminlog'] = '1';
// ****** USERS WITH QUERY RUNNING PERMISSIONS ******
$config['SpecialUsers']['canrunqueries'] = '';
// ****** UNDELETABLE / UNALTERABLE USERS ******
$config['SpecialUsers']['undeletableusers'] = '';
// ****** SUPER ADMINISTRATORS ******
$config['SpecialUsers']['superadministrators'] = '1';
// ****** MySQLI OPTIONS *****
// $config['Mysqli']['charset'] = 'utf8';
$config['Mysqli']['ini_file'] = '';
grazie per l'attenzione