質問

Magentoは、私は再インド化する必要があると言っていますが、製品の価格は「再インネックスプロセスに問題があった」と失敗します。または「インデクサープロセスを初期化できません」。

VAR/LOCKSとVAR/REPORTですべてを削除しようとしました。すべてのキャッシュされたファイルをフラッシュして削除しました。また、このSQLクエリを実行しました:

DELETE pf1.*
FROM catalog_product_flat_1 pf1
LEFT JOIN catalog_product_entity p ON pf1.entity_id = p.entity_id
WHERE ISNULL( p.entity_id ) ;

これは、その前にインターフェイスからいくつかのルートカテゴリを削除できなかったため、Core_store_groupとcore_storeからいくつかを削除した後に起こりました。これらの店舗に関連するすべてが削除されました。

また、サーバー上のインデクサーを以下で実行しようとしました。

php shell/indexer.php --reindexall

それは私に与えました:

Product Attributes index was rebuilt successfully
Product Prices index process unknown error:
exception 'PDOException' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cwd.date' in 'field list'' in /home/organico/public_html/lib/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /home/organico/public_html/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /home/organico/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#2 /home/organico/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#3 /home/organico/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#4 /home/organico/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `ca...', Array)
#5 /home/organico/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `ca...', Array)
#6 /home/organico/public_html/app/code/local/Innoexts/AdvancedPricing/Model/Mysql4/Downloadable/Indexer/Price.php(134): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `ca...')
#7 /home/organico/public_html/app/code/core/Mage/Downloadable/Model/Resource/Indexer/Price.php(47): Innoexts_AdvancedPricing_Model_Mysql4_Downloadable_Indexer_Price->_prepareFinalPriceData()
#8 /home/organico/public_html/app/code/local/Innoexts/AdvancedPricing/Model/Mysql4/Catalog/Product/Indexer/Price.php(193): Mage_Downloadable_Model_Resource_Indexer_Price->reindexAll()
#9 /home/organico/public_html/app/code/core/Mage/Index/Model/Indexer/Abstract.php(143): Innoexts_AdvancedPricing_Model_Mysql4_Catalog_Product_Indexer_Price->reindexAll()
#10 /home/organico/public_html/app/code/core/Mage/Index/Model/Process.php(210): Mage_Index_Model_Indexer_Abstract->reindexAll()
#11 /home/organico/public_html/app/code/core/Mage/Index/Model/Process.php(258): Mage_Index_Model_Process->reindexAll()
#12 /home/organico/public_html/shell/indexer.php(166): Mage_Index_Model_Process->reindexEverything()
#13 /home/organico/public_html/shell/indexer.php(212): Mage_Shell_Compiler->run()
#14 {main}

Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42S22]: Column not found: 1054 Unknown column 'cwd.date' in 'field list'' in /home/organico/public_html/lib/Zend/Db/Statement/Pdo.php:234
Stack trace:
#0 /home/organico/public_html/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 /home/organico/public_html/app/code/core/Zend/Db/Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 /home/organico/public_html/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 /home/organico/public_html/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `ca...', Array)
#4 /home/organico/public_html/lib/Varien/Db/Adapter/Pdo/Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `ca...', Array)
#5 /home/organico/public_html/app/code/local/Innoexts/AdvancedPricing/Model/Mysql4/Downloadable/Indexer/Price.php(134): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `ca...')
#6 /home/organico/public_html/app/code/core/Mage/Downloadable/Model/Resource/Indexer/Price.php(47): Innoexts_AdvancedPricing_Model_Mysql4_Downloadable_Indexer_Price->_prepareFinalPriceData()
#7 /home/organico/public_html/app/code/local/Innoexts/AdvancedPricing/Model/Mysql4/Catalog/Product/Indexer/Price.php(193): Mage_Downloadable_Model_Resource_Indexer_Price->reindexAll()
#8 /home/organico/public_html/app/code/core/Mage/Index/Model/Indexer/Abstract.php(143): Innoexts_AdvancedPricing_Model_Mysql4_Catalog_Product_Indexer_Price->reindexAll()
#9 /home/organico/public_html/app/code/core/Mage/Index/Model/Process.php(210): Mage_Index_Model_Indexer_Abstract->reindexAll()
#10 /home/organico/public_html/app/code/core/Mage/Index/Model/Process.php(258): Mage_Index_Model_Process->reindexAll()
#11 /home/organico/public_html/shell/indexer.php(166): Mage_Index_Model_Process->reindexEverything()
#12 /home/organico/public_html/shell/indexer.php(212): Mage_Shell_Compiler->run()
#13 {main}
Catalog URL Rewrites index was rebuilt successfully
Category Products index was rebuilt successfully
Catalog Search Index index was rebuilt successfully
Stock Status index was rebuilt successfully
Tag Aggregation Data index was rebuilt successfully

私はPHPバージョン5.4.19とMagento 1.8.0.0の長い質問で申し訳ありません。

役に立ちましたか?

解決

#6 /home/organico/public_html/app/code/local/Innoexts/AdvancedPricing/Model/Mysql4/Downloadable/Indexer/Price.php(134): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `ca...')

上記の行は、次のことを意味します。

ファイル/home/organico/public_html/app/code/local/innoexts/advancedpricing/model/mysql4/downloadable/indexer/price.php line 134を確認してください。

挿入を行い、存在しない「日付」列を指します。

その拡張機能を作成しなかった場合は、それを作った人に連絡してください。

これが実際に問題である拡張機能であることを確認したい場合は、それを無効にし、製品を再インデックスする必要があります。

それが役立つことを願っています。

ライセンス: CC-BY-SA帰属
所属していません magento.stackexchange
scroll top