FabianaCitarella Posted March 15, 2015 Share Posted March 15, 2015 Hi, I turned on my shop the webservice to synchronize products and categories with an external software developed together with a colleague, I followed the guide to enable the webservice but if I try to access from a browser, it asks me to login continuously. the operations that i've done in backoffice are: 1) service enabled web prestahop 2) created a new key and attributed resources Trying use google chrome as described here: http://doc.prestashop.com/display/PS16/Chapter+2+-+Discovery+-+Testing+your+access+to+the+web+service+with+the+browser i receive always the login. I also tried with "Enable CGI mode for PHP" but nothing changes. On the server where the domain is hosted, php is an apache module. the version of prestashop that i've installed is 1.6.0.9 Version of the server software Apache / 2.2.15 PHP version 5.2.13 I also made a new installation of ps but I get the same result. thanks in advance to those who will pay attention. Fabiana here my configuration on a test server www.bitfarma.it/public/ws.JPG Link to comment Share on other sites More sharing options...
diaboliqis Posted March 15, 2015 Share Posted March 15, 2015 (edited) Hi, I have almost your configuration and for me works webservice for Prestashop The version of prestashop that i'am using is 1.6.0.9 Apache Version is: 2.2.29 PHP version 5.3 My advices: 1.try a simple tip:B83FFI63_restofyourkey@entirepathtoprestashop/api 2.try to get information about your host,if they using SSH for authentification, or something like that,or some permissions? 3.try your script on localhost with a xampp or wamp host server 4.move .htacces for a test in this case, to verify if a rule is dening you to get the call to webservice 5.enable error reporting: config/defines.inc.php set PS_MODE_DEV to true,and try to view if is throwing an error here 6.delete your picture from post or blur your key,or change your key after you resolve the problem Maybe your host have some answers for you, in this case. I hope that is a new point of view for looking about your problem. Edited March 16, 2015 by diaboliqis (see edit history) Link to comment Share on other sites More sharing options...
FabianaCitarella Posted March 23, 2015 Author Share Posted March 23, 2015 thank you diaboliqis, on localhost work fine. the problem is on webserver and i haven't idea of settings to change. Link to comment Share on other sites More sharing options...
diaboliqis Posted March 23, 2015 Share Posted March 23, 2015 Check this module on your host:"mod_auth_basic" I found this thread on PS forums,maybe it's a solution to your problem! https://www.prestashop.com/forums/topic/320413-please-activate-the-mod-auth-basic-apache-module-to-allow-authentication-of-prestashops-webservic/ Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now