Details
-
Type: Task
-
Status: Done/Fixed
-
Priority: Blocker
-
Resolution: Fixed/Completed
-
Affects Version/s: 2.0
-
Fix Version/s: 2.0
-
Component/s: Test suite
-
Labels:None
Description
Sorry. A non-recoverable error has occurred.
Database Error Code: Cannot add or update a child row: a foreign key constraint fails (`v20/civicrm_participant`, CONSTRAINT `FK_civicrm_participant_event_id` FOREIGN KEY (`event_id`) REFERENCES `civicrm_event` (`id`) ON DELETE CASCADE), 1452
Return to home page.
Error Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -1
[message] => DB Error: unknown error
[mode] => 16
[debug_info] => INSERT INTO civicrm_participant (contact_id , event_id , status_id , role_id , register_date , source , event_level ) VALUES ( 219 , 1 , 2 , 1 , 20070219 , 'Wimbeldon' , 'Payment' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`v20/civicrm_participant`, CONSTRAINT `FK_civicrm_participant_event_id` FOREIGN KEY (`event_id`) REFERENCES `civicrm_event` (`id`) ON DELETE CASCADE)]
[type] => DB_Error
[user_info] => INSERT INTO civicrm_participant (contact_id , event_id , status_id , role_id , register_date , source , event_level ) VALUES ( 219 , 1 , 2 , 1 , 20070219 , 'Wimbeldon' , 'Payment' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`v20/civicrm_participant`, CONSTRAINT `FK_civicrm_participant_event_id` FOREIGN KEY (`event_id`) REFERENCES `civicrm_event` (`id`) ON DELETE CASCADE)]
[to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_participant (contact_id , event_id , status_id , role_id , register_date , source , event_level ) VALUES ( 219 , 1 , 2 , 1 , 20070219 , 'Wimbeldon' , 'Payment' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`v20/civicrm_participant`, CONSTRAINT `FK_civicrm_participant_event_id` FOREIGN KEY (`event_id`) REFERENCES `civicrm_event` (`id`) ON DELETE CASCADE)]"]
)
orry. A non-recoverable error has occurred.
Database Error Code: Cannot add or update a child row: a foreign key constraint fails (`v20/civicrm_participant`, CONSTRAINT `FK_civicrm_participant_event_id` FOREIGN KEY (`event_id`) REFERENCES `civicrm_event` (`id`) ON DELETE CASCADE), 1452
Return to home page.
Error Details:
Array
(
[callback] => Array
(
[0] => CRM_Core_Error
[1] => handle
)
[code] => -1
[message] => DB Error: unknown error
[mode] => 16
[debug_info] => INSERT INTO civicrm_participant (contact_id , event_id , status_id , role_id , register_date , source , event_level ) VALUES ( 219 , 1 , 2 , 1 , 20070219 , 'Wimbeldon' , 'Payment' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`v20/civicrm_participant`, CONSTRAINT `FK_civicrm_participant_event_id` FOREIGN KEY (`event_id`) REFERENCES `civicrm_event` (`id`) ON DELETE CASCADE)]
[type] => DB_Error
[user_info] => INSERT INTO civicrm_participant (contact_id , event_id , status_id , role_id , register_date , source , event_level ) VALUES ( 219 , 1 , 2 , 1 , 20070219 , 'Wimbeldon' , 'Payment' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`v20/civicrm_participant`, CONSTRAINT `FK_civicrm_participant_event_id` FOREIGN KEY (`event_id`) REFERENCES `civicrm_event` (`id`) ON DELETE CASCADE)]
[to_string] => [db_error: message="DB Error: unknown error" code=-1 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_participant (contact_id , event_id , status_id , role_id , register_date , source , event_level ) VALUES ( 219 , 1 , 2 , 1 , 20070219 , 'Wimbeldon' , 'Payment' ) [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`v20/civicrm_participant`, CONSTRAINT `FK_civicrm_participant_event_id` FOREIGN KEY (`event_id`) REFERENCES `civicrm_event` (`id`) ON DELETE CASCADE)]"]
)