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 »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Civiengage installation problem
Pages: [1]

Author Topic: Civiengage installation problem  (Read 831 times)

ericcumbee

  • Guest
Civiengage installation problem
June 28, 2010, 07:18:15 am
I have civicrm 3.2 b2 running on drupal 6.17 in php5 xampp as local host on my windows 7 laptop.
everything goes fine until i import the custom fields when i get this error
Code: [Select]
Array
(
    [callback] => Array
        (
            [0] => CRM_Core_Error
            [1] => handle
        )

    [code] => -3
    [message] => DB Error: constraint violation
    [mode] => 16
    [debug_info] => INSERT INTO civicrm_uf_field (field_name , is_active , is_view , is_required , weight , help_post , visibility , in_selector , is_searchable , label , field_type ) VALUES ('first_name' ,  1 ,  0 ,  1 ,  1 , '' , 'Public Pages' ,  0 ,  1 , 'First Name' , 'Individual' )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`civicrm`.`civicrm_uf_field`, CONSTRAINT `FK_civicrm_uf_field_uf_group_id` FOREIGN KEY (`uf_group_id`) REFERENCES `civicrm_uf_group` (`id`) ON DELETE CASCADE)]
    [type] => DB_Error
    [user_info] => INSERT INTO civicrm_uf_field (field_name , is_active , is_view , is_required , weight , help_post , visibility , in_selector , is_searchable , label , field_type ) VALUES ('first_name' ,  1 ,  0 ,  1 ,  1 , '' , 'Public Pages' ,  0 ,  1 , 'First Name' , 'Individual' )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`civicrm`.`civicrm_uf_field`, CONSTRAINT `FK_civicrm_uf_field_uf_group_id` FOREIGN KEY (`uf_group_id`) REFERENCES `civicrm_uf_group` (`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_uf_field (field_name , is_active , is_view , is_required , weight , help_post , visibility , in_selector , is_searchable , label , field_type ) VALUES ('first_name' ,  1 ,  0 ,  1 ,  1 , '' , 'Public Pages' ,  0 ,  1 , 'First Name' , 'Individual' )  [nativecode=1452 ** Cannot add or update a child row: a foreign key constraint fails (`civicrm`.`civicrm_uf_field`, CONSTRAINT `FK_civicrm_uf_field_uf_group_id` FOREIGN KEY (`uf_group_id`) REFERENCES `civicrm_uf_group` (`id`) ON DELETE CASCADE)]"]
)
[/code]

Donald Lobo

  • Administrator
  • I’m (like) Lobo ;)
  • *****
  • Posts: 15963
  • Karma: 470
    • CiviCRM site
  • CiviCRM version: 4.2+
  • CMS version: Drupal 7, Joomla 2.5+
  • MySQL version: 5.5.x
  • PHP version: 5.4.x
Re: Civiengage installation problem
July 06, 2010, 03:06:11 am

we have not yet tested CiviEngage with 3.2. We are currently working on a few enhancements to it and will merge it in the 3.2.1/3.2.2 timeframe (hopefully)

your best bet would be to use it with 3.1.5

If this is important to you / your org, please consider supporting the Canvassing project (which is an extension of CiviEngage):

http://wiki.civicrm.org/confluence/display/CRM/CiviCRM+for+Canvassing+and+GOTV

lobo
A new CiviCRM Q&A resource needs YOUR help to get started. Visit our StackExchange proposed site, sign up and vote on 5 questions

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Installing CiviCRM »
  • Drupal Installations (Moderator: Piotr Szotkowski) »
  • Civiengage installation problem

This forum was archived on 2017-11-26.