holysmokersjokers Posted January 2, 2014 Share Posted January 2, 2014 (edited) Hi all, when I log into the BackOffice of my shop and then click on Catalog and then on Products, I was met with a blank page. After turning debugging on I was met with the following error: Fatal error: Out of memory (allocated 108527616) (tried to allocate 20608 bytes) in /home/***/public_html/classes/ImageManager.php on line 365Here's a pretty good description of someone seeing similar issues to what I'm experiencing, but it's a Google translation of Spanish text, so it sometimes reads a bit funny. From what I gather there, the recommendation is to have the hosting provider raise the memory limit in php.ini to 128M. My provider has done so, raising that limit to 3500M, as is evident on the Configuration page in BackOffice: Server information Server information: Linux #1 SMP Fri Jul 12 15:02:22 EEST 2013 x86_64 Server software version: LiteSpeed PHP version: 5.3.28 Memory limit: 3500M Max execution time: 30 As this is all related to ImageMananger.php, on a whim I unwisely attempted to regenerate my images by clicking on Preferences -> Images and then on Regenerate Thumbnails and was met with the following error: Fatal error: Out of memory (allocated 105644032) (tried to allocate 20608 bytes) in /home/***/public_html/classes/ImageManager.php on line 365 And now I have no images on my site, and am unable to regenerate them. Does anyone have any suggestions as to why this happening? Edited January 2, 2014 by holysmokersjokers (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted January 2, 2014 Share Posted January 2, 2014 Fatal error: Out of memory (allocated 105644032) (tried to allocate 20608 bytes) in /home/***/public_html/classes/ImageManager.php on line 365 this tells us that php ran out of memory at 100mb...which does not 'match' the 3500mb. load this free module http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ then click the modules configuration and navigate tab = info_configuration this field will tell you the memory limit in php http://screencast.com/t/PWWoEx0e Link to comment Share on other sites More sharing options...
holysmokersjokers Posted January 2, 2014 Author Share Posted January 2, 2014 (edited) Fatal error: Out of memory (allocated 105644032) (tried to allocate 20608 bytes) in /home/***/public_html/classes/ImageManager.php on line 365 this tells us that php ran out of memory at 100mb...which does not 'match' the 3500mb. load this free module http://www.prestashop.com/forums/topic/278164-free-module-display-php-environment-phpinfo-back-office/ then click the modules configuration and navigate tab = info_configuration this field will tell you the memory limit in php http://screencast.com/t/PWWoEx0e Thanks for your reply! I installed the module at your request, however it displayed the same information as I viewed when clicking on Advanced Parameters -> Configuration Information before. Here's a cut/paste from the output of the module though: edit: That didn't work. Attached a screenshot instead. max_input_time -1 -1 max_input_vars 4000 1000 memory_limit 3500M 3500M open_basedir no value no value output_buffering 0 0 output_handler no value no value post_max_size 3000M 3000M That's the same value my host said that had raised it to, which I just checked and that's the same value that's in the php.ini file on the server. Edited January 2, 2014 by holysmokersjokers (see edit history) Link to comment Share on other sites More sharing options...
El Patron Posted January 2, 2014 Share Posted January 2, 2014 weird...sorry I'm a bit perplexed, the error tells me anyway that you ran out of memory at 100mb. You may want to have your hosting company look to see if there is a limit on your hosting 'outside' of what we see in php.ini (phpinfo). Link to comment Share on other sites More sharing options...
eletom01 Posted October 28, 2014 Share Posted October 28, 2014 Got any solutions? I have a similar problem Link to comment Share on other sites More sharing options...
tuk66 Posted October 28, 2014 Share Posted October 28, 2014 Ask your server administrator. Sometimes these phpinfo() memory values are not correct. The server has set another limit, silently. Link to comment Share on other sites More sharing options...
Recommended Posts