Hi, I just moved my smf forum database and now on my smf forum it tells me
An Error Has Occurred!
2: Cannot modify header information - headers already sent by (output started at /home/youbasta/public_html/forum/Settings.php:70)
File: /home/youbasta/public_html/forum/Sources/Subs.php
Line: 1736
And my settings.php code is
<?php
session_start();
/******************************************************************************
* Settings.php *
*******************************************************************************
* SMF: Simple Machines Forum *
* Open-Source Project Inspired by Zef Hemel (zef@zefhemel.com) *
* =========================================================================== *
* Software Version: SMF 1.0 *
* Software by: Simple Machines (http://www.simplemachines.org) *
* Copyright 2001-2005 by: Lewis Media (http://www.lewismedia.com) *
* Support, News, Updates at: http://www.simplemachines.org *
*******************************************************************************
* This program is free software; you may redistribute it and/or modify it *
* under the terms of the provided license as published by Lewis Media. *
* *
* This program is distributed in the hope that it is and will be useful, *
* but WITHOUT ANY WARRANTIES; without even any implied warranty of *
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. *
* *
* See the "license.txt" file for details of the Simple Machines license. *
* The latest version can always be found at http://www.simplemachines.org. *
******************************************************************************/
########## Maintenance ##########
# Note: If $maintenance is set to 2, the forum will be unusable! Change it to 0 to fix it.
$maintenance = "0"; # Set to 1 to enable Maintenance Mode, 2 to make the forum untouchable. (you'll have to make it 0 again manually!)
$mtitle = 'Maintenance Mode'; # Title for the Maintenance Mode message.
$mmessage = 'Ok faithful users...we\'re attempting to restore an older backup of the database...news will be posted once we\'re back!'; # Description of why the forum is in maintenance mode.
########## Forum Info ##########
$mbname = 'You Bastards Forum'; # The name of your forum.
$language = 'english'; # The default language file set for the forum.
$boardurl = 'http://you-bastards.net/forum'; # URL to your forum's folder. (without the trailing /!)
$webmaster_email = 'webmaster@you-bastards.com'; # Email address to send emails from. (like noreply@yourdomain.com.)
$cookiename = 'SMFCookie10'; # Name of the cookie to set for authentication.
########## Database Info ##########
$db_server = 'localhost';
$db_name = 'youbasta_mamb2';
$db_user = 'youbasta_mamb2';
$db_passwd = 'not telling password';
$db_prefix = 'smf_';
$db_persist = 0;
$db_error_send = 1;
########## Directories/Files ##########
# Note: These directories do not have to be changed unless you move things.
$boarddir = '/home/youbasta/public_html/forum'; # The absolute path to the forum's folder. (not just '.'!)
$sourcedir = '/home/youbasta/public_html/forum/Sources'; # Path to the Sources directory.
########## Error-Catching ##########
# Note: You shouldn't touch these settings.
$db_last_error = 0;
# Make sure the paths are correct... at least try to fix them.
if (!file_exists($boarddir) && file_exists(dirname(__FILE__) . '/agreement.txt'))
$boarddir = dirname(__FILE__);
if (!file_exists($sourcedir) && file_exists($boarddir . '/Sources'))
$sourcedir = $boarddir . '/Sources';
?>
The subs code is too long and it wont let me show it here cause of the character amount.. If you need that just tell me how u want me to show it to u