Call-back icon  Sales: Call 877.832.5289 (N America)|310.295.4144 (International)

Magento

eCommerce Software for Online Growth

Magento Forum

   
Error on List mode in Product display. 
 
Sintax
Member
 
Total Posts:  58
Joined:  2008-02-18
Hungary
 

When I click on the List mode in the catalog listing I get an error. The grid mode works perfectly. What could be wrong? GD2 is installed on the machine so that can’t be the problem.

Fatal error: Call to undefined function imagecreatetruecolor() in /var/www/magento/app/code/core/Mage/Media/Model/File/Image.php on line 111

::Sintax

 
Magento Community Magento Community
Magento Community
Magento Community
 
Romain Fluttaz
Jr. Member
 
Avatar
Total Posts:  27
Joined:  2007-09-20
Chambery, France
 

same error ... any solutions ?’cause in fact i really don’t like the grid view ...  (
...http://www.produitsdesavoie.com/catalog/category/view/mode/list/id/11/ )

Code on line 110-112 :

public function getTmpImage(Mage_Media_Model_Image $object)
    
{
        $resource 
imagecreatetruecolor($object->getDestanationDimensions()->getWidth(), $object->getDestanationDimensions()->getHeight());
        return 
$resource;
    
}

Edit :
Probleme solved !
Just an apt-get install php5-gd on my debian ... sorry ... (i was thinking thats was libgd who was need ...)

 Signature 

</r.fluttaz>
Site en dev : http://www.fleurshop.fr - http://www.parapluieshop.com - http://www.bougieshop.fr - http://www.produitsdesavoie.com

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
    Back to top
 
Sales: Call 877.832.5289 (North America) 310.295.4144 (International)
© Copyright 2008 Varien. Magento, eCommerce software, is a trademark of Irubin Consulting Inc. DBA Varien
Privacy Policy|Terms of Service
Magento Community Count
52311 users|460 users currently online|105634 forum posts