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 in CiviCRM when deleting Drupal organic group?
Pages: [1]

Author Topic: Error in CiviCRM when deleting Drupal organic group?  (Read 1068 times)

cameron

  • Guest
Error in CiviCRM when deleting Drupal organic group?
February 06, 2008, 01:59:22 pm
Hi there,

I have just tried to delete an organic group in Drupal with the following error... any ideas?

Thanks

Are you sure you want to delete Marketing Team for Social Ecology?

unrecoverable error
    Sorry. A non-recoverable error has occurred.

    Database Error Code: Cannot delete or update a parent row: a foreign key constraint fails, 1217

    Return to home page.

Error Details:

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

       
Code: [Select]
=> -3
    [message] => DB Error: constraint violation
    [mode] => 16
    [debug_info] => DELETE FROM civicrm_acl  WHERE (  civicrm_acl.domain_id = 1 )  AND (  civicrm_acl.object_table  = 'civicrm_saved_search' ) AND (  civicrm_acl.object_id = 7 ) [nativecode=1217 ** Cannot delete or update a parent row: a foreign key constraint fails]
    [type] => DB_Error
    [user_info] => DELETE FROM civicrm_acl  WHERE (  civicrm_acl.domain_id = 1 )  AND (  civicrm_acl.object_table  = 'civicrm_saved_search' ) AND (  civicrm_acl.object_id = 7 ) [nativecode=1217 ** Cannot delete or update a parent row: a foreign key constraint fails]
    [to_string] => [db_error: message="DB Error: constraint violation" code=-3 mode=callback callback=CRM_Core_Error::handle prefix="" info="DELETE FROM civicrm_acl  WHERE (  civicrm_acl.domain_id = 1 )  AND (  civicrm_acl.object_table  = 'civicrm_saved_search' ) AND (  civicrm_acl.object_id = 7 ) [nativecode=1217 ** Cannot delete or update a parent row: a foreign key constraint fails]"]
)


cameron

  • Guest
Re: Error in CiviCRM when deleting Drupal organic group?
February 07, 2008, 03:37:08 pm
Further to the last error I just received the error below when I tried to add phone number details to my Drupal profile which is linked to Civicrm profile.... could this mean there is a communications glitch between drupal and civicrm??

     Sorry. A non-recoverable error has occurred.

    Return to home page.

Error Details:

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

       
Code: [Select]
=>
    [message] => not connected
    [mode] => 16
    [debug_info] =>
    [type] => PEAR_Error
    [user_info] =>
    [to_string] => [pear_error: message="not connected" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info=""]

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Error in CiviCRM when deleting Drupal organic group?

This forum was archived on 2017-11-26.