installation error

Issue #94 resolved
coenswaans created an issue

Don't got time to do some lookup but still interested in this project.

Got error on install:

Migrating modules DB structure...

[1/18] Installing FCom_Cron: 0.1.1 ... 0.1.1; [2/18] Installing FCom_Catalog: 0.3.2 ... 0.2.27; ^0.3.0; ^0.3.1; ^0.3.2; [3/18] Installing FCom_CustomField: 0.2.3 ... 0.2.0; ^0.2.1; ^0.2.2; ^0.2.3; [4/18] Installing FCom_CatalogIndex: 0.1.9 ... 0.1.9; [5/18] Installing FCom_MultiLanguage: 0.1.1 ... 0.1.1; [6/18] Installing FCom_Cms: 0.1.5 ... 0.1.3; ^0.1.4; ^0.1.5; [7/18] Installing FCom_MarketClient: 0.2.3 ... 0.2.3; [8/18] Installing FCom_MultiSite: 0.1.1 ... 0.1.1; [9/18] Installing FCom_PushServer: 0.1.4 ... 0.1.3; ^0.1.4; [10/18] Installing FCom_Customer: 0.1.12 ... 0.1.11; ^0.1.12; [11/18] Installing FCom_CustomerGroups: 0.1.2 ... 0.1.2; [12/18] Installing FCom_Email: 0.1.2 ... 0.1.2; [13/18] Installing FCom_ProductCompare: 0.1.0 ... 0.1.0; [14/18] Installing FCom_ProductReviews: 0.2.5 ... 0.2.5; [15/18] Installing FCom_Sales: 0.3.12 ... *0.3.12;

SQLSTATE[HY000]: General error: 1215 Cannot add foreign key constraint

QUERY: ALTER TABLE fcom_sales_order ADD UNIQUE KEY UNQ_cart_id (cart_id), ADD CONSTRAINT FK_fcom_sales_order_cart FOREIGN KEY (cart_id) REFERENCES fcom_sales_cart (id) ON UPDATE CASCADE ON DELETE SET NULL, ADD CONSTRAINT FK_fcom_sales_order_customer FOREIGN KEY (customer_id) REFERENCES fcom_customer (id) ON UPDATE CASCADE ON DELETE SET NULL

LOCATION: /Users/coen/GitRepos/sellvana/core/FCom/Sales/Migrate.php:249 There was an error, please check the output or log file and try again.

Click here to continue

Comments (1)

  1. Log in to comment