Magento

Magento reindexing problems – Solutions

  • Mujtaba

    Product Prices index process unknown error:
    exception ‘PDOException’ with message ‘SQLSTATE[21S01]: Insert value list does not match column list: 1136 Column count doesn’t match value count at row 1’ in /var/www/lib/Zend/Db/Statement/Pdo.php:228
    Stack trace:
    #0 /var/www/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
    #1 /var/www/lib/Varien/Db/Statement/Pdo/Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
    #2 /var/www/lib/Zend/Db/Statement.php(300): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
    #3 /var/www/lib/Zend/Db/Adapter/Abstract.php(479): Zend_Db_Statement->execute(Array)
    #4 /var/www/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query(‘INSERT INTO ca...', Array)
    #5 /var/www/lib/Varien/Db/Adapter/Pdo/Mysql.php(419): Zend_Db_Adapter_Pdo_Abstract->query('INSERT INTO
    ca…’, Array)
    #6 /var/www/app/code/local/Innoexts/StorePricing/Model/Mysql4/Downloadable/Indexer/Price.php(125): Varien_Db_Adapter_Pdo_Mysql->query(‘INSERT INTO `ca…’)
    #7 /var/www/app/code/core/Mage/Downloadable/Model/Resource/Indexer/Price.php(47): Innoexts_StorePricing_Model_Mysql4_Downloadable_Indexer_Price->_prepareFinalPriceData()
    #8 /var/www/app/code/core/Mage/Catalog/Model/Resource/Product/Indexer/Price.php(385): Mage_Downloadable_Model_Resource_Indexer_Price->reindexAll()
    #9 /var/www/app/code/core/Mage/Index/Model/Indexer/Abstract.php(143): Mage_Catalog_Model_Resource_Product_Indexer_Price->reindexAll()
    #10 /var/www/app/code/core/Mage/Index/Model/Process.php(209): Mage_Index_Model_Indexer_Abstract->reindexAll()
    #11 /var/www/app/code/core/Mage/Index/Model/Process.php(255): Mage_Index_Model_Process->reindexAll()
    #12 /var/www/shell/indexer.php(158): Mage_Index_Model_Process->reindexEverything()
    #13 /var/www/shell/indexer.php(198): Mage_Shell_Compiler->run()
    #14 {main}

    above is the error i got from reindexing from shell. i applied above methods but still product pricing gives error.

    • Did you apply Method-1 ? This is happened after updated to new version.Can you tell the exactly magento version ? Because in the new version need to updated include a couple of new fields in the database.

      • Krishna

        Hi,
        I have sa
        me above error. m
        upgraded version is 1.9.1.0pls help me to solve this

  • Pingback: unable to reindex product flat data have tried the following also magento search not working | DL-UAT()

  • Pingback: Unable to reindex product flat data | DL-UAT()

  • Bret

    Wow, thanks for this, just what i needed. After a lot of googling this was the one for me.
    The combination of removing the files in ‘ var / locks ‘ and running ‘reindexer.php’ fixed it.

    • Glad to hear that was fixed Bret. Thanks for your comment. Good luck !