Upgrading version 1.0.9 to 2.6

38 views
Skip to first unread message

Bonança

unread,
Aug 24, 2021, 7:28:40 AM8/24/21
to AtoM Users
Hello, im following this documentation
and in the php symfony propel:data-load migrated_data_xxxx.yml i get the error

Unable to execute INSERT statement. [wrapped: SQLSTATE[23000]: Integrity constraint violation: 1452 Cannot add or update a child row: a foreign key constraint fails (`qubit`.`term`, CONSTRAINT `term_FK_2` FOREIGN KEY (`taxonomy_id`) REFERENCES `taxonomy` (`id`) ON DELETE CASCADE)]

and i dont get why this error.

Could use some help :)

José Raddaoui

unread,
Aug 24, 2021, 7:43:38 AM8/24/21
to AtoM Users
Hi there,

Could it be that STRICT_TRANS_TABLES is enabled in the sql_mode? Check the final part of the MySQL install documentation ...


Best bregards,
Radda.
Reply all
Reply to author
Forward
0 new messages