Hi all,
I tried to find the newsgroup/project team for the Http_Client real
quick but I coudn't find it so here goes to fw-general:
I get the following error when opening an RSS feed:
*Fatal error*: Uncaught exception 'Zend_Http_Client_Adapter_Exception'
with message 'Invalid chunk size "E9F" unable to read chunked body' in
C:\x\projects\zend_framework\library\Zend\Http\Client\Adapter\Socket.php:226
Stack trace: #0
C:\x\projects\zend_framework\library\Zend\Http\Client.php(762):
Zend_Http_Client_Adapter_Socket->read() #1
C:\x\projects\zend_framework\library\Zend\Feed\Abstract.php(79):
Zend_Http_Client->request('GET') #2
C:\x\projects\affiliate-it\app\controllers\TestController.php(16):
Zend_Feed_Abstract->__construct('http://rss.mark...') #3
C:\x\projects\zend_framework\library\Zend\Controller\Action.php(501):
TestController->IndexPhpAction() #4
C:\x\projects\zend_framework\library\Zend\Controller\Dispatcher\Standard.php(214):
Zend_Controller_Action->dispatch('indexPhpAction') #5
C:\x\projects\zend_framework\library\Zend\Controller\Front.php(754):
Zend_Controller_Dispatcher_Standard->dispatch(Object(Zend_Controller_Request_Http),
Object(Zend_Controller_Response_Http)) #6
C:\x\projects\affiliate-it\www\ind in
*C:\x\projects\zend_framework\library\Zend\Http\Client\Adapter\Socket.php*
on line *226*
When checking out the line I find the statement that breaks the code:
if (dechex($chunksize) != $hexchunksize) {
In echo-ing the two variables I get:
string(9) "e9f = E9F"
I patched real quick with:
if (strtoupper(dechex($chunksize)) != $hexchunksize) {
But I'm not sure why I'm getting the result, I have not had any problems
with any RSS feeds or HTTP requests before...
Regards,
Ramon