• Closed by: Anonymous Submitter
  • Closed on:
  • Reason: Not a bug

Ticket #22302 - Install error code 2 :-(

Hi

I’m unable to install the theme from the following zip file: themeforest-bSdlyAHe-alysum-premium-responsive-prestashop-16-theme.zip

Only log visible is:
Unexpected error. [PrestaShop\PrestaShop\Core\Domain\Theme\Exception\ThemeConstraintException code 2]

I’m running Prestashop 1.7.7.7 on:
- Apache/2.4.41 (Ubuntu)
- MySQL 8.0.26-0ubuntu0.20.04.2
- PHP 7.3.30-1+ubuntu20.04.1+deb.sury.org+1
- Memory limit: 256M

Tried installation from directory /themes (zip file uploaded through scp)

Please help !!

Thanks in advance

Comments

Alexandre Tutida 22 Sep 2021, 04:27

Found another error in the shop log:

EntityManager#remove() expects parameter 1 to be an entity object, NULL given.
Fred 22 Sep 2021, 10:30

Hi, Alexandre.
Have you unzipped the archive?
The archive name to install is alysum-v.7.1.0.zip

Alexandre Tutida 22 Sep 2021, 14:10

Hi
The only file available for me was this one: themeforest-bSdlyAHe-alysum-premium-responsive-prestashop-16-theme.zip

Where I need to unzip it ? Is this the right file ? Do you have a new one ?
My Prestashop version is 1.7.7.7 (this zipfile seems 1.6 ?!)

Regards

Fred 22 Sep 2021, 14:33

just unzip that file themeforest-bSdlyAHe-alysum-premium-responsive-prestashop-16-theme.zip

there you will find “theme” folder with another archive to install

Alexandre Tutida 22 Sep 2021, 14:55

Hi
Just to be clear, should I expand the zipfile inside this directory below?
root@ip-172-31-3-228:/var/www/loja/themes# ls -latr
total 660
-rw-r–r– 1 www-data www-data 1583 Sep 7 23:07 javascript.tpl
drwxr-xr-x 7 www-data www-data 4096 Sep 7 23:07 classic
-rw-r–r– 1 www-data www-data 494412 Sep 7 23:07 package-lock.json
-rw-r–r– 1 www-data www-data 1369 Sep 7 23:07 index.php
-rw-r–r– 1 www-data www-data 5064 Sep 7 23:07 debug.tpl
drwxr-xr-x 3 www-data www-data 4096 Sep 7 23:07 _libraries
-rw-r–r– 1 www-data www-data 141149 Sep 7 23:07 core.js
-rw-r–r– 1 www-data www-data 242 Sep 7 23:07 .htaccess
drwxr-xr-x 27 www-data www-data 4096 Sep 8 21:09 ..
drwxr-xr-x 4 www-data www-data 4096 Sep 22 02:04 .

Regards

Fred 22 Sep 2021, 15:15

Please check out our installation tutorial here https://alysum5.promokit.eu/promokit/documentation/#import-throught-browser

Alexandre Tutida 22 Sep 2021, 16:05

I did exactly what’s described there, with the same result:

Unexpected error [PrestaShop\PrestaShop\Core\Domain\Theme\Exception\ThemeConstraintException code 2]

Attachments:

error.png (158.2 KiB)
Fred 22 Sep 2021, 16:10

I assume you didn’t unzip downloaded archive. Please check out the video from the beginning