Geeklog Portal Block Bug Fix

by justin carlson on 05/09/2008
If you're running the latest stable Geeklog and find your RSS feeds are not working for Portal Blocks, you may need to make a one-line fix until the next release. If you see a message that states "There was a problem reading this feed (see error.log for details)" and your log looks like this:


<timestamp>  - Unable to aquire feed reader for <url>
<timestamp>  - HTTP Fetch Failed  _decodeGzip(): data CRC check failed


Then you can change one line in system/pear/HTTP/Request.php to fix it.



Find line ~ 1390 which should resemble:

    } elseif ($dataCrc != crc32($unpacked)) {

and change it to:

    } elseif ((0xffffffff & $dataCrc) != (0xffffffff & crc32($unpacked))) {

More info about this bug:

    http://pear.php.net/bugs/bug.php?id=10790

Trackback

Trackback URL for this entry: http://www.tehuber.com/trackback.php?id=20080509142903550

No trackback comments for this entry.
Geeklog Portal Block Bug Fix | 0 comments | Create New Account
The following comments are owned by whomever posted them. This site is not responsible for what they say.