I have tried it with the latest version (1.9.4) and it gives me the same results. Do you have mbstring installed?

I know the problem is with Zend_Http_Client_Adapter_Socket. And it may be coupled with multibyte encoding. When I force HTTP/1.0, the invalid chunk message goes away (as it's no longer chunking) but then, I get an XML error because the string is corrupt.

Paddy, would you mind sending me the php modules installed on your system?

Thanks.

Arthur



Pádraic Brady wrote:
I just tested both Zend_Feed and also Zend_Feed_Reader but was unable to replicate the Exception. Can you try with the most recent ZF version in case this was a transitory bug in 1.9.0 resolved since?

Thanks,
Paddy
Pádraic Brady

http://blog.astrumfutura.com
http://www.survivethedeepend.com
OpenID Europe Foundation Irish Representative <http://www.openideurope.eu/>


------------------------------------------------------------------------
*From:* Arthur Kang <[email protected]>
*To:* [email protected]
*Sent:* Fri, October 16, 2009 12:16:12 AM
*Subject:* [fw-general] Zend_Feed::import($url) Invalid Chunk Size Error

Using ver 1.9.0

Code:
try {
    $test = Zend_Feed::import('http://feeds.feedburner.com/techcrunch');
} catch (Exception $e) {
    echo "Error: {$e->getMessage()}\n";
}

Produces:
Error: Invalid chunk size "" unable to read chunked body

Can anyone confirm this? Any workarounds? Anyway to manually specify that HTTP/1.0 should be used instead of 1.1?

Any help is appreciated.

Arthur

Reply via email to