Jump to content

Images uploading problem with a new PresaShop installation


Recommended Posts

I have installed a new copy of PrestaShop 1.6.0.9 and when I tried to upload somethimes the images are uploaded, but some thumbnails were missing, or some of the images were not uploaded at all.

I did a long research what the problem could be. What I found (for example folder permissions, memory_limit or bugs in older PS versions) was not my case. Now I'm thinking that there is some misconfiguration of the server, but I didn't find anything suspicious...

Here is my php info http://evroweb.com/teos/i.php

 

P.S. I noticed that with a memory_limit of 128M I cannot access the back-office Modules page. I accessed it when I increased it to 256M.

 

 

Any suggestions please?

Edited by farior (see edit history)
Link to comment
Share on other sites

For some reason the required from PrestaShop memory_limit was increased (maybe I added some module that requires more memory).

Meanwhile I received this error at the back-office in debug mode:

Notice on line 59 in file /home/evroweb/public_html/shop/classes/ImageManager.php
[8] getimagesize() [<a href='function.getimagesize'>function.getimagesize</a>]: Read error!

 

How to debug:

http://www.prestashop.com/forums/topic/224525-how-to-turn-on-error-reporting-for-debug-information/

 

For understanding of your runtime phpinfo, use this free module, it is 'very' useful.

http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/

 

 

The solution:

I changed the PHP directive through the php.ini file on my hosting (in the PrestaShop folder) by adding this row:

memory_limit = "1000M"

Link to comment
Share on other sites

×
×
  • Create New...