2014-10-08 58 views
0

所以我已經安裝了幾個擴展其中之一是fontis飼料生成器,一切工作正常,直到我嘗試和訪問管理類別它出現了「一直有一個錯誤處理您的要求」 的錯誤如下無法訪問儀表板中的類別(Magento)

a:5:{i:0;s:110:"Source model "feedsgenerator/googleproducts_source_taxonomy" not found    for attribute "google_product_category"";i:1;s:4101:"#0  

回答

1

運行該SQL代碼來檢查是否有屬性導致問題:

select * from eav_attribute where attribute_code = "google_product_category"; 

如果你得到的結果顯示屬性,那麼你應該將其刪除。要做到這一點,你可以做到以下幾點: 添加到您的index.php文件的末尾:

$installer = Mage::getResourceModel('catalog/setup','catalog_setup'); 
$installer->removeAttribute('catalog_category','google_product_category'); 

殘疾緩存運行的網站一次(確保代碼的運行),然後從兩線index.php文件。

現在應該修復。您可以通過再次運行sql代碼來檢查屬性是否仍然存在:

select * from eav_attribute where attribute_code = "google_product_category"; 
+0

謝謝!我當時擺脫了延期,並解決了問題 – 2015-05-15 02:50:19