【发布时间】:2014-05-24 13:55:38
【问题描述】:
我刚刚在我的 win 7(64 位)上安装了 Magneto 社区,包括 它似乎一切顺利,但在设置过程中出现以下错误: 将不胜感激任何想法。 发送!
处理您的请求时出错 SQLSTATE [42S02]:未找到基表或视图:1146 表“magento.index_process”不存在
【问题讨论】:
我刚刚在我的 win 7(64 位)上安装了 Magneto 社区,包括 它似乎一切顺利,但在设置过程中出现以下错误: 将不胜感激任何想法。 发送!
处理您的请求时出错 SQLSTATE [42S02]:未找到基表或视图:1146 表“magento.index_process”不存在
【问题讨论】:
在您的数据库中运行以下代码
CREATE TABLE IF NOT EXISTS `index_process` (
`process_id` int(10) unsigned NOT NULL AUTO_INCREMENT COMMENT 'Process Id',
`indexer_code` varchar(32) NOT NULL COMMENT 'Indexer Code',
`status` varchar(15) NOT NULL DEFAULT 'pending' COMMENT 'Status',
`started_at` timestamp NULL DEFAULT NULL COMMENT 'Started At',
`ended_at` timestamp NULL DEFAULT NULL COMMENT 'Ended At',
`mode` varchar(9) NOT NULL DEFAULT 'real_time' COMMENT 'Mode',
PRIMARY KEY (`process_id`),
UNIQUE KEY `UNQ_INDEX_PROCESS_INDEXER_CODE` (`indexer_code`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Index Process' AUTO_INCREMENT=10 ;
--
-- Dumping data for table `index_process`
--
INSERT INTO `index_process` (`process_id`, `indexer_code`, `status`, `started_at`, `ended_at`, `mode`) VALUES
(1, 'catalog_product_attribute', 'pending', '2014-05-03 00:20:11', '2014-05-03 00:20:11', 'real_time'),
(2, 'catalog_product_price', 'pending', '2014-05-03 00:20:12', '2014-05-03 00:20:12', 'real_time'),
(3, 'catalog_url', 'pending', '2014-05-03 00:29:34', '2014-05-03 00:29:34', 'real_time'),
(4, 'catalog_product_flat', 'pending', '2014-05-03 00:20:12', '2014-05-03 00:20:12', 'real_time'),
(5, 'catalog_category_flat', 'pending', '2014-05-03 00:11:40', '2014-05-03 00:11:40', 'real_time'),
(6, 'catalog_category_product', 'pending', '2014-05-03 00:29:34', '2014-05-03 00:29:34', 'real_time'),
(7, 'catalogsearch_fulltext', 'pending', '2014-05-03 00:29:34', '2014-05-03 00:29:34', 'real_time'),
(8, 'cataloginventory_stock', 'pending', '2014-05-03 00:20:11', '2014-05-03 00:20:11', 'real_time'),
(9, 'tag_summary', 'pending', '2014-05-03 00:20:12', '2014-05-03 00:20:12', 'real_time');
【讨论】:
从 Magento 根目录下的命令行 (SSH) 尝试:
重新索引所有索引:php ./shell/indexer.php -reindexall
删除缓存:rm -rf var/cache/*
希望有帮助!
【讨论】: