New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Webservice stop working from 30-08-19 #15385
Comments
Hi @ninefingersodnd, I did not manage to reproduce the issue with PS1.7.6.1.
Then Navigate to Url like |
Hi, Below the PHP output: |
@ninefingersodnd, as you can see in your PHP info file the "mod_auth_basic" doesn't exist. |
I have image from my plesk apache settings, i see that Auth_basic is enabled, or is this not the mod? |
@ninefingersodnd, it should be a module Apache
Thanks! |
I realy don't know wha tis happening, it worked fine, it says enabled in the apache config, but it is not on the phpinfo. I realy dont know how i get it to work. |
@ninefingersodnd, Could you please try to create this test.php script on your server to check if the
Thanks! |
With the php code given, i'll get a error 500 |
@ninefingersodnd, have you tried to contact your host about this issue? |
It is a Unmanaged VPS
Just called the hosting company, It is a VPS, and it is a Apache module, not a PHP one, so this is not in phpinfo. It is enabled and should be working fine. print_r(apache_get_modules()); just gives me a blanc page Just tested on a fresh installation of prestashop 1.7.5.2 and there is no problem. it has begon with 1.7.6.0> - Going further, i have upgraded the clean install of 1.7.5.2 to 1.7.6.1 and the problem is there. |
@ninefingersodnd, Could you please provide me the access to your shop to test it. |
Hi @ninefingersodnd, As you said, in your case, Thanks! |
Hi, Plesk itself does not handle apache_mod PHP, as apache does not aloud multiple PHP configurations. well as i said, it is working on the 1.7.5 version of prestashop, as i can see in the configuration of apache the module is standard loaded /etc/httpd/conf.modules.d/00-base.conf. This file loads most of the modules included with the Apache HTTP LoadModule access_compat_module modules/mod_access_compat.so |
httpd -M SSH command gives the following auth_basic_module (shared) dit is de mod_auth_basic module and is loaded correctly Loaded Modules: |
Hi @ninefingersodnd, As reported in this comment #15270 (comment) Thanks! |
That is correct, the warning is a false warning of the prestashop system, and should be corrected in further versions of prestashop. |
@ninefingersodnd, could you please provide a screenshot about your server information (From your BO => Advanced Parameters => Information page) Thanks! |
@ninefingersodnd, I checked again your shop & yo are using an Nginx server? Thanks! |
Well i looks like it :) Maybe that is the problem. In checking its configuration |
@ninefingersodnd, thanks to provide me a screenshot about your server configuration from your BO => Advanced Parameters => Information page
Thanks! |
@ninefingersodnd, I checked your shop again & the response server is Nginx. Could you please check with your host & feedback. |
@ninefingersodnd, Could you please try to follow these steps:
Thanks! |
I do not know wat your mean, just go to webservice in presta and hit inspect. |
Hi, I've noticed this issue is in "To be tested" step since 3 days... can you please tell us how it's going? Can you tell us when an update will be released? Or at least can you tell us a fix for current Prestashop version? Thanks in advance! |
Good day again. |
@peorthyr, the fix is in progress, the issue will be fixed in the next patch 1.7.6.2. THanks! |
Hi khouloudbelguith, can you please give us an approximate estimate of the release date? |
@peorthyr, PS1.7.6.2, if all regressions are fixed Thanks! |
Sorry to bump again... any news? |
Since these are just warning in back office, I don't understand why you can't use webservices? 🤔 |
You know, you're right :-) I REALLY thank you for your comment, you've pointed me in the right direction :-) |
@IlPizza79 At least because of you, we improve our warnings messages 😅 |
I have more or less the same issue. I have installed PS 1.7.6.1 and the webservice does not work. I have PHP 7.1.32 and Apache/2.4.6 runing on nginx as reverse proxy like @ninefingersodnd. I checked the httpd logs and shows nothing relevant... i do not know what to do. I am working in a new project with presta 1.7 and i can't get it working. I tried fresh install of ps 1.7.6.0 and 1.7.6.1, same results... |
The backoffice doesn't display an error. It's a warning, this isn't the same thing. |
I know is a warning, but the webservice is not working. That's what i'm trying to say |
Try to add following code in your htaccess: Follow this tutorial, it may help you as it helped me :-) |
OK. thank you. Seems to work. Is something related to the htaccess file generated by prestashop. |
I guess it's not strictly related to the htaccess generated by prestashop, I think it's more an hosting isuue. I had the same website on two different hostings and one of them was working without any issue, the other one needs the new rule in htaccess. |
Yeah, maybe. But with presta 1.6 same server, I do not have that problem. |
any update? |
Yes, finally got it working. I activated "cgi mode" in the webservice options. And after several attempts, webservice began to work. Didn't need to change any configuration |
Describe the bug
Webservice does not work anymore from 30-08-2019, We do not have changed anything, we got the error on 2 differed servers.
The error: Please activate the 'mod_auth_basic' Apache module to allow authentication of PrestaShop's webservice.
Cant get it working anymore.
But the mod is activated and working. We use FPM served by apache.
We have plesk onyx installed.
To Reproduce
Steps to reproduce the behavior:
Additional information
PrestaShop version: 1.7.6.0 and 1.7.6.1
PHP version: 7.2.22 - FPM apache
Plesk: Onyx 17.8.11
The text was updated successfully, but these errors were encountered: