我更新了mageto 1.4到1.5所有的东西, 但产品页面返回跟随错误。我也无法索引
索引类别/产品协会和指数产品价格标签显示处理 当我点击reindex时,它出现重建索引过程出现问题。
我尝试删除loc文件和缓存以及db上的一些操作但没有运气 任何人都可以帮我这个 谢谢
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 :(得分:0)
在magento数据库升级后,我在访问产品列表页面时遇到了类似的问题。 var / report /下记录的错误是:
SQLSTATE [42S22]:未找到列:1054'where子句'中的未知列'custom_use_parent_settings',查询为:SELECT
**/
。* FROMmain_table
AScatalog_category_flat_store_1
WHERE(entity_id IN('105','9','5','1'))AND(custom_use_parent_settings = 0)AND(main_table
!= 0)ORDER BYlevel
DESC
我要做的是:
在系统中刷新Magento缓存 - >缓存管理
在System>中重建所有索引指数管理