angelstar Posted September 15, 2017 Share Posted September 15, 2017 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 More sharing options...
Scully Posted September 18, 2017 Share Posted September 18, 2017 I always recommend newbies to make themselves familiar with basic functionality before changing themes or design stuff. Unfortunately I cannot help with the error message. Either wrong installing procedure or a faulty theme... Link to comment Share on other sites More sharing options...
stdeykun Posted October 26, 2017 Share Posted October 26, 2017 Go to Performance tab and switch debug on, you will get more informations in error message. Link to comment Share on other sites More sharing options...
tuk66 Posted October 27, 2017 Share Posted October 27, 2017 Use another theme. A new theme is checked if contains all required files and properties and this one doesn't. Link to comment Share on other sites More sharing options...
Svolcker Posted December 21, 2017 Share Posted December 21, 2017 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 More sharing options...
bogde Posted January 15, 2018 Share Posted January 15, 2018 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 More sharing options...
Chaoticbastian Posted October 1, 2018 Share Posted October 1, 2018 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 More sharing options...
bdjaroueh Posted February 7, 2019 Share Posted February 7, 2019 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 More sharing options...
fskhan Posted September 5, 2019 Share Posted September 5, 2019 I had this problem because I used userId top FTP file over which was not readable by the default user of web server. chmod -R 775 themefile.zip chown www-data:www-data themfile.zip solved the problem Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now