Jump to content

Problem with theme installer


Recommended Posts

  • 3 weeks later...
Hi. I try to use the module theme installator, but when the theme includes custom modules, give me an error or a archive of 1kb

Any suggestions?



Hi shaker,

i meet this problem also. when export a theme, i got a archive file, but the size is only 307b.

Do you know why?
Link to comment
Share on other sites

I rename the archive.zip to archive.txt, there are some informations in it:


Warning: readfile(/home/demo3/prestashop_001/modules/themeinstallator/export/archive.zip) [function.readfile]: failed to open stream: Permission denied in /home/demo3/prestashop_001/modules/themeinstallator/themeinstallator.php on line 801



Any suggestions?

Link to comment
Share on other sites

It's a permissions error. Try changing the modules/themeinstallator/export directory to chmod 755.


Hi rocky,

I change the folder to 755, but get this:




Warning: readfile(/home/demo3/prestashop_001/modules/themeinstallator/export/archive.zip) [function.readfile]: failed to open stream: No such file or directory in /home/demo3/prestashop_001/modules/themeinstallator/themeinstallator.php on line 798

 

Link to comment
Share on other sites

I find that i can't set the folder export/import to chmod 777, if the folder set to chmod 777, when click button "Export this theme", the page show this:


This webpage is not available.

The webpage at ........../index.php?tab=AdminModules&configure=themeinstallator&token=ccf218fe87c8a70d036c7be024babb10 might be temporarily down or it may have moved permanently to a new web address.

Link to comment
Share on other sites

Hello.

Theme installer displays those warnings when I try to export my theme.
(I work with ps 1.3.2 on a win xp computer and I use easyphp 1.3)


Notice: Constant GSITEMAP_FILE already defined in C:\Program Files\EasyPHP 3.0\www\prestashop1_3\modules\gsitemap\gsitemap.php on line 22

Warning: ZipArchive::close() [ziparchive.close]: Invalid or unitialized Zip object in C:\Program Files\EasyPHP 3.0\www\prestashop1_3\modules\themeinstallator\themeinstallator.php on line 747
Retour à la liste des modules

Permission denied. Please set permisssion to 666 on this folder: C:\Program Files\EasyPHP 3.0\www\prestashop1_3\modules\themeinstallator/export/

Link to comment
Share on other sites

  • 1 month later...

In themeinstaller module – on lien no 696 the code
if (!($zip->open(EXPORT_FOLDER.‘archive.zip’, ZipArchive::OVERWRITE) = true) OR !$zip->addEmptyDir('test') = true)

so if ZipArchive::OVERWRITE , is flase it will shoot up teh error. So to avode this – just empty the “export” folder and then try yo export the theme, it will allow to create and download.

Thanks
Delonix

Link to comment
Share on other sites

I'm getting this error
Warning: ZipArchive::close() [ziparchive.close]: Invalid or unitialized Zip object in /beta/modules/themeinstallator/themeinstallator.php on line 747

The export folder premissions i tried 777, 666 and i check the folder is empty, anyone can solve this?

Link to comment
Share on other sites

  • 4 years later...

Hello

 

I still run PS 1.6.0.14 with Import / Export eines Themas v2.8.2 - von PrestaShop. I got the same error and tried all other permissions like 766,666, 777.

 

No matter what I do it is not possible to export the modules positions and activation settings.

 

 

Any solution known?

I really appreciate one since I want to update my shop.

Link to comment
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...