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) »
  • Contact reference fields in 3.01
Pages: [1]

Author Topic: Contact reference fields in 3.01  (Read 912 times)

kelseygonzalez

  • Guest
Contact reference fields in 3.01
October 19, 2009, 09:06:36 am
Hi, don't know if there's a bug or I'm doing something wrong. Working on a site for kids school. Created custom data group with two fields of "Contact Reference" type. Dropdown works fine but doesn't recognize selection. Because of this, I tried to delete the fields and received error msg. I'm not experienced enough to understand how to debug. Did I configure something incorrectly in db? Error msg as follows:
   
Sorry. A non-recoverable error has occurred.

    DB Error: a515ac9c2796ca0e23adbe92c68fc9fc

    Database Error Code: Error on rename of './burleyptamanager/civicrm_value_student_information_1' to './burleyptamanager/#sql2-1921-fd13f4' (errno: 152), 1025

    Return to home page.

Error Details:

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

       
Code: [Select]
=> a515ac9c2796ca0e23adbe92c68fc9fc
    [message] => DB Error: a515ac9c2796ca0e23adbe92c68fc9fc
    [mode] => 16
    [debug_info] =>         ALTER TABLE civicrm_value_student_information_1 DROP COLUMN `parent_guardian_1_1`, DROP FOREIGN KEY FK_civicrm_value_student_information_1_parent_guardian_1_1 [nativecode=1025 ** Error on rename of './burleyptamanager/civicrm_value_student_information_1' to './burleyptamanager/#sql2-1921-fd13f4' (errno: 152)]
    [type] => DB_Error
    [user_info] =>         ALTER TABLE civicrm_value_student_information_1 DROP COLUMN `parent_guardian_1_1`, DROP FOREIGN KEY FK_civicrm_value_student_information_1_parent_guardian_1_1 [nativecode=1025 ** Error on rename of './burleyptamanager/civicrm_value_student_information_1' to './burleyptamanager/#sql2-1921-fd13f4' (errno: 152)]
    [to_string] => [db_error: message="DB Error: a515ac9c2796ca0e23adbe92c68fc9fc" code=0 mode=callback callback=CRM_Core_Error::handle prefix="" info="        ALTER TABLE civicrm_value_student_information_1 DROP COLUMN `parent_guardian_1_1`, DROP FOREIGN KEY FK_civicrm_value_student_information_1_parent_guardian_1_1 [nativecode=1025 ** Error on rename of './burleyptamanager/civicrm_value_student_information_1' to './burleyptamanager/#sql2-1921-fd13f4' (errno: 152)]"]
)

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: Contact reference fields in 3.01
October 19, 2009, 09:31:35 am

this is a bug, fixed for 3.0.2

http://issues.civicrm.org/jira/browse/CRM-5191

you can apply the patch from here:

http://fisheye2.atlassian.com/changelog/CiviCRM?cs=24218

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

kelseygonzalez

  • Guest
Re: Contact reference fields in 3.01
October 19, 2009, 09:57:09 am
Thanks for the quick response/links!!

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Post-installation Setup and Configuration (Moderator: Dave Greenberg) »
  • Contact reference fields in 3.01

This forum was archived on 2017-11-26.