Posting in the Magento forums has been disabled pending the implementation of a new and improved forum solution which should better serve the community.

For new questions please post at magento.stackexchange.com, the community-run support site for the Magento community. We will be providing updates on the new forum solution soon. For questions or concerns please email community@magento.com.

Magento Forum

Received this error while testing the image placeholder
 
Baybee
Member
 
Total Posts:  61
Joined:  2008-01-22
 

I was trying to test the image place holder.  I uploaded the placeholder image and set it up in the config.  I then picked an item, and removed the images from the item’s config.  Here is what I got on the front end:

/public_html/magento/lib/Varien/Image/Adapter/Gd2.php on line 33
[1] in Varien_Image_Adapter_Gd2->open("/public_html/magento/media/catalog/product/placeholder/default/nopic_1.gif") in /public_html/magento/lib/Varien/Image.php on line 63
[2] in Varien_Image->open() in /public_html/magento/lib/Varien/Image.php on line 45
[3] in Varien_Image->__construct("/public_html/magento/media/catalog/product/placeholder/default/nopic_1.gif") in /public_html/magento/app/code/core/Mage/Catalog/Model/Product/Image.php on line 204
[4] in Mage_Catalog_Model_Product_Image->getImageProcessor() in /public_html/magento/app/code/core/Mage/Catalog/Model/Product/Image.php on line 217
[5] in Mage_Catalog_Model_Product_Image->resize() in /public_html/magento/app/code/core/Mage/Catalog/Helper/Image.php on line 109
[6] in Mage_Catalog_Helper_Image->__toString() in /public_html/magento/app/design/frontend/default/default/template/catalog/product/list.phtml on line 91
[7] in include("/public_html/magento/app/design/frontend/default/default/template/catalog/product/list") in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 122
[8] in Mage_Core_Block_Template->fetchView("frontend/default/default/template/catalog/product/list.phtml") in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 154
[9] in Mage_Core_Block_Template->renderView() in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 171
[10] in Mage_Core_Block_Template->_toHtml() in /public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 553
[11] in Mage_Core_Block_Abstract->toHtml() in /public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 430
[12] in Mage_Core_Block_Abstract->_getChildHtml("product_list", 1) in /public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 407
[13] in Mage_Core_Block_Abstract->getChildHtml("product_list") in /public_html/magento/app/code/core/Mage/Catalog/Block/Category/View.php on line 79
[14] in Mage_Catalog_Block_Category_View->getProductListHtml() in /public_html/magento/app/design/frontend/default/default/template/catalog/category/view.phtml on line 63
[15] in include("/public_html/magento/app/design/frontend/default/default/template/catalog/category/vie") in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 122
[16] in Mage_Core_Block_Template->fetchView("frontend/default/default/template/catalog/category/view.phtml") in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 154
[17] in Mage_Core_Block_Template->renderView() in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 171
[18] in Mage_Core_Block_Template->_toHtml() in /public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 553
[19] in Mage_Core_Block_Abstract->toHtml() in /public_html/magento/app/code/core/Mage/Core/Block/Text/List.php on line 36
[20] in Mage_Core_Block_Text_List->_toHtml() in /public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 553
[21] in Mage_Core_Block_Abstract->toHtml() in /public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 430
[22] in Mage_Core_Block_Abstract->_getChildHtml("content", 1) in /public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 407
[23] in Mage_Core_Block_Abstract->getChildHtml("content") in /public_html/magento/app/design/frontend/default/default/template/page/3columns.phtml on line 54
[24] in include("/public_html/magento/app/design/frontend/default/default/template/page/3columns.phtml") in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 122
[25] in Mage_Core_Block_Template->fetchView("frontend/default/default/template/page/3columns.phtml") in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 154
[26] in Mage_Core_Block_Template->renderView() in /public_html/magento/app/code/core/Mage/Core/Block/Template.php on line 171
[27] in Mage_Core_Block_Template->_toHtml() in /public_html/magento/app/code/core/Mage/Core/Block/Abstract.php on line 553
[28] in Mage_Core_Block_Abstract->toHtml() in /public_html/magento/app/code/core/Mage/Core/Model/Layout.php on line 486
[29] in Mage_Core_Model_Layout->getOutput() in /public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 318
[30] in Mage_Core_Controller_Varien_Action->renderLayout() in /public_html/magento/app/code/core/Mage/Catalog/controllers/CategoryController.php on line 67
[31] in Mage_Catalog_CategoryController->viewAction() in /public_html/magento/app/code/core/Mage/Core/Controller/Varien/Action.php on line 341
[32] in Mage_Core_Controller_Varien_Action->dispatch("view") in /public_html/magento/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php on line 150
[33] in Mage_Core_Controller_Varien_Router_Standard->match(Mage_Core_Controller_Request_Http) in /public_html/magento/app/code/core/Mage/Core/Controller/Varien/Front.php on line 147
[34] in Mage_Core_Controller_Varien_Front->dispatch() in /public_html/magento/app/Mage.php on line 400
[35] in Mage::run("default") in /public_html/magento/index.php on line 29

Warning: imagecopyresampled(): supplied argument is not a valid Image resource in /public_html/magento/lib/Varien/Image/Adapter/Gd2.php on line 180
[0] in imagecopyresampled(Resource id #398, , 0, 0, 0, 0, “135”, “135”, 75, 50) in /public_html/magento/lib/Varien/Image/Adapter/Gd2.php on line 180
[1] in Varien_Image_Adapter_Gd2->resize("135", “135") in /public_html/magento/lib/Varien/Image.php on line 127
[2] in Varien_Image->resize("135", “135") in /public_html/magento/app/code/core/Mage/Catalog/Model/Product/Image.php on line 217
[3] in Mage_Catalog_Model_Product_Image->resize

 
Magento Community Magento Community
Magento Community
Magento Community
 
ptityop
Sr. Member
 
Total Posts:  105
Joined:  2007-11-21
 

if you refresh the page it should go away.... do not why but it does the trick for the moment

 
Magento Community Magento Community
Magento Community
Magento Community
 
Baybee
Member
 
Total Posts:  61
Joined:  2008-01-22
 

Still the same stuff on the product page

take a look:

http://embraceableurns.com/magento/electronics/laptops/acer-ferrari-3200-notebook-computer-pc.html

 
Magento Community Magento Community
Magento Community
Magento Community
 
ptityop
Sr. Member
 
Total Posts:  105
Joined:  2007-11-21
 

hve you checked the permissions of you imges folder...?

 
Magento Community Magento Community
Magento Community
Magento Community
 
iguru
Guru
 
Avatar
Total Posts:  331
Joined:  2007-11-01
Děčín, Czech Republic
 

I have this error to and my permission for media its 777. Any idea?

 
Magento Community Magento Community
Magento Community
Magento Community
 
Baybee
Member
 
Total Posts:  61
Joined:  2008-01-22
 

Got the same problem with v1.0 that I had here.  The placeholder image does not show, and just spits out the above coding all down the page.

 
Magento Community Magento Community
Magento Community
Magento Community
 
jay@grimestore
Member
 
Avatar
Total Posts:  49
Joined:  2008-04-02
 

Are there no solutions to this problem? This occurs all the way down my product pages.

 
Magento Community Magento Community
Magento Community
Magento Community
Magento Community
Magento Community
Back to top