Search code examples
phpmagentomage

Magento code error on different PHP setup


I have the following problem. After moving a website from the old to the new server, the page stops rendering at this point of the code:

echo (string) Mage::helper('catalog/image')->init($this->getProduct(),
'image')->keepFrame(false)->resize(1024);

Is there a missing PHP library?


Solution

  • It appeared to be a memory issue. 128M isn't enough for magento!