vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=251)
-   -   Can't install vbulletin 4, config.php is blank (https://vborg.vbsupport.ru/showthread.php?t=302803)

ideguru 09-29-2013 11:02 PM

Can't install vbulletin 4, config.php is blank
 
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:

Code:

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

Code:

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

Code:

$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

Quote:

Originally Posted by ideguru (Post 2448863)
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!)


All times are GMT. The time now is 07:14 PM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.00994 seconds
  • Memory Usage 1,725KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete