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?

有帮助吗?

解决方案 3

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

其他提示

Try using just echo (string) Mage::helper('catalog/image')->init($this->getProduct(), 'image'); see if this helps

Is that the first image reference on the page?

Try flushing your Magento pre-genreeate image cache: System > Cache Management > Flush Catalog Images Cache

许可以下: CC-BY-SA归因
不隶属于 StackOverflow
scroll top