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
Preview:
downloadDownload PNG
downloadDownload JPEG
downloadDownload SVG
Tip: You can change the style, width & colours of the snippet with the inspect tool before clicking Download!
Click to optimize width for Twitter