I was uploading some images from the magento backend, after so time, i got this error on my product tab.
There has been an error processing your request Image file was not found.
Trace:
#0 /home/camerala/public_html/app/code/core/Mage/Catalog/Helper/Image.php(163): Mage_Catalog_Model_Product_Image->setBaseFile('/s/c/screen_pro...')
#1 /home/camerala/public_html/app/design/adminhtml/default/default/template/aw_admingridimages/image.phtml(31): Mage_Catalog_Helper_Image->init(Object(Mage_Catalog_Model_Product), 'small_image')
#2 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/camerala/...')
#3 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#4 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#5 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Template->_toHtml()
#6 /home/camerala/public_html/app/code/local/AW/Admingridimages/Block/Renderer/Image.php(44): Mage_Core_Block_Abstract->toHtml()
#7 /home/camerala/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Grid/Column.php(128): AW_Admingridimages_Block_Renderer_Image->render(Object(Mage_Catalog_Model_Product))
#8 /home/camerala/public_html/app/design/adminhtml/default/default/template/widget/grid.phtml(161): Mage_Adminhtml_Block_Widget_Grid_Column->getRowField(Object(Mage_Catalog_Model_Product))
#9 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/camerala/...')
#10 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#11 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#12 /home/camerala/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#13 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#14 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#15 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('grid', true)
#16 /home/camerala/public_html/app/code/core/Mage/Adminhtml/Block/Catalog/Product.php(79): Mage_Core_Block_Abstract->getChildHtml('grid')
#17 /home/camerala/public_html/app/design/adminhtml/default/default/template/catalog/product.phtml(46): Mage_Adminhtml_Block_Catalog_Product->getGridHtml()
#18 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/camerala/...')
#19 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#20 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#21 /home/camerala/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#22 /home/camerala/public_html/app/code/core/Mage/Adminhtml/Block/Widget/Container.php(308): Mage_Adminhtml_Block_Template->_toHtml()
#23 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Widget_Container->_toHtml()
#24 /home/camerala/public_html/app/code/core/Mage/Core/Block/Text/List.php(43): Mage_Core_Block_Abstract->toHtml()
#25 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Core_Block_Text_List->_toHtml()
#26 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(637): Mage_Core_Block_Abstract->toHtml()
#27 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(581): Mage_Core_Block_Abstract->_getChildHtml('content', true)
#28 /home/camerala/public_html/app/design/adminhtml/default/default/template/page.phtml(74): Mage_Core_Block_Abstract->getChildHtml('content')
#29 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(241): include('/home/camerala/...')
#30 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(272): Mage_Core_Block_Template->fetchView('adminhtml/defau...')
#31 /home/camerala/public_html/app/code/core/Mage/Core/Block/Template.php(286): Mage_Core_Block_Template->renderView()
#32 /home/camerala/public_html/app/code/core/Mage/Adminhtml/Block/Template.php(81): Mage_Core_Block_Template->_toHtml()
#33 /home/camerala/public_html/app/code/core/Mage/Core/Block/Abstract.php(919): Mage_Adminhtml_Block_Template->_toHtml()
#34 /home/camerala/public_html/app/code/core/Mage/Core/Model/Layout.php(555): Mage_Core_Block_Abstract->toHtml()
#35 /home/camerala/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(390): Mage_Core_Model_Layout->getOutput()
#36 /home/camerala/public_html/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(180): Mage_Core_Controller_Varien_Action->renderLayout()
#37 /home/camerala/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(418): Mage_Adminhtml_Catalog_ProductController->indexAction()
#38 /home/camerala/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('index')
#39 /home/camerala/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))
#40 /home/camerala/public_html/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#41 /home/camerala/public_html/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#42 /home/camerala/public_html/index.php(95): Mage::run('', 'store')
解决方法:
I figure it out, This order contains a product which no longer exists in database. Error "Image file was not found" resolved after adding image place holder under:
System -> Configuration -> Catalog -> Product Image Placeholders and upload Base, Small image and Thumbnail
Once uploaded, view back your order. The product which no longer exists will have this placeholder image.
I hope this will help someone for same issue. :-)
其实就是找到upload Base, Small image 和 Thumbnail, 然后上传默认图片就可以了!
更多参考:
Magento: 解决搜索失效的问题 Search Not working
Magento 1.9.X 系列教程
Magento: 产品页面下jquery change函数失效 Call javascript function onchange product option on Magento product page
Magento搬家、换域名、重新安装教程
原文: Magento: 后台显示图片不能找到 Image file was not found on product tab
分享到:
相关推荐
NULL 博文链接:https://justcoding.iteye.com/blog/2100394
magento 后台订单显示图片插件,可以让magento 后台订单显示图片,直接覆盖原文件即可!
magento后台显示订单图片,便于浏览订单
Magento 后台管理插件示例! 注:USDP为命令空间
magento1.7后台香港繁体中文汉化,免费下载使用,现在magento1.7版本都没有汉化的,我来贡献吧。
此文当是magento 后台操作文档,希望可以帮助大家更好使用电子商务的利器magento
MagentoBeginner's Guide.pdf [Packt]出品,最早的Magento精品书之一,原书地址:http://www.amazon.com/Magento-Beginners-Guide-William-Rice/dp/1847195946
magento的关于自定义后台配置的简单示例 把Exercise_Avatar.xml放到magento/app/etc/modules/下面 文件夹Avatar放到magento/app/code/local/Exercise/下面就可以到后台看到相应配置信息
NULL 博文链接:https://hudeyong926.iteye.com/blog/1608792
magento2在产品详情添加自定义tab,1. Enable module with php bin/magento module:enable BelVG_ProductTabs 2. Run php bin/magento setup:upgrade 3. Recompile DI php bin/magento setup:di:compile 4. Recompile...
NULL 博文链接:https://hudeyong926.iteye.com/blog/1728074
Magento 图片延时加载插件,用来解决网站速度慢或者图片数量多的问题
magento:magento-ce 2.4.0
Magento:registered:2数据集成借助Datatric Connect扩展程序,可以轻松地将Magento:registered:2商店与Datatrics平台连接起来。安装在开始安装过程之前,我们建议您对webshop文件以及数据库进行备份。 有两种安装...
magento用户中文操作手册,学习magento后台管理
如果你正在创建一个Magento的管理模块(学习创造Magento管理模块),那么你一定会被要求创建一个管理列表既Grid。创建列表,Magento新手程序员有点困难,但在本教程中,我们将创建一个网格在管理模块中最简单的方式...
NULL 博文链接:https://justcoding.iteye.com/blog/1886183
Apress.The.Definitive.Guide.to.Magento.Dec.2009.pdf Apress于2009重磅推出的Magento上手书籍,原书地址:http://www.apress.com/book/view/9781430272298
此插件可以查看后台管理登录,修改,保存,删除等管理人员的操作日志。
通过SFTP或SSH导航到Magento [Magento]/app/code/ 。 上载带有扩展名的Dropday/OrderAutomation目录。 打开终端并导航到Magento根目录。 运行以下命令以启用Dropday扩展: php bin/magento module:enable Dropday_...