View Full Version : Upgrade problem
Ron G
Fri 7th Jul '06, 8:27pm
I believe that I have followed the upgrade instructions to the letter, but obviously I am doing something wrong. I continue to receive the following error message: Warning: Cannot modify header information - headers already sent by (output started at /home/jgotcher/public_html/forums/includes/config.php:2) in /home/jgotcher/public_html/forums/includes/functions.php on line 2394when I try to execute the upgrade script.
Any suggestions?
Steve Machol
Fri 7th Jul '06, 11:14pm
This would appear to be from a typo on or before line 2 in your confiog.php file.
Ron G
Sat 8th Jul '06, 12:22am
Thanks for the tip. I double checked the config.php file and the values are exactly the same as the ones in my old file. My ISP is running MySQL version 4.0.27-standard and PHP version 4.3.10.
<meta http-equiv="content-type" content="text/html;charset=utf-8">
<?php
/*================================================= =====================*\
|| ################################################## ################## ||
|| # vBulletin 3.5.4 - Licence Number xxxxxxxxx
|| # ---------------------------------------------------------------- # ||
|| # All PHP code in this file is ?2000-2006 Jelsoft Enterprises Ltd. # ||
|| # 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. |
\*-------------------------------------------------------*/
// ****** DATABASE TYPE ******
// This is the type of the database server on which your vBulletin database will be located.
// Valid options are mysql and mysqli. 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.
$config['Database']['dbname'] = 'xxxxxxxx_vbull';
// ****** 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'] = 'admin@gotcherlaw.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'] = 'localhost';
$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'] = 'xxxxxxxx_vbull';
$config['MasterServer']['password'] = 'xxxxxx';
// ****** 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;
Steve Machol
Sat 8th Jul '06, 12:24am
Remove the first line:
<meta http-equiv="content-type" content="text/html;charset=utf-8">
Ron G
Sat 8th Jul '06, 7:48pm
I realize now that I made a HUGE blunder by using GoLive to upload the files. It added that header to each file. For whatever reason, my ISP's server kept refusing to allow me to upload using FTP - giving me a virus found error every time. I scanned the vBulletin files repeatedly with Zone Alarm and they kept coming back clean. Finally, after the mess was made, and after numerous complaints by me, my ISP changed the settings and I was able to upload via FTP.
The problem that I am having now is that I purchased a commercially available skin and uploaded it. Everything is fine except that it has inserted several blank table columns so that my first few forums appear offset to the left. You can see what I mean by going to http://immigration-information.com/forums/index.php and scroll down the page.
I've tried to troubleshoot this but I can't find any way to fix it. Does anyone have any suggestions?
Thanks in advance
Marco van Herwaarden
Sat 8th Jul '06, 9:41pm
Contact the vendor of that style. They should be able to fix it for you.
vBulletin® v3.8.0 Beta 4, Copyright ©2000-2008, Jelsoft Enterprises Ltd.