CiviCRM Community Forums (archive)

*

News:

Have a question about CiviCRM?
Get it answered quickly at the new
CiviCRM Stack Exchange Q+A site

This forum was archived on 25 November 2017. Learn more.
How to get involved.
What to do if you think you've found a bug.



  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error message on a fresh 3.2.3 Civicrm install on Drupal 6.19
Pages: [1]

Author Topic: Error message on a fresh 3.2.3 Civicrm install on Drupal 6.19  (Read 614 times)

mgregoire

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Error message on a fresh 3.2.3 Civicrm install on Drupal 6.19
October 20, 2010, 03:35:20 am
Hi,

I've juste finished a new intall of a CiviCRM 3.2.3 and, when I want to modify the domain infos, I've tgh following error message displayed :

DB Error: constraint violation
Error Details
Base de donnée de code d'erreur: Cannot add or update a child row: a foreign key constraint fails (`civicrm-vs/civicrm_acl_cache`, CONSTRAINT `FK_civicrm_acl_cache_contact_id` FOREIGN KEY (`contact_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE), 1452
Additional Details:

Array
(
    [callback] => Array
        (
           
  • => CRM_Core_Error
  • [1] => handle
            )

       
Code: [Select]
=> -3
    [message] => DB Error: constraint violation
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_acl_cache (contact_id , acl_id ) VALUES ( 102 ,  2 )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`civicrm-vs/civicrm_acl_cache`, CONSTRAINT `FK_civicrm_acl_cache_contact_id` FOREIGN KEY (`contact_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_acl_cache (contact_id , acl_id ) VALUES ( 102 ,  2 )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`civicrm-vs/civicrm_acl_cache`, CONSTRAINT `FK_civicrm_acl_cache_contact_id` FOREIGN KEY (`contact_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]
    [to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="" info="INSERT INTO civicrm_acl_cache (contact_id , acl_id ) VALUES ( 102 ,  2 )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`civicrm-vs/civicrm_acl_cache`, CONSTRAINT `FK_civicrm_acl_cache_contact_id` FOREIGN KEY (`contact_id`) REFERENCES `civicrm_contact` (`id`) ON DELETE CASCADE)]"]
)


Many thanks for the help !


Rahul Bile

  • I post occasionally
  • **
  • Posts: 112
  • Karma: 16
  • impossible says, I M Possible
    • I AM POSSIBLE
Re: Error message on a fresh 3.2.3 Civicrm install on Drupal 6.19
October 20, 2010, 03:51:36 am
Try logout/login.

Rahul.
Consider donating to CiviCRM if you use it. http://civicrm.org/donate

mgregoire

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 0
Re: Error message on a fresh 3.2.3 Civicrm install on Drupal 6.19
October 20, 2010, 04:00:15 am
Thanks it works like a charm now !

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error message on a fresh 3.2.3 Civicrm install on Drupal 6.19

This forum was archived on 2017-11-26.