Try the Demo

Magento

eCommerce Software for Online Growth

Magento Forum

Our new hosted solution for small & emerging businesses
   
calling parameters do not match signature error
 
FIANET_EUROPE
Sr. Member
 
Avatar
Total Posts:  143
Joined:  2008-06-27
 

This is a know issue in Magento, I investigate it and it seems to be a issue caused by php variable type verification on some server it doesn’t work as expected.

I found a workaround but you need to modify a core file and deactivate signature verification.

To do that open the file lib/Zend/XmlRpc/Server.php
Find the following lines (approx on line 567) :

if (!$matched)
{
            
#require_once 'Zend/XmlRpc/Server/Exception.php';
            
throw new Zend_XmlRpc_Server_Exception('Calling parameters do not match signature'623);
}
and comment the verification :
/*
if (!$matched)
{
            #require_once 'Zend/XmlRpc/Server/Exception.php';
            throw new Zend_XmlRpc_Server_Exception('Calling parameters do not match signature', 623);
}
*/

 
Magento Community Magento Community
Magento Community
Magento Community
 
tiagofm
Member
 
Total Posts:  39
Joined:  2009-02-05
 

Thank you Fabrice,
It works for me!!!

I’m not a programer, so I don’t even know if my question is valid, but does that fix could jeopardize any security aspect?

Thanks again for the fix and quick reply.

 
Magento Community Magento Community
Magento Community
Magento Community
 
FIANET_EUROPE
Sr. Member
 
Avatar
Total Posts:  143
Joined:  2008-06-27
 

This verification is separated from the security layer who is called before that (check login and API key, and user permission) this method is here to prevent useless PHP error occured by third party software who don’t call method with good parameters.

 
Magento Community Magento Community
Magento Community
Magento Community
 
tiagofm
Member
 
Total Posts:  39
Joined:  2009-02-05
 

Good to know. Once again, great extension.

 
Magento Community Magento Community
Magento Community
Magento Community
 
tiagofm
Member
 
Total Posts:  39
Joined:  2009-02-05
 

sorry posted in the wrong place.

 
Magento Community Magento Community
Magento Community
Magento Community
 
retif
Sr. Member
 
Total Posts:  171
Joined:  2008-08-16
Odessa, Ukraine
 

stumbled upon the same issue, thanks for the solution...i`m wandering how we can fix it in proper way, may be do some bug request into ZF

 
Magento Community Magento Community
Magento Community
Magento Community
 
burak özDEMİR
Jr. Member
 
Total Posts:  26
Joined:  2008-08-08
 

Fabrice, I call you as a hero. Thanks…

 
Magento Community Magento Community
Magento Community
Magento Community
 
Romain_C
Member
 
Avatar
Total Posts:  74
Joined:  2008-07-25
Hossegor, France
 

Thank you fabrice for this nice workaround.

I’ve experienced this issue on a local development environment, and recently some Cross Meter users have reported me same kinds of error message from the application that uses Magento xmlrpc’s API.

@retif : It seems to be a know ZF issues, there are already 2 tickets about this topic.
http://framework.zend.com/issues/browse/ZF-2872
http://framework.zend.com/issues/browse/ZF-3259

Anyway it sounds strange how it happens only on some specific server side configuration, and it’s a real issue for people making application based on top of the magento api wink

I’ll try to investigate a bit more and let you updated.

 Signature 

Romain Carrere
Founder at Hitomi Studio, a development studio specialized exclusively in Magento ecommerce websites (Community Partner)
http://www.hitomistudio.com

 
Magento Community Magento Community
Magento Community
Magento Community
 
SpeedBird
Sr. Member
 
Total Posts:  85
Joined:  2009-12-03
 

I had the same problem.

It occurred under IIS running PHP as ISAPI. However, it did not occur running PHP as FastCGI on the same server.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
© Copyright 2012 Magento Inc.
Privacy Policy|Terms of Service
Magento Community Count
701238 users|990 users currently online|497318 forum posts