Dashboard > CiviCRM Documentation > ... > 8. FAQ > Error DB Child
Error DB Child Log In | Sign Up   View a printable version of the current page.

 Contents
  Documentation Home

Database Error Code: Cannot add or update a child row: a foreign key constraint fails (`xxxx/civicrm_contact`, CONSTRAINT `FK_civicrm_contact_domain_id` FOREIGN KEY (`domain_id`) REFERENCES `civicrm_domain` (`id`)), 1452

It looks like you may not have loaded civicrm_data.mysql (or civicrm_generated.mysql), which is one of the install steps. Please review the install docs at 2. Install.

[Source. ]


Added by Judy Halllman , last edited by Judy Halllman on Feb 11, 2008  (view change)
Labels: 
(None)

Recently Updated  |  Documentation Credits

Howdy... I'm running into the same error upon confirming Membership selection for a new member.  The page should go to PayPal, but instead I get this DB error.  --- It seems to be caused by entering an email-address that already exists in the table.  So... if a user is already a member, and tries to join again... they get this error.  -- I'm new to this, but is there an error handler where I can set up a error page with a message like "We already have a member on file with this e-mail address"


please use the forums for support requests

Powered by a free Atlassian Confluence Open Source Project License granted to CiviCRM . Evaluate Confluence today.
Powered by Atlassian Confluence 2.7.1, the Enterprise Wiki. Bug/feature request - Atlassian news - Contact administrators