質問

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