>>
Site Map
>>
Forums
>>
PHP-Nuke Common Problems & Solutions
Forum module - topics in forum:
PHP-Nuke Common Problems & Solutions - <font color=red>Look Here First For Your Problems And Get Their Solutions.</font><br><br>See also <a href="http://phpnuke-uk.net/modules.php?name=PHP-Nuke_HOWTO&page=common-installation-problems.html"><b>this</b></a> section of the phpnuke howto.<br>
Cannot modify header information - headers already..........
----> The Problem / Error Message
This error will show up on any page that involves the phpBB forum, ie: Forums, Private Messages, Members List, Profiles etc... [XXXX - These vary on the different pages that this error shows up on]
| Code: : |
| Warning: Cannot modify header information - headers already sent by (output started at header.php:XX) in includes/XXXXXXX.php on line XXX |
----> The Reason
You are calling codes BEFORE the header code is sent or you are calling multiple header codes
----> The Solution
Open the mainfile.php and the top of the file find:
| Code: : |
$phpver = phpversion();
if ($phpver >= '4.0.4pl1' && strstr($HTTP_USER_AGENT,'compatible')) {
if (extension_loaded('zlib')) {
ob_end_clean();
ob_start('ob_gzhandler');
}
} else if ($phpver > '4.0') { |
Replace with:
| Code: : |
$phpver = phpversion();
if ($phpver >= '4.0.4pl1')
{
ob_start('ob_gzhandler');
}else if ($phpver > '4.0') { |
Open the .htaccess file in you nuke root directory (ie: where your congig.php file is located). If there is no .htaccess file there create one. Once you have opened / created the file add this line to it:
| Code: : |
| PHP_FLAG output_buffering on |
----> Still Having Problems
If you have tried all of the above solutions and are still having problems please post up your specific problem in the Installation Forum and we will be happy to help.
Please make sure you post as much detail as you can and include your PHP-Nuke Version, A link to the analyze.php file, any error messages and what fixes you tried
Added Poll