Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on May 4th, 2011  |  syntax: None  |  size: 2.04 KB  |  views: 195  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. Database Error Code: Cannot add or update a child row: a foreign key constraint fails (`gsa_civi`., CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`)), 1452
  2. Additional Details:
  3.  
  4. Array
  5. (
  6.     [callback] => Array
  7.         (
  8.             [0] => CRM_Core_Error
  9.             [1] => handle
  10.         )
  11.  
  12.     [code] => -3
  13.     [message] => DB Error: constraint violation
  14.     [mode] => 16
  15.     [debug_info] => ALTER TABLE `civicrm_pcp_block`  
  16.     ADD CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`) ON DELETE SET NULL [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`gsa_civi`.<result 2 when explaining filename '#sql-399c_117'>, CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`))]
  17.     [type] => DB_Error
  18.     [user_info] => ALTER TABLE `civicrm_pcp_block`  
  19.     ADD CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`) ON DELETE SET NULL [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`gsa_civi`.<result 2 when explaining filename '#sql-399c_117'>, CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`))]
  20.     [to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="" info="ALTER TABLE `civicrm_pcp_block`  
  21.     ADD CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`) ON DELETE SET NULL [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`gsa_civi`.<result 2 when explaining filename '#sql-399c_117'>, CONSTRAINT `FK_civicrm_pcp_block_supporter_profile_id` FOREIGN KEY (`supporter_profile_id`) REFERENCES `civicrm_uf_group` (`id`))]"]
  22. )