Skip to content

Instantly share code, notes, and snippets.

@timbroder
Created June 10, 2011 14:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save timbroder/1018992 to your computer and use it in GitHub Desktop.
Save timbroder/1018992 to your computer and use it in GitHub Desktop.
[adorama@time shell]$ php indexer.php --reindexall
Cannot load the ionCube PHP Loader - it was built with configuration 2.2.0, whereas running engine is API220090626,NTS
PHP Warning: PHP Startup: apc.shm_size now uses M/G suffixes, please update your ini files in Unknown on line 0
Product Attributes index was rebuilt successfully
Product Prices index was rebuilt successfully
Catalog URL Rewrites index was rebuilt successfully
Product Flat Data index was rebuilt successfully
Category Flat Data index process unknown error:
exception 'PDOException' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
`store_id` smallint(5) unsigned not null default '0',
`adr_abt` text default ''' at line 10' in /usr/local/home/adorama/qa/lib/Zend/Db/Statement/Pdo.php:228
Stack trace:
#0 /usr/local/home/adorama/qa/lib/Zend/Db/Statement/Pdo.php(228): PDOStatement->execute(Array)
#1 /usr/local/home/adorama/qa/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#2 /usr/local/home/adorama/qa/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#3 /usr/local/home/adorama/qa/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('CREATE TABLE `c...', Array)
#4 /usr/local/home/adorama/qa/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query('CREATE TABLE `c...', Array)
#5 /usr/local/home/adorama/qa/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Category/Flat.php(526): Varien_Db_Adapter_Pdo_Mysql->query('CREATE TABLE `c...')
#6 /usr/local/home/adorama/qa/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Category/Flat.php(433): Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat->_createTable('1')
#7 /usr/local/home/adorama/qa/app/code/core/Mage/Catalog/Model/Category/Indexer/Flat.php(237): Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat->rebuild()
#8 /usr/local/home/adorama/qa/app/code/core/Mage/Index/Model/Process.php(139): Mage_Catalog_Model_Category_Indexer_Flat->reindexAll()
#9 /usr/local/home/adorama/qa/app/code/core/Mage/Index/Model/Process.php(167): Mage_Index_Model_Process->reindexAll()
#10 /usr/local/home/adorama/qa/shell/indexer.php(158): Mage_Index_Model_Process->reindexEverything()
#11 /usr/local/home/adorama/qa/shell/indexer.php(198): Mage_Shell_Compiler->run()
#12 {main}
Next exception 'Zend_Db_Statement_Exception' with message 'SQLSTATE[42000]: Syntax error or access violation: 1064 You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near '
`store_id` smallint(5) unsigned not null default '0',
`adr_abt` text default ''' at line 10' in /usr/local/home/adorama/qa/lib/Zend/Db/Statement/Pdo.php:234
Stack trace:
#0 /usr/local/home/adorama/qa/lib/Zend/Db/Statement.php(300): Zend_Db_Statement_Pdo->_execute(Array)
#1 /usr/local/home/adorama/qa/lib/Zend/Db/Adapter/Abstract.php(480): Zend_Db_Statement->execute(Array)
#2 /usr/local/home/adorama/qa/lib/Zend/Db/Adapter/Pdo/Abstract.php(238): Zend_Db_Adapter_Abstract->query('CREATE TABLE `c...', Array)
#3 /usr/local/home/adorama/qa/lib/Varien/Db/Adapter/Pdo/Mysql.php(333): Zend_Db_Adapter_Pdo_Abstract->query('CREATE TABLE `c...', Array)
#4 /usr/local/home/adorama/qa/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Category/Flat.php(526): Varien_Db_Adapter_Pdo_Mysql->query('CREATE TABLE `c...')
#5 /usr/local/home/adorama/qa/app/code/core/Mage/Catalog/Model/Resource/Eav/Mysql4/Category/Flat.php(433): Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat->_createTable('1')
#6 /usr/local/home/adorama/qa/app/code/core/Mage/Catalog/Model/Category/Indexer/Flat.php(237): Mage_Catalog_Model_Resource_Eav_Mysql4_Category_Flat->rebuild()
#7 /usr/local/home/adorama/qa/app/code/core/Mage/Index/Model/Process.php(139): Mage_Catalog_Model_Category_Indexer_Flat->reindexAll()
#8 /usr/local/home/adorama/qa/app/code/core/Mage/Index/Model/Process.php(167): Mage_Index_Model_Process->reindexAll()
#9 /usr/local/home/adorama/qa/shell/indexer.php(158): Mage_Index_Model_Process->reindexEverything()
#10 /usr/local/home/adorama/qa/shell/indexer.php(198): Mage_Shell_Compiler->run()
#11 {main}
You have mail in /var/spool/mail/adorama
[adorama@time shell]$
[adorama@time shell]$
[adorama@time shell]$
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment