Chebs Posted November 1, 2014 Share Posted November 1, 2014 (edited) Hi I have a fresh installation of Prestashop 1.6.0.9 and get an error on the webservice page. "Please activate the 'mod_auth_basic' Apache module to allow authentication of PrestaShop's webservice." My sysadmin says mod_auth and AuthBasic are enabled on the system. Lightspeed is being used which to be honest I don't know much about but thought it was a layer on top of Apache because in my cPanel it lists my server as Apache version 2.4.10. Has anybody got l Webservice work on Lightspeed? or know how I might fix this editing the webservice classes? Really hope I won't have to move host. Many Thanks Chebs Edited November 2, 2014 by Chebs (see edit history) Link to comment Share on other sites More sharing options...
agenceweb74 Posted November 3, 2014 Share Posted November 3, 2014 I would first check who is right: "Please activate the 'mod_auth_basic' Apache module to allow authentication of PrestaShop's webservice." My sysadmin says mod_auth and AuthBasic are enabled on the system. Can you check the apache2handler section of phpinfo on your server ? Link to comment Share on other sites More sharing options...
Chebs Posted November 3, 2014 Author Share Posted November 3, 2014 Thanks for your reply. Sysadmin was right. Auth basic was installed and working but Prestashop uses php's 'apache_get_modules()' function to check for auth basic and as it doesn't support Lightspeed Prestashop was showing a false error. I had a sneaky secondary error which was stopping my API calls. A password protect setup in .htaccess , from Cpanel was breaking the API authorisation. When I commented out 'AuthName' all is well. (but no more psssword protected folder, I'll have to work out how to fix that later) Cheers! 1 Link to comment Share on other sites More sharing options...
agenceweb74 Posted November 3, 2014 Share Posted November 3, 2014 glad to hear that, and thanks for sharing the solution Cheers 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