Magento - 无法在前端或后端查看任何产品

时间:2014-02-06 11:30:40

标签: php magento

昨天网店里的一切都很好。 从今天开始,前端的所有产品都显示404错误。当我尝试在后端查看产品时,出现以下错误:

找不到属性“quotemode_conditions”的源模型“qquoteadv / source_conditions”

Trace:
#0 /home/users/ftp/site.com/shop/app/code/core/Mage/Eav/Model/Entity/Attribute/Abstract.php(387): Mage::exception('Mage_Eav', 'Source model "q...')
#1 /home/users/ftp/site.com/shop/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(201): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 /home/users/ftp/site.com/shop/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tab/Attributes.php(70): Mage_Adminhtml_Block_Widget_Form->_setFieldset(Array, Object(Varien_Data_Form_Element_Fieldset), Array)
#3 /home/users/ftp/site.com/shop/app/code/core/Mage/Adminhtml/Block/Widget/Form.php(144): Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#4 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Block/Abstract.php(862): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#5 /home/users/ftp/site.com/shop/app/code/core/Mage/Adminhtml/Block/Catalog/Product/Edit/Tabs.php(79): Mage_Core_Block_Abstract->toHtml()
#6 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Block/Abstract.php(238): Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs->_prepareLayout()
#7 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Model/Layout.php(456): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#8 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Model/Layout.php(472): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'product_tabs')
#9 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Model/Layout.php(239): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'product_tabs')
#10 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Model/Layout.php(205): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#11 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Model/Layout.php(210): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#12 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(344): Mage_Core_Model_Layout->generateBlocks()
#13 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(269): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#14 /home/users/ftp/site.com/shop/app/code/core/Mage/Adminhtml/Controller/Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(Array, true, true)
#15 /home/users/ftp/site.com/shop/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(250): Mage_Adminhtml_Controller_Action->loadLayout(Array)
#16 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Adminhtml_Catalog_ProductController->editAction()
#17 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('edit')
#18 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /home/users/ftp/site.com/shop/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch()
#20 /home/users/ftp/site.com/shop/app/Mage.php(683): Mage_Core_Model_App->run(Array)
#21 /home/users/ftp/site.com/shop/index.php(86): Mage::run('', 'store')
#22 {main}

有没有人有类似的错误或知道如何修复它? 如果网站是实时的,需要尽快修复帮助。

1 个答案:

答案 0 :(得分:2)

  1. 清除所有缓存;
  2. check module qquoteadv
  3. 在您删除此模块之后,似乎您曾经使用模块qquoteadv,但产品具有来自qquoteadv模块的源模型的属性。

    如果删除了模块qquoteadv并且您没有计划安装此模块 - 请尝试删除此属性; 不要忘记备份数据库!