PS 8.2 - Installation HTTP 500 - error - {"success":true,"message":""}

PHOTO EMBED

Tue Feb 18 2025 17:23:24 GMT+0000 (Coordinated Universal Time)

Saved by @caovillanueva #php

HTTP 500 - error - {"success":true,"message":""}


Unzip the PrestaShop installation package and find the /prestashop folder.
Open /app/AppKernel.php file in a text editor.
Locate the getContainerClearCacheLockPath function.
Replace the existing code with the following:


protected function getContainerClearCacheLockPath(): string
{
    $class = $this->getContainerClass();
    $cacheDir = sys_get_temp_dir(); //$this->getCacheDir();

    return sprintf('%s/%s.php.cache_clear.lock', $cacheDir, $class);
}

Important: Revert After Installation


content_copyCOPY