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
Posted (edited)

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

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


×
×
  • Create New...

Important Information

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