djalma81 Posted June 13, 2014 Share Posted June 13, 2014 Hi, Since 3 weeks ago I receive this error message when I click on products link in back office. (see prestashop.png) My server information is the following ( see prestashop1.png) Prestashop version 1.6.0.5 Any one can help me? Thanks in advance BR Link to comment Share on other sites More sharing options...
tuk66 Posted June 13, 2014 Share Posted June 13, 2014 Ask server administrator. There was only 54M of memory available at that time. Link to comment Share on other sites More sharing options...
djalma81 Posted June 13, 2014 Author Share Posted June 13, 2014 Hi Tuk66, I'll ask to my provider thanks for the info Link to comment Share on other sites More sharing options...
csschopper.com Posted June 13, 2014 Share Posted June 13, 2014 Hi, First you can try by writing code in .htaccess file. If that will not work then you can talk to host provider. php_value memory_limit 512M ; For more details please check http://bestphphosting.net/how-to-increase-php-memory-limit/ Thanks Alok Link to comment Share on other sites More sharing options...
csschopper.com Posted June 16, 2014 Share Posted June 16, 2014 Hi djalma81, Is your problem resolved? If yes then please suggest what you did. Link to comment Share on other sites More sharing options...
djalma81 Posted June 16, 2014 Author Share Posted June 16, 2014 Hi csschopper.com, The problem persist, I think is due to a product image corrupted. I'm still working on it. Tks Link to comment Share on other sites More sharing options...
vekia Posted June 16, 2014 Share Posted June 16, 2014 hello images are loaded on client side, so it's weird that you see internal error (memory exceeded) while images are corrupted Link to comment Share on other sites More sharing options...
djalma81 Posted June 16, 2014 Author Share Posted June 16, 2014 Hi vekia, but maybe a thumbnail is not working fine and it causing this error. Link to comment Share on other sites More sharing options...
djalma81 Posted June 17, 2014 Author Share Posted June 17, 2014 Hi All, I solved the problem with this configuration on config.inc.php /* Improve PHP configuration to prevent issues */ini_set('upload_max_filesize', '16M');ini_set('default_charset', 'utf-8');ini_set('magic_quotes_runtime', 0);ini_set('memory_limit','64M'); Thanks all Link to comment Share on other sites More sharing options...
vekia Posted June 17, 2014 Share Posted June 17, 2014 im affraid that 64MB will be not enough, especially when you want to add some more products, new categories, attributes etc. prestashop needs at least 64 mb Link to comment Share on other sites More sharing options...
djalma81 Posted June 17, 2014 Author Share Posted June 17, 2014 Hi vekia, The fact is that if i change to 64Mb I'm able to view the product page and if I change to 128 or 256 I'm not able to see the product page. We will see in the future, Thanks Link to comment Share on other sites More sharing options...
precreate Posted June 17, 2014 Share Posted June 17, 2014 Will this also work if I change php settings directly on the server? Link to comment Share on other sites More sharing options...
djalma81 Posted June 17, 2014 Author Share Posted June 17, 2014 Hi precreate, I'm using 1and1 shared hosting so I can do that. Thanks Link to comment Share on other sites More sharing options...
precreate Posted June 17, 2014 Share Posted June 17, 2014 Thanks, djalma81. I will try it and see it it works on my hosting. Link to comment Share on other sites More sharing options...
Recommended Posts