Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Error parsing body - doesn’t seem to be a chunked message
 
crystaldi02
Jr. Member
 
Total Posts:  21
Joined:  2008-05-27
Fontana
 

I get the following message.
Can someone tell me what that is all about?

Url “http://www.avkinkade.com/shop2/” is not accessible
Error parsing body - doesn’t seem to be a chunked message

I would be very much appreciated.

 
Magento Community Magento Community
Magento Community
Magento Community
 
Aldo
Member
 
Total Posts:  47
Joined:  2008-02-18
 

Getting the same error.
Thanks for any help!

 
Magento Community Magento Community
Magento Community
Magento Community
 
JoshBelke
Member
 
Total Posts:  64
Joined:  2008-02-12
NY, NY
 

Thread 9125:

traviswu - 31 May 2008 06:46 PM

Guys, I did exactly the two mods and all worked afterwards. no issues; to reiterate:

== 1. file: app/code/core/Mage/Install/Model/Installer/Config.php ==
rapleced:

$client = new Varien_Http_Client($url.$prefix);
with
$client = new Varien_Http_Client($url.’index.php/’.$prefix);

==2. lib/Zend/Http/Response.php ===
replace the block below :
while (trim($body)) {
            
if (! preg_match("/^([\da-fA-F]+)[^\r\n]*\r\n/sm"$body$m)) {
                
#require_once 'Zend/Http/Exception.php';
                
throw new Zend_Http_Exception("Error parsing body - doesn't seem to be a chunked message");
            
}
with this:
while (preg_match("/^([\da-fA-F]+)[^\r\n]*\r\n/sm"trim($body), $m)) {

Did the trick.
“Config.php” line 139 of 181 --76%-- col 8
//$client = new Varien_Http_Client($url.$prefix);
$client = new Varien_Http_Client($url.’index.php/’.$prefix);
-took care of the pathing issue

“Response.php” line 555 of 628 --88%-- col 8

// while (trim($body)) {
// if (! preg_match("/^([\da-fA-F]+)[^\r\n]*\r\n/sm", $body, $m)) {
// require_once ‘Zend/Http/Exception.php’;
// throw new Zend_Http_Exception("Error parsing body - doesn’t seem to be a chunked message");
// }

while (preg_match("/^([\da-fA-F]+)[^\r\n]*\r\n/sm", trim($body), $m)) {

 
Magento Community Magento Community
Magento Community
Magento Community
 
crystaldi02
Jr. Member
 
Total Posts:  21
Joined:  2008-05-27
Fontana
 

IT WORKED! 
Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MonoMachines
Member
 
Avatar
Total Posts:  33
Joined:  2008-05-17
New York
 

Anybody else had issues with this.  I implemented the 2 mods and still get the same error.  Strange.  I’ll keep trying.

 
Magento Community Magento Community
Magento Community
Magento Community
 
MonoMachines
Member
 
Avatar
Total Posts:  33
Joined:  2008-05-17
New York
 

I seem to be moving forward, but now getting a different error:
Parse error: syntax error, unexpected T_PUBLIC in /home/content/i/d/e/idelafue/html/isaacdelafuente/magento/magento/lib/Zend/Http/Response.php on line 568

I have no idea what to do here????  Any suggestions?

Thanks.

 
Magento Community Magento Community
Magento Community
Magento Community
 
freedomoss
Jr. Member
 
Avatar
Total Posts:  4
Joined:  2008-06-02
 

It worked wonderful. Thanks for the tip josh!

 
Magento Community Magento Community
Magento Community
Magento Community
 
bradfordw
Jr. Member
 
Total Posts:  14
Joined:  2008-06-10
 

Same problem here, I have applied both of the changes stated above and all I get now is:

o Url “http://www.<mydomain>.com/” is invalid
o This Url is invalid

I’m running on the latest build of magento, I’ve tried checking versions out from subversion but still have the same issue.  Any thoughts?

 
Magento Community Magento Community
Magento Community
Magento Community
 
cweiske
Jr. Member
 
Total Posts:  6
Joined:  2008-04-13
 

Same problem here with svn rev 21140

 
Magento Community Magento Community
Magento Community
Magento Community
 
cweiske
Jr. Member
 
Total Posts:  6
Joined:  2008-04-13
 
cweiske - 17 June 2008 12:57 AM

Same problem here with svn rev 21140

Happens only if url rewriting does not work (you seem to need it for the check, even if you disabled it in the config).

 
Magento Community Magento Community
Magento Community
Magento Community
 
jonesmatty
Jr. Member
 
Avatar
Total Posts:  2
Joined:  2012-06-12
 

If all that doesn’t work as it did not for me.  I finally added this line:

--skip_url_validation “yes” \

it would come after:

--url “http://www.genericdomain.com/store” \

I finally received a SUCCESS.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top