Recent Topics

1 Jul 19, 2004 00:09    

I usually test out my RSS feeds from b2evo in SharpReader. After installing PHP5 on my box, it appears that the RSS is broken for readers/aggregators, but not if you just view the xml file in a browser.

SERVER CONFIG:
Server 2003
PHP5 ISAPI
ZLIB
IIS6 (gzip enabled)
b2evo 0.9.10

SharpReader gives this as error:

Error reading URL: System.FormatException: broken uncompressed block at ICSharpCode.SharpZipLib.Zip.Compression.Inflater.Decode() at ICSharpCode.SharpZipLib.Zip.Compression.Inflater.Inflate(Byte[] buf, Int32 off, Int32 len) at ICSharpCode.SharpZipLib.Zip.Compression.Streams.InflaterInputStream.Read(Byte[] b, Int32 off, Int32 len)

So I test to turn off zlib and the RSS works again perfectly, but my page loads are a tad slower.

Any ideas on what to do?

installed at http://www.brotherson.com/b2

edit: so now I've got Apache2 running and it works fine, but IIS6 is still borked on the RSS feeds to an aggregator.

Here's apache link

http://www.brotherson.com:8080/b2
/edit

2 Jul 19, 2004 21:23

oops - forgot to forward 8080 for you peeps outside my trusted zone! :o it's accessible now.

3 Jul 20, 2004 02:02

Hmm...

The feeds at 8080 [url=http://feedvalidator.org/check.cgi?url=http%3A%2F%2Fwww.brotherson.com%3A8080%2Fb2%2Fxmlsrv%2Frss2.php%3Fblog%3D2]are working fine[/url], but the feeds on port 80 [url=http://feedvalidator.org/check.cgi?url=http://www.brotherson.com/b2/xmlsrv/rss2.php?blog=2]seem to have a problem[/url].

The error I'm getting from the validator is:

Error -3 while decompressing: invalid stored block lengths (Server response declares Content-Encoding: gzip; misconfigured server?)

Guess that explains why it works when gzip is turned off. Maybe something is misconfigured there?

[url=http://www.google.com/search?hl=en&lr=&ie=UTF-8&q=%22Assigned+Sablot+XSLT+gives+error+3+when+xml+file+too+big%22&btnG=Search]Or maybe this is related?[/url]

4 Jul 20, 2004 02:38

I messed around with running IIS and Apache as default into the wee AM today and then decided to go back to IIS for default 80 serving.

IIS is on 80 now and apache at 8080. The RSS feeds bork on IIS6/PHP5/ZLIB

IIS6 is defaulted to gzip documents. However - if I turn OFF ZLIB in php, then it works just fine.

Is ZLIB a noticeable compressor for files? Should I keep it enabled or forget about it?

5 Jul 20, 2004 17:22

Well, it doesn't seem to be working properly with IIS. Personally, I'd just say forget it.

6 Jul 26, 2004 14:26

After a while of testing various stuff and noticing I was getting a PHP access violation only on pages cached by search engines, I submitted a post on a similar bug on http://bugs.php.net . After a few days, the development snapshot of php5 fixed the issue. I was told to grab that at http://snaps.php.net and sure enough, the access violation is fixed as well as this issue. YAY!


Form is loading...