Prestashoperpconnect configure howto

Asked by Michael Curtis

Hi all I have installed the connector but am getting nowhere in configuring it. Setting my 'URL' and 'Home Directory' to what I believe is correct, I get the error "Could not connect to server Check url & password. 'This call to PrestaShop Web Services failed and returned an HTTP status of 404. That means: Not Found.'" Almost instantly. Although I can connect from the OpenERP server to the Prestashop server using Lynx. FYI the URL I have used among many is "IP address/cart sub dir/admin dir/" and for "Home Directory" "../" but any combination so far gets me the above error. Without a guide I do not know if it is me or if there is a bug in the connector
Openerp 6.1
Prestashop 1.5
prestashoperpconnect_with_tax_syncronization
e-commerce-addons
openobject-extension

Any help will be most welcome

Question information

Language:
English Edit question
Status:
Solved
For:
Prestashop OpenERP Connector Edit question
Assignee:
No assignee Edit question
Solved by:
Michael Curtis
Solved:
Last query:
Last reply:
Revision history for this message
Michael Curtis (michael-curtis) said :
#1

2012-05-18 09:13:20,839 12170 INFO ? werkzeug: 192.168.0.50 - - [18/May/2012 09:13:20] "POST /web/dataset/get HTTP/1.1" 200 -
2012-05-18 09:13:21,041 12170 INFO ? werkzeug: 192.168.0.50 - - [18/May/2012 09:13:21] "POST /web/dataset/get HTTP/1.1" 200 -
2012-05-18 09:13:21,181 12170 INFO ? werkzeug: 192.168.0.50 - - [18/May/2012 09:13:21] "POST /web/dataset/search_read HTTP/1.1" 200 -
2012-05-18 09:13:23,641 12170 ERROR ? openerp.netsvc: Connection Error
Could not connect to server
Check url & password.
 'This call to PrestaShop Web Services failed and returned an HTTP status of 404. That means: Not Found.'
2012-05-18 09:13:23,656 12170 INFO ? werkzeug: 192.168.0.50 - - [18/May/2012 09:13:23] "POST /web/dataset/call_button HTTP/1.1" 200 -

Revision history for this message
David (dhecar) said :
#2

I'm getting the same:

2012-05-22 14:17:55,160 20876 ERROR ? openerp.netsvc: Connection Error
Could not connect to server
Check url & password.
 'This call to PrestaShop Web Services failed and returned an HTTP status of 404. That means: Not Found.'

Webservices activated in prestashop.

Where I can configure the user openerp needs?

Revision history for this message
Michael Curtis (michael-curtis) said :
#3

Hi all

I have to say that the response to this question from the more knowledgeable member of this group has been very disappointing and I note that there is a question that is still unanswered or even acknowledged now for five weeks

I have struggled with this connector more than any other application that I have installed on Linux and I have to say that there is so little supporting information that I doubt that anyone has got this to work at all ?? But I will be only too pleased to hear otherwise

In response to my own question, I have struggled on and found that there is a bug report (Prestashop Core Application V1.5 PSCFV-1510) that is similar to the one I have reported here and I have satisfied myself that PS1.5 is at present incompatible with this connector

However PS1.4.9 webservices do work if accessed via a browser and so I feel this question can be marked as solved although the prestashoperpconnect still reports an 'Unauthorized' access error that I will report as a bug in this project
I do realise that those in this team do have other things to deal with but with people like me who want to support these projects and who have very little understanding of the inner workings of the various components would appreciate a little more help

Revision history for this message
jerome (j1n-jerome-xqt) said :
#4

Perhaps, generate a new .htaccess file in Prestashop :
Preferences -> SEO and Urls (at the bottom of the page...)

Revision history for this message
Denis Didenko (denis-didenko) said :
#5

jerome (j1n-jerome-xqt),
Thank You so much!
Finally it worked...