|
We have a 1.7.0.2 site and we tried to reindex our data. All got reindexed, except one, PRODUCT PRICES.
I checked exception.log and found this,
2012-09-29T05:34:37+00:00 DEBUG (7): Exception message: SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn't match value count at row 1 Trace: #0 /var/www/firsthand.fi/www/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array) #1 /var/www/firsthand.fi/www/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array) #2 /var/www/firsthand.fi/www/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array) #3 /var/www/firsthand.fi/www/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('INSERT INTO `ca...', Array) #4 /var/www/firsthand.fi/www/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO `ca...', Array) #5 /var/www/firsthand.fi/www/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price/Default.php(287): Varien_Db_Adapter_Pdo_Mysql->query('INSERT INTO `ca...') #6 /var/www/firsthand.fi/www/app/code/core/Mage/Downloadable/Model/Resource/Indexer/Price.php(47): Mage_Catalog_Model_Resource_Product_Indexer_Price_Default->_prepareFinalPriceData() #7 /var/www/firsthand.fi/www/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php(385): Mage_Downloadable_Model_Resource_Indexer_Price->reindexAll() #8 /var/www/firsthand.fi/www/app/code/core/Mage/Index/Model/Indexer/Abstract.php(143): Mage_Catalog_Model_Resource_Product_Indexer_Price->reindexAll() #9 /var/www/firsthand.fi/www/app/code/core/Mage/Index/Model/Process.php(209): Mage_Index_Model_Indexer_Abstract->reindexAll() #10 /var/www/firsthand.fi/www/app/code/core/Mage/Index/Model/Process.php(255): Mage_Index_Model_Process->reindexAll() #11 /var/www/firsthand.fi/www/app/code/core/Mage/Index/controllers/Adminhtml/ProcessController.php(124): Mage_Index_Model_Process->reindexEverything() #12 /var/www/firsthand.fi/www/app/code/core/Mage/Core/Controller/Varien/Action.php(419): Mage_Index_Adminhtml_ProcessController->reindexProcessAction() #13 /var/www/firsthand.fi/www/app/code/core/Mage/Core/Controller/Varien/Router/Standard.php(250): Mage_Core_Controller_Varien_Action->dispatch('reindexProcess') #14 /var/www/firsthand.fi/www/app/code/core/Mage/Core/Controller/Varien/Front.php(176): Mage_Core_Controller_Varien_Router_Standard->match(Object(Mage_Core_Controller_Request_Http)) #15 /var/www/firsthand.fi/www/app/code/core/Mage/Core/Model/App.php(354): Mage_Core_Controller_Varien_Front->dispatch() #16 /var/www/firsthand.fi/www/app/Mage.php(683): Mage_Core_Model_App->run(Array) #17 /var/www/firsthand.fi/www/index.php(87): Mage::run('', 'store') #18 {main}
Whats the best way to solve this ?
|