Jump to content

Problem with uploading multiple pictures in zip file


Recommended Posts

Hello

 

I have PrestaShop v.1.4.4.0 (stable), and I'm not able to upload multiple images in zip file.

Error msg:

 

"1 error

An error occurred while unzipping your file."

 

 

I've been searching for the answer but I only found one closed topic with no replies.

Can you please help ? Thank you

error.bmp

Link to comment
Share on other sites

I have a problem uploading images as well... not sure how to do it. If I select a zip file in the images tab and click Save Image it complains the file is not in an allowed format.

 

I've not found a post yet where someone said it works for them or how to fix it for those it doesn't work.

 

Any help here?

 

/RB

Link to comment
Share on other sites

An error occurred while unzipping your files

 

This is probably a folder permission issue.

 

If I select a zip file in the images tab and click Save Image it complains the file is not in an allowed format.

 

I can replicate this issue with the latest version and can confirm that this is a bug. Please open a bug report and point it to this thread.

 

 

Problem:

AdminProduct around line 950, extract to $subDir -> Tool::ZipExtracts extracts upload.zip to $subDir so now the image files are in $subDir/upload/*. foreach (scandir($subdir))then finds the upload directory and tries to make an image out of it. if ($file[0] == '.') check is not sufficient also must not assume image files are in $subDir (as is the case with zip uploads).

Link to comment
Share on other sites

  • 2 months later...

Hi, i have the same problem.

I cant upload images in the zip file:

 

Warning: imagejpeg() [function.imagejpeg]: Unable to open '/home/cancun/public_html/Catalogo/img/p/2/2/7/227-home.jpg' for writing: No such file or directory in /home/cancun/public_html/Catalogo/images.inc.php on line 336

 

Line 336 images.inc.php

$flag = imagejpeg($ressource, $filename, (int)Configuration::get('PS_JPEG_QUALITY'));

 

Y have changed the permisioons to 777 on img folder and all subfolders and set the php safe mode = off

 

Im reading this topic, but i dont understand how to fix it:

 

http://forge.prestashop.com/browse/PSCFI-3386

 

Please Help

Link to comment
Share on other sites

Hello, im having a similar problem, when trying to upload images into product selection, individual product, my site is very picture heavy, with each car having 250+ pictures, and its taking ages uploading each one individually, do you how to upload 10-15 images in one go of each product, in my case car part?

 

similar what u can do in photobucket, upload 10-15+pic's in one go then just wait for them to upload into your account

 

advice would b much appreciated

 

thanks

Link to comment
Share on other sites

Hello, just checked bottom of my page, dont mention nothing about transferring stuff to the system? ive included a copy of what im seeing at bottom of the preferences section;

 

thanks

 

Cart re-display at login:

enabled.gif Yes disabled.gif No

After customer logs in, recall and display contents of his/her last shopping cart

 

[/left]

Round mode:

superiorinferiorclassical

You can choose the rounding of prices, rounding always superior, inferior or classical rounding.

 

[/left]

Automatically check updates to modules

enabled.gif Yes disabled.gif No

New modules and updates are displayed on the modules page

 

[/left]

Timezone:

 

[/left]

v1.1 theme compatibility:

enabled.gif Yes disabled.gif No

My shop use a PrestaShop v1.1 theme (SSL will generate warnings in customer browser)

 

[/left]

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