[dokuwiki] annoying header warning in php log after upgrade to 20061106 from 20060309e due to flush handling

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

Other related posts: