我在Magento安装了一个发货扩展程序,然后将其删除,因为它不是我需要的。现在当我去Catalog>管理产品>并点击产品时出错:
"处理您的请求时出错
出于安全原因,默认情况下禁用异常打印。"
这是错误报告:
a:5:{i:0;s:122:"Source model "chcanpost2module/catalog_product_attribute_source_method" not found for attribute "allowed_shipping_methods"";i:1;s:3400:"#0 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(43407): Mage::exception('Mage_Eav', 'Source model "c...')
#1 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/Mage_Adminhtml_Block_Widget_Form.php(203): Mage_Eav_Model_Entity_Attribute_Abstract->getSource()
#2 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/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 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/Mage_Adminhtml_Block_Widget_Form.php(144): Mage_Adminhtml_Block_Catalog_Product_Edit_Tab_Attributes->_prepareForm()
#4 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(2591): Mage_Adminhtml_Block_Widget_Form->_beforeToHtml()
#5 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs.php(79): Mage_Core_Block_Abstract->toHtml()
#6 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(1966): Mage_Adminhtml_Block_Catalog_Product_Edit_Tabs->_prepareLayout()
#7 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27759): Mage_Core_Block_Abstract->setLayout(Object(Mage_Core_Model_Layout))
#8 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27775): Mage_Core_Model_Layout->createBlock('adminhtml/catal...', 'product_tabs')
#9 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27542): Mage_Core_Model_Layout->addBlock('adminhtml/catal...', 'product_tabs')
#10 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27508): Mage_Core_Model_Layout->_generateBlock(Object(Mage_Core_Model_Layout_Element), Object(Mage_Core_Model_Layout_Element))
#11 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(27513): Mage_Core_Model_Layout->generateBlocks(Object(Mage_Core_Model_Layout_Element))
#12 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(13949): Mage_Core_Model_Layout->generateBlocks()
#13 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(13874): Mage_Core_Controller_Varien_Action->generateLayoutBlocks()
#14 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/Mage_Adminhtml_Controller_Action.php(275): Mage_Core_Controller_Varien_Action->loadLayout(Array, true, true)
#15 /hsphere/local/home/c242672/shopgiftbaskets.ca/app/code/core/Mage/Adminhtml/controllers/Catalog/ProductController.php(250): Mage_Adminhtml_Controller_Action->loadLayout(Array)
#16 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(14023): Mage_Adminhtml_Catalog_ProductController->editAction()
#17 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(18385): Mage_Core_Controller_Varien_Action->dispatch('edit')
#18 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(17919): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http))
#19 /hsphere/local/home/c242672/shopgiftbaskets.ca/includes/src/__default.php(20519): Mage_Core_Controller_Varien_Front->dispatch()
#20 /hsphere/local/home/c242672/shopgiftbaskets.ca/app/Mage.php(684): Mage_Core_Model_App->run(Array)
#21 /hsphere/local/home/c242672/shopgiftbaskets.ca/index.php(87): Mage::run('', 'store')
#22 {main}";s:3:"url";s:81:"/index.php/admin/catalog_product/edit/id/20/key/c606cdb5ba1d53036e19caab127a32c3/";s:11:"script_name";s:10:"/index.php";s:4:"skin";s:5:"admin";}
有人知道我可以做些什么来消除错误吗?
谢谢!
答案 0 :(得分:1)
想出来。卸载后的发货延期保留在属性" allowed_shipping_methods"后面,我只需将其从管理员中删除 - >目录 - >管理属性页面。然后清除缓存并重新登录,错误消失了。
答案 1 :(得分:0)
当您说“已删除”扩展程序时,您采取了哪些具体步骤?
如果我是你,我会通过将活动节点设置为false来查看通过/ app / etc / modules中的xml文件禁用模块。
<?xml version="1.0" encoding="utf-8"?>
<config>
<modules>
<module_name>
<active>false</active>
<codePool>community</codePool>
</module_name>
</modules>
</config>
如果您在System-&gt; Tools-&gt; Compilation中运行Magento的编译器工具,请尝试暂时禁用它,看看是否仍然出现错误。