Вопрос

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