Vbulliten Config.php

ghazi

New Member
Messages
5
Reaction score
0
Points
0
i need some help with config my file, please advise
thanks


// ****** 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'] = 'ghazi@hotmail.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'] = 'ghazi.x10hosthing.com';
$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'] = 'myusernametoaccesstheftp';
$config['MasterServer']['password'] = 'mypasswordtoaccesspassword';
// ****** 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;


// ****** PATH TO ADMIN & MODERATOR CONTROL PANELS ******
// This setting allows you to change the name of the folders that the admin and
// moderator control panels reside in. You may wish to do this for security purposes.
// Please note that if you change the name of the directory here, you will still need
// to manually change the name of the directory on the server.
$config['Misc']['admincpdir'] = 'admincp';
$config['Misc']['modcpdir'] = 'modcp';
// Prefix that all vBulletin cookies will have
// Keep this short and only use numbers and letters, i.e. 1-9 and a-Z
$config['Misc']['cookieprefix'] = 'bb';
// ******** FULL PATH TO FORUMS DIRECTORY ******
// On a few systems it may be necessary to input the full path to your forums directory
// for vBulletin to function normally. You can ignore this setting unless vBulletin
// tells you to fill this in. Do not include a trailing slash!
// Example Unix:
// $config['Misc']['forumpath'] = '/home/users/public_html/forums';
// Example Win32:
// $config['Misc']['forumpath'] = 'c:\program files\apache group\apache\htdocs\vb3';
$config['Misc']['forumpath'] = '';


// ****** USERS WITH ADMIN LOG VIEWING PERMISSIONS ******
// The users specified here will be allowed to view the admin log in the control panel.
// Users must be specified by *ID number* here. To obtain a user's ID number,
// view their profile via the control panel. If this is a new installation, leave
// the first user created will have a user ID of 1. Seperate each userid with a comma.
$config['SpecialUsers']['canviewadminlog'] = '1';
 

TheMan177

New Member
Messages
179
Reaction score
0
Points
0
The config file show be pretty self-explanatory, what do you need help with, specifically?

For the database settings, create a new database and assign it a user in cPanel. Add the details of your newly created database and user under the database area of that file, you should set the servername as localhost. Settings like persistent connections should be fine left at default.
 

galaxyAbstractor

Community Advocate
Community Support
Messages
5,508
Reaction score
35
Points
48
// ****** 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'] = 'myusernametoaccesstheftp';
$config['MasterServer']['password'] = 'mypasswordtoaccesspassword';

the "$config['MasterServer']['username'] = 'myusernametoaccesstheftp';" is wrong. It isn't the ftp username in that place, it's "cpanelusername_databaseusername"

Alos, $config['MasterServer']['servername'] = 'ghazi.x10hosthing.com';
should be

$config['MasterServer']['servername'] = 'localhost';

+ "$config['Database']['dbname'] = 'forum';" should be
$config['Database']['dbname'] = 'cpanelusername_forum';
 

leafypiggy

Manager of Pens and Office Supplies
Staff member
Messages
3,819
Reaction score
163
Points
63
what he said. lol. i wish vb would make an auto installer. maybe ill make one and send it to them....
 

ghazi

New Member
Messages
5
Reaction score
0
Points
0
Thanks for your replies guys, actually after reading a bit, i have figured it out, and i checked and everything is okay

database name i created in the cpanel and put that in,
same for username and password, and checkit it is all okay

but now i am getting an error while starting the vbulliten

Thanks again to explain me here guys, really appreciate it



Warning: ignore_user_abort() has been disabled for security reasons in /home/ghazi/public_html/forum/install/installcore.php on line 15
 

DeadBattery

Community Support Team
Community Support
Messages
4,018
Reaction score
120
Points
0
You need to upgrade your PHP version.
Login to
http://www.x10hosting.com/login
with your Forum username and password.
On the bottom left, select Intermediate PHP, type in your description and request an upgrade. Your request will be processed in about 2 days or less. :)
 
Top