Jump to content

Error during customer image upload process


Recommended Posts

Hi Fellows!!!

 

I run a customized products store, so every product has at least one customizable image field and 2 or 3 customizable text fields. 

 

Uploading customized images under 1.6MB works fine, but over that value, the customer gets the error "An error occurred during the image upload process." .

 

I've spent a couple of days on it without any success. Let me tell you what I've tried:

 

  • BO: Maximum file size of customer's pictures is set on 8MB
  • My hosting provider already set php.ini values as follows: post_max_size = 20M upload_max_filesize = 20M max_file_uploads = 10. (These values are oversized, of course)
  • Server permissions are not the issue because all files smaller than 1.6MB are correctly uploaded and they appear in the upload folder. 
  • My theme is a manual derivation from default-bootstrap, and I went back to the original product.tpl .
My store is on 1.6.0.8 version, and I'm keeping it under maintenance due to this failure. 

 

 

Thanks for your help!!!!

 

Link to comment
Share on other sites

  • 3 weeks later...

Hi guys!

 

Any clue to solve this?

 

Thanks in advance!!!

Hi - Just last night I started getting the same "An error occurred during the image upload process" when I was simply trying to add a small image to a new product.

 

I searched the forums and only found answers to this when it related to the image slider.

 

I made zero changes or any known updates to Prestashop so I was a bit dumbfounded. I started to think about what I might have done on my end over the last 24 hours and realized that I uploaded some very large art files to my server, the same server that ,y Prestashop store is on, for a client to download.

 

I cleared of some old large files from my server and now I can upload images to my store.

 

Short answer is is that you may have run out of space on your server. Try removing some old files taking up space and try again. Or, reach out to your hosting company and see about getting some more space allocated.

 

Hope this helps.

 

Joe

Link to comment
Share on other sites

Hi ShirtSeller!!!

 

After some weeks going around this issue, I talked with my hosting support service. Everything seems to be ok, so we decided to copy a php.ini file inside every folder with a php file (almost averyone) in order to override configuration with the following parameters:

 

max_input_vars = 2200
max_execution_time = 120
post_max_size = 20M
upload_max_filesize = 20M

 

I know it's a brute-force aproach, but it was a desperate solution.... ¿Guess what??? It didn't work. 

 

Server space is not the problem (I guess)... I'm actually using 20% of my capacity. Small images are well created in the upload folder, so solution is somewhere else. 

 

I was running another thread in the spanish forum, but after this step... silence has ruled since then. 

 

I've been using Prestashop for more than 3 years, but because of this unsolved problem, I'm seriously thinking about moving to other platform... can´t wait anymore. 

Link to comment
Share on other sites

  • 10 months later...

Hi GReyesP, 

 

Did you ever find the solution to this problem?  I have the same issue, I can upload images to around 1.6mb (and 2 or 3 at a time - I have 3 Image upload fields on product page), but any single file over 1.6mb doesn't show.

 

Like you I've checked all my preferences in Prestashop back office, and all are well above 1.6mb, and my server specs are again like yours well above the required to upload an image over 20mb. What can be the problem?

 

If you did find a solution, I would really appreciate your reply.   Thanks, Matt.

Link to comment
Share on other sites

  • 1 month later...

Oy, i solve this issue, 

 

you have to tell your hosting provider,  because server hardisk overquota. or 

if you use spanel , log in into your spanel go to email => manage email => shoose your main domain => manage

 

delete sent email, spam email.

and then,

 

go to domain => manage subdomain=> choose your domain=> setting.

 

go to CGI setting and choose CGI yourself and update.

 

DONE!

 

alhamdullilah

Link to comment
Share on other sites

×
×
  • Create New...