[Mediawiki-l] RSS feed problem

Rowan Collins rowan.collins at gmail.com
Wed Feb 2 17:48:41 UTC 2005


On Wed, 02 Feb 2005 11:23:54 -0500, Brendan <ares at brainboard3.com> wrote:
> I get this problem when I try to look at my wiki's RSS feed:
[...]
> And I have no idea what it means/how to fix it.  Anyone want to give me
> some hints while I'm trying to figure it out?

Well, the error (generated by your browser/RSS reader) is saying that
for some reason, the RSS page is being generated with content outside
the <rss>...</rss> block - which should theoretically contain
everything, like <html>...</html> would in HTML.

Looking at the end of the source, I see the following:
</rss><br />
<b>Warning</b>:  (null)() [<a
href='http://www.php.net/ref.outcontrol'>ref.outcontrol</a>]: output
handler 'ob_gzhandler' cannot be used twice in <b>Unknown</b> on line
<b>0</b><br />

Which says to me that PHP is spewing an error, possibly right at the
end of the RSS generation - specifically, complaining that it's been
told to use GZIP twice. This is where I become less helpful, as I'm
not familiar with the relevant areas of the code, but grepping the
source for "gz" turned up (among other things) this comment in
DefaultSettings.php:

# When using the file cache, we can store the cached HTML gzipped to save disk
# space. Pages will then also be served compressed to clients that support it.
# THIS IS NOT COMPATIBLE with ob_gzhandler which is now enabled if supported in
# the default LocalSettings.php! If you enable this, remove that setting first.
#
# Requires zlib support enabled in PHP.
$wgUseGzip = false;

I've no idea whether this is a complete red herring or not, but I
thought I'd mention it in lieu of any better idea of why the error
could be occurring.

-- 
Rowan Collins BSc
[IMSoP]



More information about the MediaWiki-l mailing list