ManosKa Posted February 6 Share Posted February 6 Hello i am trying to install Prestashop 8.1.3, in Xampp, local server, but when the installation, get to the point of installing the theme, the installation stops, beacuse of the error that i am posting you on the screenshot. Can anyone help me please to fix this error and complete thw installation on the Prestashop 8.1.3? Thans very much in advance! Link to comment Share on other sites More sharing options...
ManosKa Posted February 12 Author Share Posted February 12 Please for someone to help me! Link to comment Share on other sites More sharing options...
AymericF Posted February 12 Share Posted February 12 Hello, I have the same issue, on WAMP and XAMPP. Environement Windows. Allowing full access on folder www and htdocs didn't help ! From log I have: 127.0.0.1 - - [12/Feb/2024:16:25:18 +0100] "GET /install/index.php?installTheme=true&_=1707751280168 HTTP/1.1" 500 29 php_error.log Link to comment Share on other sites More sharing options...
JBW Posted February 13 Share Posted February 13 I think it's still access issues while creating cache Quote [12-Feb-2024 16:25:59 Europe/Paris] PHP Notice: stream_copy_to_stream(): Read of 8192 bytes failed with errno=13 Permission denied in C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php on line 66 [12-Feb-2024 16:25:59 Europe/Paris] PHP Stack trace: [12-Feb-2024 16:25:59 Europe/Paris] PHP 1. PrestaShop\PrestaShop\Adapter\Cache\Clearer\SymfonyCacheClearer->PrestaShop\PrestaShop\Adapter\Cache\Clearer\{closure:C:\wamp64\www\src\Adapter\Cache\Clearer\SymfonyCacheClearer.php:63-108}() C:\wamp64\www\src\Adapter\Cache\Clearer\SymfonyCacheClearer.php:0 [12-Feb-2024 16:25:59 Europe/Paris] PHP 2. Symfony\Bundle\FrameworkBundle\Console\Application->doRun($input = class Symfony\Component\Console\Input\ArrayInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = ['no-warmup' => TRUE, 'env' => 'prod']; protected $arguments = ['command' => 'cache:clear']; protected $interactive = TRUE; private $parameters = ['command' => 'cache:clear', '--no-warmup' => TRUE, '--env' => 'prod'] }, $output = class Symfony\Component\Console\Output\NullOutput { }) C:\wamp64\www\src\Adapter\Cache\Clearer\SymfonyCacheClearer.php:86 [12-Feb-2024 16:25:59 Europe/Paris] PHP 3. Symfony\Component\Console\Application->doRun($input = class Symfony\Component\Console\Input\ArrayInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = ['no-warmup' => TRUE, 'env' => 'prod']; protected $arguments = ['command' => 'cache:clear']; protected $interactive = TRUE; private $parameters = ['command' => 'cache:clear', '--no-warmup' => TRUE, '--env' => 'prod'] }, $output = class Symfony\Component\Console\Output\NullOutput { }) C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:83 [12-Feb-2024 16:25:59 Europe/Paris] PHP 4. Symfony\Bundle\FrameworkBundle\Console\Application->doRunCommand($command = class Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand { private ${Symfony\Component\Console\Command\Command}application = class Symfony\Bundle\FrameworkBundle\Console\Application { private ${Symfony\Component\Console\Application}commands = [...]; private ${Symfony\Component\Console\Application}wantHelps = FALSE; private ${Symfony\Component\Console\Application}runningCommand = ...; private ${Symfony\Component\Console\Application}name = 'Symfony'; private ${Symfony\Component\Console\Application}version = '4.4.50'; private ${Symfony\Component\Console\Application}commandLoader = class Symfony\Component\Console\CommandLoader\ContainerCommandLoader { ... }; private ${Symfony\Component\Console\Application}catchExceptions = TRUE; private ${Symfony\Component\Console\Application}autoExit = FALSE; private ${Symfony\Component\Console\Application}definition = class Symfony\Component\Console\Input\InputDefinition { ... }; private ${Symfony\Component\Console\Application}helperSet = class Symfony\Component\Console\Helper\HelperSet { ... }; private ${Symfony\Component\Console\Application}dispatcher = class Symfony\Component\EventDispatcher\EventDispatcher { ... }; private ${Symfony\Component\Console\Application}terminal = class Symfony\Component\Console\Terminal { ... }; private ${Symfony\Component\Console\Application}defaultCommand = 'list'; private ${Symfony\Component\Console\Application}singleCommand = FALSE; private ${Symfony\Component\Console\Application}initialized = TRUE; private $kernel = class AppKernel { ... }; private $commandsRegistered = TRUE; private $registrationErrors = [...] }; private ${Symfony\Component\Console\Command\Command}name = 'cache:clear'; private ${Symfony\Component\Console\Command\Command}processTitle = NULL; private ${Symfony\Component\Console\Command\Command}aliases = []; private ${Symfony\Component\Console\Command\Command}definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; private ${Symfony\Component\Console\Command\Command}hidden = FALSE; private ${Symfony\Component\Console\Command\Command}help = 'The <info>%command.name%</info> command clears and warms up the application cache for a given environment\nand debug mode:\n\n <info>php %command.full_name% --env=dev</info>\n <info>php %command.full_name% --env=prod --no-debug</info>'; private ${Symfony\Component\Console\Command\Command}description = 'Clear the cache'; private ${Symfony\Component\Console\Command\Command}ignoreValidationErrors = FALSE; private ${Symfony\Component\Console\Command\Command}applicationDefinitionMerged = TRUE; private ${Symfony\Component\Console\Command\Command}applicationDefinitionMergedWithArgs = TRUE; private ${Symfony\Component\Console\Command\Command}code = NULL; private ${Symfony\Component\Console\Command\Command}synopsis = ['short' => 'cache:clear [options] [--] <command>', 'long' => 'cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--id_shop [ID_SHOP]] [--id_shop_group [ID_SHOP_GROUP]] [--] <command>']; private ${Symfony\Component\Console\Command\Command}usages = []; private ${Symfony\Component\Console\Command\Command}helperSet = class Symfony\Component\Console\Helper\HelperSet { private $helpers = [...]; private $command = NULL }; private $cacheClearer = class Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer { private $clearers = class Symfony\Component\DependencyInjection\Argument\RewindableGenerator { ... } }; private $filesystem = class Symfony\Component\Filesystem\Filesystem { } }, $input = class Symfony\Component\Console\Input\ArrayInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = ['no-warmup' => TRUE, 'env' => 'prod']; protected $arguments = ['command' => 'cache:clear']; protected $interactive = TRUE; private $parameters = ['command' => 'cache:clear', '--no-warmup' => TRUE, '--env' => 'prod'] }, $output = class Symfony\Component\Console\Output\NullOutput { }) C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:275 [12-Feb-2024 16:25:59 Europe/Paris] PHP 5. Symfony\Component\Console\Application->doRunCommand($command = class Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand { private ${Symfony\Component\Console\Command\Command}application = class Symfony\Bundle\FrameworkBundle\Console\Application { private ${Symfony\Component\Console\Application}commands = [...]; private ${Symfony\Component\Console\Application}wantHelps = FALSE; private ${Symfony\Component\Console\Application}runningCommand = ...; private ${Symfony\Component\Console\Application}name = 'Symfony'; private ${Symfony\Component\Console\Application}version = '4.4.50'; private ${Symfony\Component\Console\Application}commandLoader = class Symfony\Component\Console\CommandLoader\ContainerCommandLoader { ... }; private ${Symfony\Component\Console\Application}catchExceptions = TRUE; private ${Symfony\Component\Console\Application}autoExit = FALSE; private ${Symfony\Component\Console\Application}definition = class Symfony\Component\Console\Input\InputDefinition { ... }; private ${Symfony\Component\Console\Application}helperSet = class Symfony\Component\Console\Helper\HelperSet { ... }; private ${Symfony\Component\Console\Application}dispatcher = class Symfony\Component\EventDispatcher\EventDispatcher { ... }; private ${Symfony\Component\Console\Application}terminal = class Symfony\Component\Console\Terminal { ... }; private ${Symfony\Component\Console\Application}defaultCommand = 'list'; private ${Symfony\Component\Console\Application}singleCommand = FALSE; private ${Symfony\Component\Console\Application}initialized = TRUE; private $kernel = class AppKernel { ... }; private $commandsRegistered = TRUE; private $registrationErrors = [...] }; private ${Symfony\Component\Console\Command\Command}name = 'cache:clear'; private ${Symfony\Component\Console\Command\Command}processTitle = NULL; private ${Symfony\Component\Console\Command\Command}aliases = []; private ${Symfony\Component\Console\Command\Command}definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; private ${Symfony\Component\Console\Command\Command}hidden = FALSE; private ${Symfony\Component\Console\Command\Command}help = 'The <info>%command.name%</info> command clears and warms up the application cache for a given environment\nand debug mode:\n\n <info>php %command.full_name% --env=dev</info>\n <info>php %command.full_name% --env=prod --no-debug</info>'; private ${Symfony\Component\Console\Command\Command}description = 'Clear the cache'; private ${Symfony\Component\Console\Command\Command}ignoreValidationErrors = FALSE; private ${Symfony\Component\Console\Command\Command}applicationDefinitionMerged = TRUE; private ${Symfony\Component\Console\Command\Command}applicationDefinitionMergedWithArgs = TRUE; private ${Symfony\Component\Console\Command\Command}code = NULL; private ${Symfony\Component\Console\Command\Command}synopsis = ['short' => 'cache:clear [options] [--] <command>', 'long' => 'cache:clear [--no-warmup] [--no-optional-warmers] [-h|--help] [-q|--quiet] [-v|vv|vvv|--verbose] [-V|--version] [--ansi] [--no-ansi] [-n|--no-interaction] [-e|--env ENV] [--no-debug] [--id_shop [ID_SHOP]] [--id_shop_group [ID_SHOP_GROUP]] [--] <command>']; private ${Symfony\Component\Console\Command\Command}usages = []; private ${Symfony\Component\Console\Command\Command}helperSet = class Symfony\Component\Console\Helper\HelperSet { private $helpers = [...]; private $command = NULL }; private $cacheClearer = class Symfony\Component\HttpKernel\CacheClearer\ChainCacheClearer { private $clearers = class Symfony\Component\DependencyInjection\Argument\RewindableGenerator { ... } }; private $filesystem = class Symfony\Component\Filesystem\Filesystem { } }, $input = class Symfony\Component\Console\Input\ArrayInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = ['no-warmup' => TRUE, 'env' => 'prod']; protected $arguments = ['command' => 'cache:clear']; protected $interactive = TRUE; private $parameters = ['command' => 'cache:clear', '--no-warmup' => TRUE, '--env' => 'prod'] }, $output = class Symfony\Component\Console\Output\NullOutput { }) C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Console\Application.php:97 [12-Feb-2024 16:25:59 Europe/Paris] PHP 6. Symfony\Component\Console\Command\Command->run($input = class Symfony\Component\Console\Input\ArrayInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = ['no-warmup' => TRUE, 'env' => 'prod']; protected $arguments = ['command' => 'cache:clear']; protected $interactive = TRUE; private $parameters = ['command' => 'cache:clear', '--no-warmup' => TRUE, '--env' => 'prod'] }, $output = class Symfony\Component\Console\Output\NullOutput { }) C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Component\Console\Application.php:1039 [12-Feb-2024 16:25:59 Europe/Paris] PHP 7. Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand->execute($input = class Symfony\Component\Console\Input\ArrayInput { protected $definition = class Symfony\Component\Console\Input\InputDefinition { private $arguments = [...]; private $requiredCount = 1; private $hasAnArrayArgument = FALSE; private $hasOptional = FALSE; private $options = [...]; private $shortcuts = [...] }; protected $stream = NULL; protected $options = ['no-warmup' => TRUE, 'env' => 'prod']; protected $arguments = ['command' => 'cache:clear']; protected $interactive = TRUE; private $parameters = ['command' => 'cache:clear', '--no-warmup' => TRUE, '--env' => 'prod'] }, $output = class Symfony\Component\Console\Output\NullOutput { }) C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Component\Console\Command\Command.php:255 [12-Feb-2024 16:25:59 Europe/Paris] PHP 8. Symfony\Component\Filesystem\Filesystem->rename($origin = 'C:\\wamp64\\www\\var\\cache\\prod', $target = 'C:\\wamp64\\www\\var\\cache\\pro~', $overwrite = *uninitialized*) C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Bundle\FrameworkBundle\Command\CacheClearCommand.php:154 [12-Feb-2024 16:25:59 Europe/Paris] PHP 9. Symfony\Component\Filesystem\Filesystem->mirror($originDir = 'C:\\wamp64\\www\\var\\cache\\prod', $targetDir = 'C:\\wamp64\\www\\var\\cache\\pro~', $iterator = NULL, $options = ['override' => FALSE, 'delete' => FALSE]) C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php:285 [12-Feb-2024 16:25:59 Europe/Paris] PHP 10. Symfony\Component\Filesystem\Filesystem->copy($originFile = class SplFileInfo { private $pathName = 'C:\\wamp64\\www\\var\\cache\\prod\\appAppKernelProdContainer.php.cache_clear.lock'; private $fileName = 'appAppKernelProdContainer.php.cache_clear.lock' }, $targetFile = 'C:\\wamp64\\www\\var\\cache\\pro~\\appAppKernelProdContainer.php.cache_clear.lock', $overwriteNewerFiles = FALSE) C:\wamp64\www\vendor\symfony\symfony\src\Symfony\Component\Filesystem\Filesystem.php:584 [12-Feb-2024 16:25:59 Europe/Paris] PHP 11. Link to comment Share on other sites More sharing options...
AymericF Posted February 15 Share Posted February 15 Hi, this problem only occures for the new version of prestashop (1).8.1.3. I have downgraded to last 1.7.8.11 prestashop and to the Php 7.4. @Note: Php 7.4 is not working neither with prestashop (1).8.1.3. Hence, there may be a correlation with access right and the prestashop itself, yet i don't know. Please consider this issue. Link to comment Share on other sites More sharing options...
ManosKa Posted February 15 Author Share Posted February 15 Ok can someone from the support helps with this problem? Link to comment Share on other sites More sharing options...
AymericF Posted February 15 Share Posted February 15 Environnement: Wamp 3.3.2 or Xamp 8.2.12 both try, same result. Local server. Windows 11. Php 8+ and Prestashop 1.8.3 --> NOT WORKING Php 7.4.33 and Prestashop 1.7.8.11 --> OK WORKING 1 Link to comment Share on other sites More sharing options...
bedford Posted February 19 Share Posted February 19 (edited) Same issue here. Tried 1.8.3 and 1.8.4 on WAMP 3.2.8 with apache 2.4.46 and php versions 8.1.6, 7.4.27, 7.3.21 On my laptop I've same issue. Always error 500 on theme installation. Couldn't find any answer online so far Edited February 19 by bedford (see edit history) Link to comment Share on other sites More sharing options...
bedford Posted February 20 Share Posted February 20 @ManosKa I found on another thread you can install last version of 1.7 then upgrade to 1.8. I did and it worked. Hope it helps you and other who find this thread. Link to comment Share on other sites More sharing options...
Light Saber Posted February 21 Share Posted February 21 (edited) On 2/15/2024 at 6:38 PM, AymericF said: Environnement: Wamp 3.3.2 or Xamp 8.2.12 both try, same result. Local server. Windows 11. Php 8+ and Prestashop 1.8.3 --> NOT WORKING Php 7.4.33 and Prestashop 1.7.8.11 --> OK WORKING @AymericF Tried installing prestashop ver 8.1 for like 2 days but there was some kind of error always. After seeing your post I too have tried installing prestashop 1.7.8.11 with php ver 7.4.33 and it WORKED!! Thank you.. Edited February 21 by Light Saber (see edit history) Link to comment Share on other sites More sharing options...
Emil Andreev Posted March 15 Share Posted March 15 On 2/21/2024 at 1:17 PM, Light Saber said: @AymericF Tried installing prestashop ver 8.1 for like 2 days but there was some kind of error always. After seeing your post I too have tried installing prestashop 1.7.8.11 with php ver 7.4.33 and it WORKED!! Thank you.. On 2/15/2024 at 3:08 PM, AymericF said: Environnement: Wamp 3.3.2 or Xamp 8.2.12 both try, same result. Local server. Windows 11. Php 8+ and Prestashop 1.8.3 --> NOT WORKING Php 7.4.33 and Prestashop 1.7.8.11 --> OK WORKING I find a perfect combination for Windows: PHP 8.1.25 -> Prestashop 1.8.1.0 (8.1.0) -> OKKKKK WORK Link to comment Share on other sites More sharing options...
Stephenray Posted May 30 Share Posted May 30 I had similar issue and almost gave up trying to install v8.1 and always failed on installing the modules with a 500 error. I finally got it working by changing the PHP version to 7.4 with the htaccess file. Link to comment Share on other sites More sharing options...
AymericF Posted August 21 Share Posted August 21 (edited) This is a real problem. I have tried many version to run it in local with windows. Edited August 21 by AymericF (see edit history) Link to comment Share on other sites More sharing options...
imjulien.dev Posted August 21 Share Posted August 21 This issue is related to your WAMP installation. You can refer to this post, which discusses the problem: https://github.com/PrestaShop/PrestaShop/issues/35044 The common solution is to edit the function in the app/AppKernel.php file during the installation process and restore it after. protected function getContainerClearCacheLockPath(): string { $class = $this->getContainerClass(); $cacheDir = sys_get_temp_dir();//$this->getCacheDir(); return sprintf('%s/%s.php.cache_clear.lock', $cacheDir, $class); } 1 Link to comment Share on other sites More sharing options...
Divine Posted August 21 Share Posted August 21 Or you can try Laragon instead of WAMP Link to comment Share on other sites More sharing options...
lucy12345 Posted August 30 Share Posted August 30 To resolve the theme installation error in PrestaShop 8.1.3 on XAMPP, increase the PHP memory limit in the php.ini file, ensure required PHP extensions like zip, gd, and openssl are enabled, and check that the themes directory has the correct write permissions. After making these changes, restart XAMPP and try the installation again. Link to comment Share on other sites More sharing options...
AymericF Posted September 3 Share Posted September 3 thanks for answers, I'll let you know when I try to fix. Thanks 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