connector-magento
connector-magento copied to clipboard
[10.0] Invalid API Path - with Magento module correctly installed - V1.9.3.1
Hey,
don't know if this is the right place to ask, since it also could be related to the Magento API Extension: https://github.com/OCA/connector-magento-php-extension
but the error occurs in this module ;)...
This is the environment: Odoo: Ubuntu 16.04 Server LTS - Odoo V10.0 installed via Yenthes Install Script (thanks to him!) OCA/connector + connector_magento and all it's (not well documented) dependencies installed. Magento: CentOS 7 - php5.4 - nginx Magento V1.9.3.1 with the above mentioned php-extension installed SOAP/XMLRPC User is set up with all rights...
So far so good...
When I add the magento connection details and try to fetch metadata, I get the Invalid API Path error. With the option "use custom API path" I get this error: mismatched tag: line 158, column 24
NGINX access logs: ip - user [28/Mar/2018:10:50:36 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 179 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-" ip - user [28/Mar/2018:10:50:36 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 224 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-" ip - user [28/Mar/2018:10:50:36 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 179 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-" ip - user [28/Mar/2018:10:50:37 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 287 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-" ip - user [28/Mar/2018:10:50:37 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 150 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-" ip - user [28/Mar/2018:10:50:37 +0200] "POST /index.php/api/xmlrpc HTTP/1.1" 200 150 "-" "xmlrpclib.py/1.0.1 (by www.pythonware.com)" "-"
And that's it, then the error in Odoo occurs.
Any ideas?
there is no such ol_websites.info
method in the php extension, I'm unable to find one that implements it except this one that is rather old https://bazaar.launchpad.net/~magentoerpconnect-core-editors/magentoerpconnect/module-magento-trunk/view/head:/Openlabs_OpenERPConnector-1.1.0/Openlabs/OpenERPConnector/Model/Olcore/Website.php
I've converted to git and added modman file, please test it, I cannot test it right now, the metadata sync completed without error.
https://github.com/netfarm/Openlabs_OpenERPConnector