Body: <p>I'm creating a new content type and want the fields to largely be CiviCRM Contact fields.</p>
  
  <p>As I was adding a new Entity Reference field, I saved the field, selected the Target Type as CiviCRM Contact, and then clicked on 'Save field settings', but after about 1 minute of waiting, the server returned a 500 server error.</p>
  
  <p>I can skip that step by clicking over to the widget tab and saving there, but when I go back to edit that field from the list of fields, I get the same error.</p>
  
  <p>Other integration with Civi seems to be working okay.</p>
  
  <p>Thoughts?</p>
  
  <p>Thanks,
  Lewis</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2016-08-13T20:09:31.330Z
Comments.Text: Try some of the [approaches for debugging recommended here](http://civicrm.stackexchange.com/questions/6399/how-do-i-debug-civicrm-when-i-hit-a-blank-page-white-screen-fatal-error)? You're more likely to get an informed reply if the question gives sufficient detail about the error.
Comments.UserDisplayName: Chris Burgess
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-01-14T03:16:03.633Z
Comments.Text: what version of civicrm_entity ? I haven't heard of a report for this functionality, and I've used it many, many times myself.  Please include any messages from the drupal or php logs
Comments.UserDisplayName: jackrabbithanna
Tags: <drupal><civicrm-entity><entity-reference>
Title: 500 server error when creating entity reference field where entity is CiviCRM Contact
ThreadText: # 500 server error when creating entity reference field where entity is CiviCRM Contact
  
  (Asked by: username_0 on 2016-08-11)
  
  I'm creating a new content type and want the fields to largely be CiviCRM Contact fields.
  
  As I was adding a new Entity Reference field, I saved the field, selected the Target Type as CiviCRM Contact, and then clicked on 'Save field settings', but after about 1 minute of waiting, the server returned a 500 server error.
  
  I can skip that step by clicking over to the widget tab and saving there, but when I go back to edit that field from the list of fields, I get the same error.
  
  Other integration with Civi seems to be working okay.
  
  Thoughts?
  
  Thanks,
  username_0
  
  **Tags:** drupal, civicrm-entity, entity-reference
  
  > **Comments:**
  > **username_1**: Try some of the [approaches for debugging recommended here](http://civicrm.stackexchange.com/questions/6399/how-do-i-debug-civicrm-when-i-hit-a-blank-page-white-screen-fatal-error)? You're more likely to get an informed reply if the question gives sufficient detail about the error.  
  > **username_2**: what version of civicrm_entity ? I haven't heard of a report for this functionality, and I've used it many, many times myself.  Please include any messages from the drupal or php logs  
  
  ---
  
  ## 0 answers
  
  