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
.png.022b5452a8f28f552bc9430097a16da2.png)