Domanda

Magento mi dice che ho bisogno di reindex, ma i prezzi del prodotto non sia con "C'è stato un problema con il processo di reindicizzazione." o "Impossibile inizializzare il processo di indicizzazione".

Ho provato a rimuovere tutto in var / serrature e var / report. Ho irrigato e rimosso tutti i file memorizzati nella cache. Ho anche eseguito questa query 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 ) ;

Questo è accaduto dopo ho rimosso alcuni interi da core_store_group e core_store perché non riuscivo a rimuovere alcune categorie di root dall'interfaccia prima. Tutto ciò che riguarda questi negozi sono stati rimossi.

Inoltre ho provato a fare funzionare l'indicizzatore sul server con:

php shell/indexer.php --reindexall

Mi ha dato:

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

corro PHP versione 5.4.19 e Magento 1.8.0.0 Ci scusiamo per la lunga domanda, applausi a nessuno che in realtà si prende il tempo di leggere il tutto!

È stato utile?

Soluzione

#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...')

La linea di cui sopra mediante:

Controlla il file /home/organico/public_html/app/code/local/Innoexts/AdvancedPricing/Model/Mysql4/Downloadable/Indexer/Price.php linea 134.

Si fa un INSERT INTO e si riferisce ad una colonna di 'data' che non esiste.

Se non hai fatto che l'estensione, contattare la persona che ha fatto.

Se si vuole fare in modo questa è davvero l'estensione che è il problema, disattivarlo e ri-index i vostri prodotti, dovrebbe funzionare.

La speranza che aiuta.

Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a magento.stackexchange
scroll top