jackey 发表于 2003-4-3 02:53:33

phpnuke 6.5 fresh install erro

Warning: Cannot modify header information - headers already sent by (output started at /usr/server/apache/htdocs/header.php:32) in /usr/server/apache/htdocs/includes/sessions.php on line 222

Warning: Cannot modify header information - headers already sent by (output started at /usr/server/apache/htdocs/header.php:32) in /usr/server/apache/htdocs/includes/sessions.php on line 223

I try to change some setting in /usr/server/apache/conf/php.ini
But it just won't work!

I try to setoutput_buffering = 4096
But .... :-(
Any idea of how to fix?

sd444 发表于 2003-4-6 01:30:20

555555555,
老兄就一个毛病啊?羡慕ING

lkrivelyov - http://www.12thlevel.com/nuke

mainfile.php
find:

$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') {


change to:

$phpver = phpversion();
if ($phpver >= '4.0.4pl1')
{
    ob_start('ob_gzhandler');
}else if ($phpver > '4.0') {
页: [1]
查看完整版本: phpnuke 6.5 fresh install erro