|
[dokuwiki]
||
[Date Prev]
[12-2006 Date Index]
[Date Next]
||
[Thread Prev]
[12-2006 Thread Index]
[Thread Next]
[dokuwiki] annoying header warning in php log after upgrade to 20061106 from 20060309e due to flush handling
- From: Mike Frysinger <vapier@xxxxxxxxxx>
- To: dokuwiki@xxxxxxxxxxxxx
- Date: Thu, 7 Dec 2006 21:41:53 -0500
i upgraded to 20061106 from 20060309e and now every page visit results in two
warnings:
[07-Dec-2006 21:24:46] PHP Warning: Cannot modify header information -
headers already sent in Unknown on line 0
[07-Dec-2006 21:24:46] PHP Warning: Cannot modify header information -
headers already sent in Unknown on line 0
the reason for this is that the new gzip capabilities use ob_* functions (the
ob_start() call in inc/init.php for example), yet some places still call
flush() which triggers these warnings ...
perhaps the fix is to call ob_flush() everywhere and no longer call flush() ?
-mike
|