burakpresta3 Posted January 27, 2020 Share Posted January 27, 2020 (edited) Hi ALL, i have fixed lots of different problems by using this forum, thank you for all. Now, i have search whole web, find some topics but no solution. My version is Prestashop 1.6.0.11, PHP version 5.6.36, Enable CGI mode for PHP enabled/disabled doesnt matter but the files are similar with lastest version.. The problem is domain.com/api is not working with just submiting api key. it is just working by using domain/api?ws_key=YOUR_KEY or another version [email protected] ect ect.. But i must use a web application which needs domain name and api key, so other solutions are not suitable for me. it is working at localhost by using just api, (same version and database and files) it means it is realted with hosting but i couldnt find any error, made config files error log True, i try to do just view(get) . I asked them, but what is the question ? so no clear answer. what can i do ? any idea ? any way ? htaccess is RewriteEngine on RewriteRule . - [E=REWRITEBASE:/] RewriteRule ^api/?(.*)$ %{ENV:REWRITEBASE}webservice/dispatcher.php?url=$1 [QSA,L] i read this , same.. https://www.prestashop.com/forums/topic/430312-presta-api-keep-asking-for-username-password-authentication-required/ Edited January 28, 2020 by burakpresta3 (see edit history) Link to comment Share on other sites More sharing options...
jmelich Posted February 3, 2020 Share Posted February 3, 2020 First idea i have in mind is to debug apache or nginx and see what happens when you try to access /api Watch out acces and error logs Link to comment Share on other sites More sharing options...
burakpresta3 Posted February 3, 2020 Author Share Posted February 3, 2020 should i ask hosting service provider ? 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