2010-10-04, 07:49:46
Hi there.
I suddenly had a idea.. maybe the problem is that the output buffer is getting full and then PHP is flushing it (flush not forced by code) and that is why it is suddenly a problem ?
you can also add this code to the loader.php for testing purposes
This sill create a header dump when ever a error occurs and headers was already sent back.
I almost feel certain it is the output buffer that is getting full and being flushed by the system. that is why the ob_start and ob_flush will work.
hope it helps
I suddenly had a idea.. maybe the problem is that the output buffer is getting full and then PHP is flushing it (flush not forced by code) and that is why it is suddenly a problem ?
you can also add this code to the loader.php for testing purposes
Code:
function headercheck($errno, $errstr, $errfile, $errline) {
if (!(error_reporting() & $errno)) {
return;
}
if (headers_sent()) {
error_log('ERR : '.$errstr);
error_log("HEADERS LIST : ".print_r(headers_list(),true));
}
//allow normal error reporting
return false;
}
$tmp_old_hndler = set_error_handler("headercheck");
This sill create a header dump when ever a error occurs and headers was already sent back.
I almost feel certain it is the output buffer that is getting full and being flushed by the system. that is why the ob_start and ob_flush will work.
hope it helps
Stopped developing on GS Plugins. Anybody welcome to take the projects over. Thanks for all the support all.