+ Reply to Thread
Results 1 to 6 of 6

Thread: Vbulliten Config.php

  1. #1
    ghazi is offline x10Hosting Member ghazi is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    5

    Vbulliten Config.php

    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';

  2. #2
    TheMan177 is offline x10 Sophmore TheMan177 is an unknown quantity at this point
    Join Date
    Jan 2008
    Posts
    179

    Re: Vbulliten Config.php

    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.

  3. #3
    galaxyAbstractor's Avatar
    galaxyAbstractor is offline Community Advocate galaxyAbstractor is on a distinguished road
    Join Date
    Oct 2007
    Location
    Land of Null and Insanity
    Posts
    5,495

    Re: Vbulliten Config.php

    // ****** 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';

  4. #4
    leafypiggy's Avatar
    leafypiggy is offline Community Advocate leafypiggy is on a distinguished road
    Join Date
    Aug 2007
    Location
    Massachusetts
    Posts
    2,228

    Re: Vbulliten Config.php

    what he said. lol. i wish vb would make an auto installer. maybe ill make one and send it to them....
    Neil Hanlon | x10Hosting Support Representative
    Neil[at]x10hosting.com
    █ I'm always happy to help. Just ask a question in Free Hosting
    Terms of Service IRC

  5. #5
    ghazi is offline x10Hosting Member ghazi is an unknown quantity at this point
    Join Date
    Sep 2008
    Posts
    5

    Re: Vbulliten Config.php

    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

  6. #6
    DeadBattery's Avatar
    DeadBattery is offline Community Support Team DeadBattery is a name known to allDeadBattery is a name known to all
    Join Date
    Mar 2008
    Location
    localhost
    Posts
    4,019

    Re: Vbulliten Config.php

    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.


+ Reply to Thread

Similar Threads

  1. php include path config.php
    By IOMISMO in forum Programming Help
    Replies: 3
    Last Post: 11-09-2008, 01:19 AM
  2. Replies: 4
    Last Post: 12-07-2006, 06:58 PM
  3. PHP-Nuke - Fun with config.php
    By SadistBlue in forum Tutorials
    Replies: 0
    Last Post: 09-15-2005, 04:01 PM
  4. VBulliten Lookalike
    By RollerC in forum Graphics & Webdesign
    Replies: 7
    Last Post: 07-18-2005, 09:28 PM
  5. vBulliten Installation problems..
    By moose in forum Free Hosting
    Replies: 24
    Last Post: 05-31-2005, 04:09 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
x10hosting free hosting for the masses
dedicated servers