- Plesk for Linux
- Plesk for Windows
Unable to install Prestashop versions 18.104.22.168, 22.214.171.124 with the Spanish language. The following error is shown:
PLESK_ERROR: Error: The following error has occurred during the installation of application: Installation of Prestashop at http://example.com/shopname failed. Non-zero exit status returned by the script.
PLESK_ERROR: Error: The following error has occurred during the installation of application: Installation of Prestashop at http://example.com/prestashop_3 failed. Non-zero exit status returned by script. Output stream: 'Symfony\Component\Debug\Exception\ContextErrorException Object ( [context:Symfony\Component\Debug\Exception\ContextErrorException:private] => Array ( [this] => PrestaShopBundle\Translation\Loader\SqlTranslationLoader Object ( [theme:protected] => ) ) [message:protected] => Catchable Fatal Error: Argument 1 passed to PrestaShopBundle\Translation\Loader\SqlTranslationLoader::setTheme() must be an instance of PrestaShop\PrestaShop\Core\Addon\Theme\Theme, null given, called in C:\Inetpub\vhosts\example.com\httpdocs\prestashop_3\classes\Context.php on line 376 and defined at (SiteApplicationManager::fsaExecuteScript line 448)
at execute console command --run-application-script(vconsoleapp::start line 100) at execute "C:\Program Files (x86)\Parallels\Plesk\admin\bin\sappmng.exe" --run-application-script "--script-filename=configure" "--fsa-xml-file=C:/Program Files (x86)/Parallels/Plesk/PrivateTemp/fsa881E.tmp" "--script-name=install" "--user-name=example.com" "--application-full-name=file:///C:\Program Files (x86)\Parallels\Plesk\var\apspackages\apsF681.tmp.zip59e29d17-be10-0393-d2\cache"(vconsoleapp::run line 117) (Error code 1)'.
It is a bug with ID APSI-1063 that is planned to be fixed in future updates of the Prestashop application package.
Until a fix is available, it is possible to use the following workaround:
Download the application package with Prestashop 126.96.36.199-11 to the machine from which the Plesk interface is accessed (and not to the Plesk server itself):
If your machine runs on macOS or Linux:
Access the terminal and execute the command:
# wget https://apscatalog.com/storage/Prestashop/Prestashop/188.8.131.52-11/Plesk/undefined/undefined/undefined/Prestashop-184.108.40.206-11.app.zip
If your machine runs on Windows:
Download the 32-bit wget.exe from the page https://eternallybored.org/misc/wget/.
Open the Command Prompt, change the directory to the one where wget.exe is downloaded and execute the command:
C:\> wget.exe https://apscatalog.com/storage/Prestashop/Prestashop/220.127.116.11-11/Plesk/undefined/undefined/undefined/Prestashop-18.104.22.168-11.app.zip
Note: This is the only way to download the mentioned package. It is not possible to download the package using this link in the web browser.
Log into Plesk and upload zip archive to Tools & Settings > Application Vault > My Apps > Add App.
Install Prestashop on a domain in Domains > example.com > Install Apps > Prestashop > > Install Version > 22.214.171.124-11:
Update Prestashop installation at Domains > example.com > Prestashop > Update Now if needed.