1

mageto 1.4 を 1.5 にアップデートしたところ、問題なく更新できましたが、製品ページで次のエラーが返されます。また、インデックスを作成することはできません

インデックス化されたカテゴリ/製品の関連付けとインデックス製品の価格 再インデックスをクリックすると処理を示すラベルが表示されます再インデックス処理に問題がありました

locファイルとキャッシュを削除して、データベースでいくつかの操作を試みましたが、運が悪かったので、誰も助けてくれませんでしたplsありがとう

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}
4

1 に答える 1

0

Magento データベースのアップグレード後、製品リスト ページにアクセスしたときに同様の問題が発生しました。var/report/ の下に記録されたエラーは次のとおりです。

SQLSTATE [42S22]: 列が見つかりません: 1054 不明な列 'custom_use_parent_settings' in 'where 句'、クエリ: SELECT main_table.* FROM catalog_category_flat_store_1AS main_tableWHERE (entity_id IN ('105', '9', '5', '1') ) AND (custom_use_parent_settings = 0) AND ( level!= 0) ORDER BY levelDESC

私が修正したことは次のとおりです。

  1. システムの Magento キャッシュをフラッシュ -> キャッシュ管理

  2. [システム] > [インデックス管理] ですべてのインデックスを再構築します

于 2015-05-01T13:05:59.963 に答える