收到此錯誤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