Jump to content

Webservice werkt niet meer?


Recommended Posts

Goede middag mensen,

Sinds 30-08-2019 werkt ineens de webservice niet meer (Prestashop 1.7.6.0. ik krijg de melding dat Auth_basic niet aan staat.
ik heb de apache configuratie bekeken en ik zie dat deze gewoon netjes werkt.

Ik heb een test gedaan op een andere server, dit maal met prestashop 1.7.6.1 echter hier het zelfde probleem.

Weet iemand wat hier ineens aan de hand is? mijn koppeling met een label service is nu niet meer werkend.

Link to comment
Share on other sites

20 minutes ago, Adeko.nl said:

Goedemiddag,

Als prestashop dat aangeeft betekend dat helaas toch dat het ergens niet ingeschakeld is. Heb je misschien wat meer informatie over je hostingomgeving? Bijvoorbeeld welk serverbeheer-programma (Directadmin, Plesk, oid?)?

Zeker!

 

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:

Go to webservice

see error; mod_auth_basic needs to be activated.

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

Link to comment
Share on other sites

Top, Bij onze nieuw geïnstalleerde Plesk VPS hebben we dit probleem inderdaad ook. Waar het precies in zit weet ik niet, wel dat het in een 'oudere' plesk (eerder in Onyx) niet voorkomt.

Wat voor mij een simpele fix (als je zeker weet dat je mod_rewrite aan hebt) is:

<?php

class Tools extends ToolsCore
{
    public static function modRewriteActive()
    {
        return true;
    }
}

dit stukje code te plaatsen in een nieuw bestand genaamd /httpdocs/override/classes/Tools.php

Dit haalt de check eruit en zorgt ervoor dat je friendly url's weer kunt aanvinken.

  • Thanks 1
Link to comment
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...