Magento错误:SQLSTATE [42S02]:未找到基表或视图:1146表' DATABASENAMEHERE.mage_index_process'不存在

时间:2015-07-08 09:16:08

标签: mysql magento

我收到此错误 -

  

Magento错误:SQLSTATE [42S02]:找不到基表或视图:1146   表' DATABASENAMEHERE.mage_index_process'不存在

下面是相同的堆栈跟踪。

Trace:
#0 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Varien\Db\Statement\Pdo\Mysql.php(110): Zend_Db_Statement_Pdo->_execute(Array)
#1 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Zend\Db\Statement.php(291): Varien_Db_Statement_Pdo_Mysql->_execute(Array)
#2 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Zend\Db\Adapter\Abstract.php(479): Zend_Db_Statement->execute(Array)
#3 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Zend\Db\Adapter\Pdo\Abstract.php(238): Zend_Db_Adapter_Abstract->query('SELECT `mage_in...', Array)
#4 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Varien\Db\Adapter\Pdo\Mysql.php(428): Zend_Db_Adapter_Pdo_Abstract->query('SELECT `mage_in...', Array)
#5 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\lib\Zend\Db\Adapter\Abstract.php(791): Varien_Db_Adapter_Pdo_Mysql->query(Object(Varien_Db_Select), Array)
#6 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Index\Model\Resource\Setup.php(66): Zend_Db_Adapter_Abstract->fetchCol(Object(Varien_Db_Select))
#7 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Index\Model\Resource\Setup.php(45): Mage_Index_Model_Resource_Setup->_syncIndexes()
#8 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Core\Model\Resource\Setup.php(235): Mage_Index_Model_Resource_Setup->applyUpdates()
#9 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Core\Model\App.php(417): Mage_Core_Model_Resource_Setup::applyAllUpdates()
#10 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\code\core\Mage\Core\Model\App.php(343): Mage_Core_Model_App->_initModules()
#11 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\app\Mage.php(684): Mage_Core_Model_App->run(Array)
#12 C:\Program Files (x86)\EasyPHP-DevServer-14.1VC9\data\localweb\skinbp\index.php(87): Mage::run('', 'store')
#13 {main}

如何解决此问题或将其追踪?

1 个答案:

答案 0 :(得分:0)

您应首先验证数据库中是否存在该表。

如果您找不到该表,则按照以下帖子创建包含转储数据的表。

Magento - Base table or view not found

或者尝试从命令行重新索引所有内容,如该帖子

中所述