Ch3vr0n Posted Sunday at 03:17 PM Share Posted Sunday at 03:17 PM (edited) Net prestashop 9.0.1 geinstalleerd, php 8.4.14 is actief. Frontend werkt, backend geeft ONMIDDELIJK error 500. Na wat zoeken kwam ik terecht op https://prestashop.com/blog/tech-en/what-is-the-http-500-error-and-how-can-i-fix-it-in-my-prestashop-online-store/ het aanpassen van regel 36 define('_PS_MODE_DEV_', false); naar define('_PS_MODE_DEV_', true); zorgt ervoor dat de backend operationeel is. Wat loopt hier fout en hoe los ik het op? Die dev mode moet volgens mij niet aan staan, en al helemaal niet na een verse installatie. Als ik in de backend daarna via geavanceerde instellingen debug-modus deactiveer, veranderd die php file waarde terug naar "false" maar de shop staat nog steeds bovenaan in de zwarte balk in debug modus. Der klopt iets niet de fout logs 200 <user> <user> Fout (3) SymfonyCacheClearer: Error while clearing cache for admin env dev using PrestaShop\PrestaShop\Adapter\Cache\Clearer\Symfony\ApplicationKernelCacheClearer: Warning: is_dir(): open_basedir restriction in effect. File(Doctrine\ORM\Mapping\ClassMetadata) is not within the allowed path(s): (/var/www/vhosts/<domain.tld>/:/tmp/) 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:24:38 198 <user> <user> Fout (3) ExecKernelCacheClearer: Could not clear cache for admin env dev result: 127 output: array ( 0 => 'sh: php: command not found', ) 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:24:27 193 <user> <user> Fout (3) ExecKernelCacheClearer: Could not clear cache for admin env prod result: 127 output: array ( 0 => 'sh: php: command not found', ) 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:24:15 188 <user> <user> Fout (3) ExecKernelCacheClearer: Could not clear cache for admin env prod result: 127 output: array ( 0 => 'sh: php: command not found', ) 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:51 187 <user> <user> Fout (3) SymfonyCacheClearer: Something went wrong while clearing cache: Warning: require(/var/www/vhosts/<domain.tld>/httpdocs/var/cache/prod/admin/ContainerMUl5lfa/getFilesystemKernelCacheClearerService.php): Failed to open stream: No such file or directory 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:49 186 <user> <user> Fout (3) SymfonyCacheClearer: Error while clearing cache for admin env prod using PrestaShop\PrestaShop\Adapter\Cache\Clearer\Symfony\ApplicationKernelCacheClearer: Warning: require(/var/www/vhosts/<domain.tld>/httpdocs/var/cache/prod/admin/ContainerMUl5lfa/getHookModuleFilterService.php): Failed to open stream: No such file or directory 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:49 184 <user> <user> Fout (3) ExecKernelCacheClearer: Could not clear cache for admin env prod result: 127 output: array ( 0 => 'sh: php: command not found', ) 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:37 179 <user> <user> Fout (3) ExecKernelCacheClearer: Could not clear cache for admin env prod result: 127 output: array ( 0 => 'sh: php: command not found', ) 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:16 114 <user> <user> Fout (3) Cannot register tab "PsshippingKeycloakAuthController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 113 <user> <user> Fout (3) Cannot register tab "PsshippingConfigurationController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 112 <user> <user> Fout (3) Cannot register tab "PsshippingConfigurationController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 111 <user> <user> Fout (3) Cannot register tab "PsshippingConfigurationController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 110 <user> <user> Fout (3) Cannot register tab "PsshippingConfigurationController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 109 <user> <user> Fout (3) Cannot register tab "PsshippingConfigurationController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 108 <user> <user> Fout (3) Cannot register tab "PsshippingConfigurationController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 107 <user> <user> Fout (3) Cannot register tab "PsshippingConfigurationController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 106 <user> <user> Fout (3) Cannot register tab "PsshippingOrdersController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 105 <user> <user> Fout (3) Cannot register tab "PsshippingOrdersController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 104 <user> <user> Fout (3) Cannot register tab "PsshippingOrdersController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 103 <user> <user> Fout (3) Cannot register tab "PsshippingConfigurationController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 102 <user> <user> Fout (3) Cannot register tab "PsshippingCarrierController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 101 <user> <user> Fout (3) Cannot register tab "PsshippingCarrierController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 100 <user> <user> Fout (3) Cannot register tab "PsshippingCarrierController" because it already exists 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:03:10 64 <user> <user> Fout (3) SymfonyCacheClearer: Error while clearing cache for admin env prod using PrestaShop\PrestaShop\Adapter\Cache\Clearer\Symfony\ApplicationKernelCacheClearer: Failed opening required '/var/www/vhosts/<domain.tld>/httpdocs/var/cache/prod/admin/ContainerVXCidX4/getConsole_ErrorListenerService.php' (include_path='.:/opt/plesk/php/7.4/share/pear') 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:02:55 61 <user> <user> Fout (3) ExecKernelCacheClearer: Could not clear cache for admin env prod result: 127 output: array ( 0 => 'sh: php: command not found', ) 0 Winkel <shopname> (id : 1) Nederlands (Dutch) 0 23‑11‑2025 16:02:47 7 N/B Fout (3) SymfonyCacheClearer: Error while clearing cache for admin env prod using PrestaShop\PrestaShop\Adapter\Cache\Clearer\Symfony\ApplicationKernelCacheClearer: Failed opening required '/var/www/vhosts/<domain.tld>/httpdocs/var/cache/prod/admin/ContainerLUxxvVc/getConsole_ErrorListenerService.php' (include_path='.:/opt/plesk/php/7.4/share/pear') 0 --- Nederlands (Dutch) 0 23‑11‑2025 16:02:17 4 N/B Fout (3) ExecKernelCacheClearer: Could not clear cache for admin env prod result: 127 output: array ( 0 => 'sh: php: command not found', ) 0 --- Nederlands (Dutch) 0 23‑11‑2025 16:02:09 Edited Sunday at 03:37 PM by Ch3vr0n (see edit history) Link to comment Share on other sites More sharing options...
MARK-APP.com Posted Monday at 10:10 AM Share Posted Monday at 10:10 AM Beste @Ch3vr0n, Waarschijnlijk is er iets mis gegaan in de je Cache map met rechten en het genereren van bepaalde bestanden. Deze is te vinden in var/cache/prod (voor je productie omgeving) en var/cache/dev (voor je dev/debug modus). Wat je kan proberen is de gehele map var/cache/prod even te hernoemen naar var/cache/prod2 en dan de debug mode weer uit te zetten. Als het goed is genereert PrestaShop dan een geheel nieuwe map. Als dat dan het geheel oplost kan je de map var/cache/prod2 na afloop geheel verwijderen. Link to comment Share on other sites More sharing options...
Ch3vr0n Posted Monday at 04:29 PM Author Share Posted Monday at 04:29 PM Da's iets helemaal anders dan wat me hier verteld werd (Engelstalige forum deel). Link to comment Share on other sites More sharing options...
ecommerce16 Posted Monday at 05:07 PM Share Posted Monday at 05:07 PM naar mijn bescheiden mening sluit het ene het andere niet uit. Persoonlijk zou ik ook de lagere versie aanhouden, al was het alleen maar om het feit dat sommige modules nog niet helemaal klaar zijn voor 9. Ikzelf draai nog steeds op de laatste versie van 7 zonder enig probleem met de nodige modules voor de nederlandse markt. De drang die sommigen hebben(had ik ook in het verleden) om de allerlaatste versie te willen hebben heeft mij alleen maar problemen gegeven. Overigens sluit ik niet uit dat de oplossing die Mark app aandraagt een oplossing is voor het huidige probleem. Dat zou je moeten uitproberen aangezien een verse installatie zonder modificaties vanaf scratch gewoon zou moeten werken. Alleen werken ook de diverse modules die evt. nodig zijn op deze versie dat is dan weer de vraag. Link to comment Share on other sites More sharing options...
Ch3vr0n Posted Monday at 05:43 PM Author Share Posted Monday at 05:43 PM 8.2.3 Is het dan. zowel de installatie van 8.2.3 als 9.0.1 zijn vers, ti's net dat wat me verbaasde dat 9.0.1 gelijk problemen gaf op de backend. Ik laat em wel wachten tot 9.x wat meer volgroeid is 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