Jump to content

This theme is not valid for PrestaShop 1.7


Recommended Posts

Hello.

 

I am new to prestashop and have a lot of questions.

 

At first of all, I want to know how to change my pt theme.

 

i download prestashop1.7 and free open-source pt1.7 theme.

 

and now trying to change theme.

so go to admin panel and improve / desigins / themes & logo.

 

and add new theme and select downloaded zip file of theme and press save button.

 

and now get this error.

 

This theme is not valid for PrestaShop 1.7

 

downloaded theme from:  https://github.com/devilthemes/blackhawk4x.git

Link to comment
Share on other sites

  • 1 month later...
  • 1 month later...

I ran into the same Problem.

With free themes and even with one i purchased 

 Here is the error in debug mode.  

Warning in Line 319 of FIle/homepages/11/d369897014/htdocs/clickandbuilds/PrestaShop/MyeCommerce/src/Core/Addon/Theme/ThemeManager.php
[2] file_get_contents(/homepages/11/d369897014/htdocs/clickandbuilds/PrestaShop/MyeCommerce/app/cache/dev/sandbox/5a3b97a348b1c//config/theme.yml): failed to open stream: No such file or directory

Notice in Line 49 of File/homepages/11/d369897014/htdocs/clickandbuilds/PrestaShop/MyeCommerce/src/Core/Addon/Theme/Theme.php
[8] Undefined index: name

 

This drives me insane, the developer of the theme is slow to respond, also due to the time difference because i am from europe. 

I have a Deadline to have our shop up and running by the 27th of December. :(

Link to comment
Share on other sites

  • 4 weeks later...

hey mate, you probably solved this already but i thought about posting here in case it helps others. i purchased a theme and got the same error. it looks like on mac and linux the .zip file containing the theme was not extracted correctly - there were no folders, just files with slashes (/) in their filenames. i assume this is because of the packer the developer used. they probably didn't test on a linux server, or maybe their Linux unpacker worked differently.

so, in order to fix it, this is what i did:

1. i extracted the zip file with the theme using 7zip on Windows

2. inside the extracted folder i selected all files and folders and compressed it again to .zip using 7zip (i assume it would have worked using the default windows zip packer as well, but i didn't test)

i uploaded the new zip file to prestashop and it worked.

hope it helps!

cheers!

Link to comment
Share on other sites

  • 8 months later...

how i fixed the issue is that i was downloading the Diana theme for Prestashop 1.7 on October 1st, 2018 and i noticed that once extracted on my local pc, there was the actual zip file within the downloaded zip file. Once i uploaded that one it worked. The reason Prestashop can't read the original zip file is because the actual theme is zipped in another file

Link to comment
Share on other sites

  • 4 months later...

A simple solution that works:

 

The Zip file you have has the following files and directories as per HELP

  ├── config
  │   └── theme.yml
  └── preview.png

 

Add the below folders and empty css file:

assets/css/custom.css   (empty css file)

Just add an the following empty folders in the zip file too:

modules

plugins

templates

And everything will work..

 

 

Link to comment
Share on other sites

  • 6 months later...

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...