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

Found a bug? Tell us!!
Post Reply
FFL
Posts: 3
Joined: Wed Jun 01, 2005 8:37 pm
Contact:

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

Post 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 :-)
Image
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

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

Post 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
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
FFL
Posts: 3
Joined: Wed Jun 01, 2005 8:37 pm
Contact:

Post by FFL »

Oops, I didn't know there is 0.8.1 already. This patch was against 0.8.

:-)
Image
Post Reply