cancel
Showing results for 
Search instead for 
Did you mean: 

Facing [Image file was not found] when View some order

Facing [Image file was not found] when View some order

Hello every one..

 

In some order on my order list, when i click View i facing this error:

 

Image file was not found.

Trace:
#0 /home/saudigsc/public_html/app/code/core/Mage/Catalog/Helper/Image.php(166): Mage_Catalog_Model_Product_Image->setBaseFile(NULL)
#1 /home/saudigsc/public_html/app/design/adminhtml/default/default/template/sales/order/view/items/renderer/default.phtml(45): Mage_Catalog_Helper_Image->init(Object(Mage_Catalog_Model_Product), 'small_image')
#2 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/saudigsc/...')
#3 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#4 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#6 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#7 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Items/Abstract.php(177): Mage_Core_Block_Abstract->toHtml()
#8 /home/saudigsc/public_html/app/design/adminhtml/default/default/template/sales/order/view/items.phtml(60): Mage_Adminhtml_Block_Sales_Items_Abstract->getItemHtml(Object(Mage_Sales_Model_Order_Item))
#9 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/saudigsc/...')
#10 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#11 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#12 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#13 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#14 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#15 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('order_items', true)
#16 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/Block/Sales/Order/View/Tab/Info.php(86): Mage_Core_Block_Abstract->getChildHtml('order_items')
#17 /home/saudigsc/public_html/app/design/adminhtml/default/default/template/sales/order/view/tab/info.phtml(92): Mage_Adminhtml_Block_Sales_Order_View_Tab_Info->getItemsHtml()
#18 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/saudigsc/...')
#19 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#20 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#21 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#22 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#23 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Tabs.php(303): Mage_Core_Block_Abstract->toHtml()
#24 /home/saudigsc/public_html/app/design/adminhtml/default/default/template/widget/tabs.phtml(38): Mage_Adminhtml_Block_Widget_Tabs->getTabContent(Object(Mage_Adminhtml_Block_Sales_Order_View_Tab_Info))
#25 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/saudigsc/...')
#26 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#27 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#28 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#29 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#30 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#31 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#32 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#33 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('left', true)
#34 /home/saudigsc/public_html/app/design/adminhtml/default/default/template/page.phtml(58): Mage_Core_Block_Abstract->getChildHtml('left')
#35 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/saudigsc/...')
#36 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#37 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#38 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#39 /home/saudigsc/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#40 /home/saudigsc/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#41 /home/saudigsc/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#42 /home/saudigsc/public_html/app/code/core/Mage/Adminhtml/controllers/Sales/OrderController.php(128): Mage_Core_Controller_Varien_Action->renderLayout()
#43 /home/saudigsc/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Sales_OrderController->viewAction()
#44 /home/saudigsc/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(254): Mage_Core_Controller_Varien_Action->dispatch('view')
#45 /home/saudigsc/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(172): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#46 /home/saudigsc/public_html/app/code/core/Mage/Core/Model/App.php(365): Mage_Core_Controller_Varien_Front->dispatch()
#47 /home/saudigsc/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#48 /home/saudigsc/public_html/index.php(303): Mage::run('', 'store')
#49 {main}

 

Any Help ??

 

 

1 REPLY

Re: Facing [Image file was not found] when View some order

As far as I'm aware, the Magento order view in admin doesn't show the product image by default. Is this functionality that's been customised on your store or achieved through an extension?

 

My guess is that this code is broken, perhaps it's trying to load an image where the file doesn't exist on the filesystem anymore. Can you tell what URL is trying to be loaded for the image? Are you able to check that it does indeed exist on the server?

----
If you've found one of my answers useful, please give "Kudos" or "Accept as Solution" as appropriate. Thanks!