Jump to content
Alexander

Child theme: file not valid.

Recommended Posts

Hi,

i whant to create a child theme from the basic prestashop theme.

When i download the child theme and upload it again i got an error.

Error: file not valid.

I followed the official guide but still no luck.

Knipsel.PNG

Share this post


Link to post
Share on other sites

Hello,

I've got the same issue, I tried several kind of zip files,  different names, different files in, ... Always the same message, and no explanation.

Does someone know which kind of file or structure is requested ?

Share this post


Link to post
Share on other sites

hello

yes have same ....

my step..

 

i download child theme

i upload same child theme

ERROR

i dont have any blocking addon turned on

 

i tested in

CHROME

FIREFOX

INTERNET EXPLORER

... all same

 

here is video..

 

 

Edited by prestol (see edit history)

Share this post


Link to post
Share on other sites

Same problem here. Uploading the child theme to the server by ftp results in HTTP error 500 when trying to enable the theme in back office. 

Share this post


Link to post
Share on other sites

as others have said, there is something wrong with unzipping using browsers. Doing it natively in the filesystem below:

ssh user@yourserver
cd /var/www/html/yoursite/themes/
ls 
(shows your child theme uploaded as zip) 
unzip child_theme.zip

 

go back into Back office and select the child theme 

edit:

this breaks the site as well... HTTP ERROR 500

 

 

installing child theme with ftp produces the following error

. [PrestaShop\PrestaShop\Core\Domain\Theme\Exception\ThemeConstraintException code 2

Edited by prestol (see edit history)

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...

Important Information

Cookies ensure the smooth running of our services. Using these, you accept the use of cookies. Learn More