I am not one of the people that criticize what you guys do but version 5 is a hot mess. 2 config files? I have been doing forums for 12 + years. First I could not install the software, next I tried to upgrade my test forum thinking it would be easier, it upgraded it and now it is inaccessable. So, I tried again to do an install using the create config mod I downloaded. Still can't get this installed. There is some issue with the config files as for some reason they can't be read. Not sure what my options are now.
Trouble installing AND upgrading
Collapse
X
-
What are the specific errors you're running into? This is beta software and should not be run on production sites. -
After the upgrade on my vb4 test site I get this error message
Fatal error: Class 'vB' not found in /home/******/public_html/charismaticcentral/forumtest/includes/api/interface/collapsed.php on line 17
When trying to install a fresh install I get this error
Couldn't read config file config.php
- - - Updated - - -
I know not to update a live site, I have been doing this for quite awhileComment
-
The core path is incorrect in your /config.php.
See this thread for a script that will tell you the correct value:
Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
I am getting this error
Warning: Cannot modify header information - headers already sent by (output started at /home/eaforums/public_html/evangelizeamerica.org/forumtest/core/includes/config.php:1) in /home/******/public_html/evangelizeamerica.org/forumtest/core/install/includes/class_upgrade_ajax.php on line 663
Warning: Cannot modify header information - headers already sent by (output started at /home/eaforums/public_html/evangelizeamerica.org/forumtest/core/includes/config.php:1) in /home/******/public_html/evangelizeamerica.org/forumtest/core/install/includes/class_upgrade_ajax.php on line 739
Warning: Cannot modify header information - headers already sent by (output started at /home/eaforums/public_html/evangelizeamerica.org/forumtest/core/includes/config.php:1) in /home/******/public_html/evangelizeamerica.org/forumtest/core/install/includes/class_upgrade_ajax.php on line 740Comment
-
You have a UTF8 bom, or other character before the start of the config.php file, so before
<?phpComment
-
<?php
/*======================================================================*\
|| #################################################################### ||
|| # vBulletin Core Configuration # ||
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ©2000-2012 vBulletin Solutions Inc. # ||
|| # This file may not be redistributed in whole or significant part. # ||
|| # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # ||
|| # http://www.vbulletin.com | http://www.vbulletin.com/license.html # ||
|| #################################################################### ||
\*======================================================================*/
/*----------------------------------------------------------------------*\
| ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** |
+------------------------------------------------------------------------+
| If you get any errors while attempting to connect to MySQL, you will |
| need to email your webhost because we cannot tell you the correct |
| values for the variables in this file. |
| |
| When making changes to the file, the edit should always be to the |
| right of the = sign between the single quotes |
| Default: $config['admincpdir'] = 'admincp'; |
| Example: $config['admincpdir'] = 'myadmin'; GOOD! |
| Example: $config['myadmin'] = 'admincp'; BAD! |
\*----------------------------------------------------------------------*/
// ****** 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 to the end of the database class.
// Try to use mysqli if you are using PHP 5 and MySQL 4.1+
$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.
<?php /*======================================================================*\ || #################################################################### || || # vBulletin 5 Presentation Configuration # || || # ---------------------------------------------------------------- # || || # All PHP code in this file is 2000-2012 vBulletin Solutions Inc. # || || # This file may not be redistributed in whole or significant part. # || || # ---------------- VBULLETIN IS NOT FREE SOFTWARE ---------------- # || || # http://www.vbulletin.com | http://www.vbulletin.com/license.html # || || #################################################################### || \*======================================================================*/ /*-------------------------------------------------------*\ | ****** NOTE REGARDING THE VARIABLES IN THIS FILE ****** | +---------------------------------------------------------+ | When making changes to the file, the edit should always | | be to the right of the = sign between the single quotes | | Default: $config['admincpdir'] = 'admincp'; | | Example: $config['admincpdir'] = 'myadmin'; GOOD! | | Example: $config['myadmin'] = 'admincp'; BAD! | \*-------------------------------------------------------*/ // ****** Base URLs ****** // The following settings all deal with the url of your forum. // If set incorrectly your site/software will not function correctly. // These urls should NOT include a trailing slash // This is the url and web path of your root vBulletin directory $config['baseurl'] = '
There are no characters before <?phpComment
-
A BOM does appear on the screen. If you save these files as UTF-8, it places hidden characters in the file that will cause the errors you're seeing.
Looking at the file won't help unless you're using an Editor that shows hidden files like notepad++. Always make sure any file you edit is stored as ANSI or ASCII text.Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
What does the core_url line say in your /config.php file?Translations provided by Google.
Wayne Luke
The Rabid Badger - a vBulletin Cloud demonstration site.
vBulletin 5 APIComment
-
I don't see a line that is core_url but here are a couple
This is the url and web based path to your core directory
$config['baseurl_core'] = 'http://www.evangelizeamerica.org/forumtest/core';
// This setting is for where your vbulletin core folder is
$config['core_path'] = '/home/******/public_html/evangelizeamerica.org';
- - - Updated - - -
If something were wrong, it would not have installed though.Comment
-
-
- - - Updated - - -
Nope still have the same issueComment
Related Topics
Collapse
-
by JasonTSFWhen i was trying to install 5.0.0 I got this error after I uploaded it and tried to go to the install page.
Parse error: syntax error, unexpected '$config' (T_VARIABLE) in /home/jason/public_h...-
Channel: vBulletin 5 Installs & Upgrades
Mon 3 Aug '15, 6:20pm -
-
by ndoktoruserHello vBulletin team and forum members,
I have followed the steps of how to upgrade vBulletin 5 Connect, but when I try to access the page upgrade.php, I get a redirection error:
...-
Channel: vBulletin 5 Installs & Upgrades
Wed 26 Aug '15, 6:20am -
-
by Marz1I am trying to install this to www.mysite.com/forums I am lost with the config files
any help? doing v5-
Channel: vBulletin 5 Installs & Upgrades
Thu 13 Dec '12, 6:25pm -
-
by sexypbobbIm getting this error after install:
Class 'vB' not found in /home/pbobb87/public_html/community/includes/api/interface/collapsed.php on line 17-
Channel: vBulletin 5 Installs & Upgrades
Tue 18 Sep '12, 5:28pm -
-
by JohnPBeeFresh install, tried using the wizard as well as manual config.php, getting same error upon running install.php;
"You don't have permission to access this resource"
...-
Channel: Support Issues & Questions
Tue 10 Dec '19, 3:36am -
Comment