Jump to content

[SOLVED] Customize product - customer can not upload picture


Recommended Posts

Hi, I recently started a business and after examining all the possible open-source e-shops yet, Prestashop seemed the most appropriate.

Unfortunately at the moment I have a problem and dont know how to slolve it.

If you are in the front office and want to upload the image or text in "customize product", it is uploaded (in the folder called upload the current token, I think), but after reloading the page you do not see this product or image and text.

I was looking for both Czech and English forums, but I could find anyone with the same problem.

This problem appeared in version 1.3.2.3 (first installation), then disappeared after installing 1.3.3 and now reappeared again, I do not see any connection with the changes implemented - no changes in the code etc. It does not work even in IE, Opera, Chrome.

Anybody got a clue what to do? Thanks for any idea.

you can test it here:
http://shop.beecool.cz/lang-en/glass-porcelain/10-hrnek-standard.html

Link to comment
Share on other sites

Hello,

thank you for your help, at least now know it says something :)

Error message:
Fatal error: Allowed memory size of 33554432 bytes exhausted (tried to allocate 16000 bytes) in /home/beecool.cz/shop.beecool.cz/images.inc.php on line 167

and on line 167 in images.inc.php is:
$destImage = imagecreatetruecolor($destWidth, $destHeight);

Any idea pls? I am not a programmer :-/

Link to comment
Share on other sites

There is no other idea, you are running out of memory...

If you still see "Allowed memory size of 33554432 bytes exhausted", then your memory was not increased to 64MB.

If it shows 64MB and you still get an ou of memory error, than you may be trying to do things that require even more RAM

Link to comment
Share on other sites

OK, so I figured it out. Actually it was pretty stupid :) In settings - Preferences - Products on the bottom of page there you can set maximum image size and resolution. I thought that resolution is maximal resolution that customer can upload but that is not true - this resolution is size of generated preview to customers upload and also for viewing Basket or Order details in Back Office. My setting was simply too big and that caused running this memory exhausted.

Thank you tomerg with your help and ideas.

Link to comment
Share on other sites

  • 1 month 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...