Answers.Body: <p>Stefan - in order to rule out it being a bug with your set up I would recommend you take an equivalent file and test on the Demo Site.</p>
  
  <p>I just created a file with 3 cells</p>
  
  <p>Peter | Davis | Acme</p>
  
  <p>I had already created Org = Acme in <a href="http://dmaster.demo.civicrm.org/" rel="nofollow noreferrer">http://dmaster.demo.civicrm.org/</a></p>
  
  <p>The import ran as expected.</p>
  
  <p>Acme now has an 'employee' called peter Davis</p>
  
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-11T18:47:25.347Z
Answers.Text: Indeed, it works in the online platform, import links employer to employee as expected. Could it have anything to do with the localization i'm using?
Answers.UserDisplayName: Stefan73be
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-12T23:11:49.560Z
Answers.Text: You might have to clarify what you mean by 'localisations' eg do you mean Currency, Country etc. In which case, I would v much doubt it. If you mean 'things on your local set up' then yes much more likely
Answers.UserDisplayName: petednz - fuzion
Answers.ContentLicense: CC BY-SA 3.0
Answers.CreationDate: 2017-09-10T21:26:33.070Z
Answers.LastActivityDate: 2017-09-10T21:26:33.070Z
Answers.UserDisplayName: petednz - fuzion
Body: <p>I have successfully imported all my organisations and I'm now trying to import my contacts which are employees of these organisations. I've read the relevant sections in the CiviCRM cookbook and the CiviCRM online manual, but I can't get it to work. </p>
  
  <p>I can import all contacts without a problem (around 3000 but have been playing and testing with just 10) but the relationship to the employer is never okay. Though i always checked "employee of" " organisation name match to contact".</p>
  
  <p>*I get this error too when importing: *"Warning: explode() expects parameter 2 to be string, array given in CRM_Contact_Import_Parser_Contact->import() (line 854 of /home/kasomk/www/www/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php)."**</p>
  
  <p>I've tried everything, been at it all (sun)day. So please help me! Who has a comprehensive step by step guido on how to import relations? Which fields need to be imported on which import, which duplicate checking should I do and how can i successfully import the relationships?</p>
  
  <p>Kind regards
  Stefan</p>
  
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-10T21:27:40.570Z
Comments.Text: confirm what version of civi you are on
Comments.UserDisplayName: petednz - fuzion
Comments.ContentLicense: CC BY-SA 3.0
Comments.CreationDate: 2017-09-11T18:39:47.353Z
Comments.Text: I'm on the latest and greatest 4.7.24. Just upgraded because i thought it could be a bug. Hosting is with civihosting, they set up the CiviCRM.
Comments.UserDisplayName: Stefan73be
Tags: <import><relationships>
Title: Cannot get the import of employer-employee relationship to work
ThreadText: # Cannot get the import of employer-employee relationship to work
  
  (Asked by: username_0 on 2017-09-10)
  
  I have successfully imported all my organisations and I'm now trying to import my contacts which are employees of these organisations. I've read the relevant sections in the CiviCRM cookbook and the CiviCRM online manual, but I can't get it to work.
  
  I can import all contacts without a problem (around 3000 but have been playing and testing with just 10) but the relationship to the employer is never okay. Though i always checked "employee of" " organisation name match to contact".
  
  \*I get this error too when importing: \*"Warning: explode() expects parameter 2 to be string, array given in CRM\_Contact\_Import\_Parser\_Contact->import() (line 854 of /home/kasomk/www/www/sites/all/modules/civicrm/CRM/Contact/Import/Parser/Contact.php)."\*\*
  
  I've tried everything, been at it all (sun)day. So please help me! Who has a comprehensive step by step guido on how to import relations? Which fields need to be imported on which import, which duplicate checking should I do and how can i successfully import the relationships?
  
  Kind regards
  Stefan
  
  **Tags:** import, relationships
  
  > **Comments:**
  > **username_1**: confirm what version of civi you are on  
  > **username_0**: I'm on the latest and greatest 4.7.24. Just upgraded because i thought it could be a bug. Hosting is with civihosting, they set up the CiviCRM.  
  
  ---
  
  ## 1 answers
  
  ### Answer by username_1 on 2017-09-10. Score: 1
  
  Stefan - in order to rule out it being a bug with your set up I would recommend you take an equivalent file and test on the Demo Site.
  
  I just created a file with 3 cells
  
  Peter | Davis | Acme
  
  I had already created Org = Acme in <http://dmaster.demo.civicrm.org/>
  
  The import ran as expected.
  
  Acme now has an 'employee' called peter Davis
  
  > **Comments:**
  > **username_0**: Indeed, it works in the online platform, import links employer to employee as expected. Could it have anything to do with the localization i'm using?  
  > **username_1**: You might have to clarify what you mean by 'localisations' eg do you mean Currency, Country etc. In which case, I would v much doubt it. If you mean 'things on your local set up' then yes much more likely  
  
  ---
  
  