2012-06-26 49 views
1

我更新mageto 1.4到1.5所有東西都很好, 但產品頁面返回跟隨錯誤。還我不能索引產品頁面上的Magento錯誤無效的屬性名稱:custom_use_parent_settings

索引類/製品協會和指數產品的價格呈現出加工 當我重新索引它的出現有與重建索引過程問題單擊標籤。

我試圖刪除LOC文件和緩存和數據庫的一些操作,但沒有運氣 任何一個可以幫助我這個請 謝謝

http://hellteam.bizarsoftware.com.au/technical-downloads/general-tech-essays-misc.html

Invalid attribute name: custom_use_parent_settings. 

    Trace: 
    #0 /home/hellteam/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1166): Mage::exception('Mage_Eav', 'Invalid attribu...') 
    #1 /home/hellteam/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(1255): Mage_Eav_Model_Entity_Collection_Abstract->_addAttributeJoin('custom_use_pare...', 'inner') 
    #2 /home/hellteam/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(292): Mage_Eav_Model_Entity_Collection_Abstract->_getAttributeConditionSql('custom_use_pare...', 0, 'inner') 
    #3 /home/hellteam/public_html/app/code/core/Mage/Eav/Model/Entity/Collection/Abstract.php(312): Mage_Eav_Model_Entity_Collection_Abstract->addAttributeToFilter('custom_use_pare...', 0) 
    #4 /home/hellteam/public_html/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Category.php(589): Mage_Eav_Model_Entity_Collection_Abstract->addFieldToFilter('custom_use_pare...', 0) 
    #5 /home/hellteam/public_html/app/code/core/Mage/Catalog/Model/Category.php(841): Mage_Catalog_Model_Resource_Eav_Mysql4_Category->getParentDesignCategory(Object(Mage_Catalog_Model_Category)) 
    #6 /home/hellteam/public_html/app/code/core/Mage/Catalog/Model/Design.php(348): Mage_Catalog_Model_Category->getParentDesignCategory(Object(Mage_Catalog_Model_Category)) 
    #7 /home/hellteam/public_html/app/code/local/FastDivision/Comet/controllers/Catalog/CategoryController.php(38): Mage_Catalog_Model_Design->getDesignSettings(Object(Mage_Catalog_Model_Category)) 
    #8 /home/hellteam/public_html/app/code/core/Mage/Core/Controller/Varien/Action.php(420): FastDivision_Comet_Catalog_CategoryController->viewAction() 
    #9 /home/hellteam/public_html/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(253): Mage_Core_Controller_Varien_Action->dispatch('view') 
    #10 /home/hellteam/public_html/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) 
    #11 /home/hellteam/public_html/app/code/core/Mage/Core/Model/App.php(340): Mage_Core_Controller_Varien_Front->dispatch() 
    #12 /home/hellteam/public_html/app/Mage.php(627): Mage_Core_Model_App->run(Array) 
    #13 /home/hellteam/public_html/index.php(80): Mage::run('', 'store') 
    #14 {main} 

回答

0

Magento的數據庫升級後我有在瀏覽產品列表頁面時出現類似的問題。這是根據VAR /報告記錄錯誤/是:

SQLSTATE [42S22]:在 'where子句',查詢是1054未知列 'custom_use_parent_settings':列未找到。選擇main_table * FROM catalog_category_flat_store_1 AS main_table WHERE(ENTITY_ID IN( '105', '9', '5', '1'))AND(custom_use_parent_settings = 0)和(level!= 0)ORDER BY level DESC

我做了什麼來解決是:

  1. 沖洗Magento的緩存系統 - >緩存管理

  2. 重建中的所有索引系統>索引管理

相關問題