PDA

View Full Version : Can't install vbulletin 4, config.php is blank


ideguru
09-29-2013, 11:02 PM
I want to install vbulletin 4, but why is there no configuration settings in the config.php file previously named config.php.new.
where can I get the configuration file?

tbworld
09-29-2013, 11:08 PM
1.) Were you upgrading?
2.) What text editor are you using to edit config,php?
3.) If it is indeed blank, you can copy "config.php.new" to "config.php" and fill back in the config settings.

A little more history would help us understand. :)

ozzy47
09-29-2013, 11:13 PM
Rename the file to config.php

Click on the Edit link to open the file for editing and the text editor will be loaded.

Editing of the 'config.php' file is the most important part of the vBulletin's installation.

First, you have to enter the name of the MySQL database that you have created:
The line should be looking as follows:

$config['Database']['dbname'] = 'forum';Then, you have to enter the database username that you have created:

$config['MasterServer']['username'] = 'root';The last value that is important to be edited is the password:

$config['MasterServer']['password'] = '';Please, be careful not to delete the leading and the trailing ' signs as they are very important too.

Save the file named config.php by clicking on the Save button at the end of the editor's form.

Please, note that it is not recommended to edit this file with a Windows text editor, such as Notepad or Wordpad since these editors are saving the files with .php extensions with the "^M" sign in the end of every row and sometimes this is causing problems when they are transferred on a Linux server.

ideguru
09-29-2013, 11:20 PM
i'm using cpanel editor
file config.php is blank nothing configuration

ozzy47
09-29-2013, 11:26 PM
You have to rename the file called, config.php.new to config.php

ForceHSS
09-30-2013, 12:25 AM
Use notepad ++ to edit the config

Digital Jedi
09-30-2013, 03:39 AM
I want to install vbulletin 4, but why is there no configuration settings in the config.php file previously named config.php.new.
where can I get the configuration file?
I think your question might have been misread. Extract config.php.new from the ZIP file again. If it's still blank, re-download your ZIP file from the members area and extract again.

Also, consider what some above have recommended above and use an editor like notepad (already on your computer), or notepad++ (free download). More advanced editors tend to cause little problems just from opening the file in them and saving. (Or big ones, like blanking the page!)