Page 1 of 1

[SOLVED] ob_start(): ob_gzhandler and URL-Rewriter...

Posted: Wed Jun 01, 2005 8:41 pm
by FFL
If the beginning of a RSS feed looks that way:

Code: Select all

<br /> 
<b>Warning</b>: ob_start(): output handler 'ob_gzhandler' cannot be used after 'URL-Rewriter' in <b>/var/www/html/include/functions.inc.php</b> on line <b>28</b><br /> 
<?xml version="1.0" encoding="utf-8" ?> 
<rss version="2.0" 
xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" 
xmlns:admin="http://webns.net/mvcb
...just patch /include/functions.php:

Code: Select all

diff functions.inc.php.org functions.inc.php

28c28
<         ob_start("ob_gzhandler");
---
>         ob_start("@ob_gzhandler");
That will fix it.
Hope you implement it in the next version :-)

Re: [SOLVED] ob_start(): ob_gzhandler and URL-Rewriter...

Posted: Thu Jun 02, 2005 5:58 pm
by garvinhicking
Is that patch made against version 0.8? Because we've made a fix for that in 0.8.1 already, which should also bypass this behaviour?

Regards,
Garvin

Posted: Thu Jun 02, 2005 7:03 pm
by FFL
Oops, I didn't know there is 0.8.1 already. This patch was against 0.8.

:-)