I have the same problem when trying to Rebuild Flat Catalog Product.
Additionally, if I try to Rebuild Flat Catalog Category it generates a rather nondescript error message in a red box at the top that says “Flat Catalog Category rebuild error” and that’s it.
I am having the same problem as Hridaya and getting the same error message. Does anyone have a fix for this? I would love to be able to Use Flat Catalog Product in 1.3.1
Can someone tell me if the fixed this? I’m trying to determine if disabling foreign key constraints will fix this? Is there an option with the uprade for not enabling flat product catalog, which might have created this error?
I know this is an old post but i will reply here with the solution just in case:
This table is automatically Generated by magento when you Reindex the “Product Flat Data” Index so Here’s what you have to do:
1) Go into phpmyadmin or access mysql daemon via ssh
2) Change the name of the table catalog_product_flat_1 to something like catalog_product_flat_OLD_1 (just for backup)
3) Reindex Product Flat Data in your Magento Admin Panel
4) Thanks me for the solution