收到此错误Magento的产品的平面数据reindixing
,而在我的Magento数据库使用ssh命令
exception 'PDOException' with message 'SQLSTATE[HY000]: General error: 1005 Can't create table './admin_magento16/catalog_product_flat_4.frm' (errno: 150)' in /home/magesite/public_html/store/lib/Zend/Db/Statement/Pdo.php:228
重建索引没有catalog_product_flat_4表中获取中存在错误
我应该需要为此做什么?
你能否确认有足够的磁盘空间的网站和数据库用户具有“CREATE TABLE”特权? – benmarks
@benmark是的空间和特权都很好 –
所有迹象都指向了外键问题。请参阅以下文章并尝试重新索引:http://stackoverflow.com/a/5667983/833795 - 特别是关于“SHOW ENGINE INNODB STATUS”命令。此外,你可能会考虑承诺[有专门的StackExchane Magento站点的建议(链接)(http://area51.stackexchange.com/proposals/48872/magento?referrer=HFqQT3Qeb2X27y6ehRWkiw2),其中这样的问题,这将是一个更好的适合。 – benmarks