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 »
  • Using Import (Moderator: Yashodha Chaku) »
  • [Resolved] Member import delimiter problem
Pages: [1]

Author Topic: [Resolved] Member import delimiter problem  (Read 556 times)

permaculturegeek

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
    • Permaculture in New Zealand
  • CiviCRM version: 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
[Resolved] Member import delimiter problem
March 05, 2014, 03:21:19 am
I am trying to import a csv file of individual member data to our test installation of civiCRM (4.4.2).
However, whenever I proceed to the mapping stage, the importer is seeing an entire row as a single field.
I have tried changing delimiter (; to ,) and have tried quoting all strings - nothing seems to make a difference. The contacts import didn't have this problem, and I recall there being fields where you could define delimiters on the first screen of that process.

Any ideas?

Richard
« Last Edit: March 05, 2014, 08:18:54 pm by permaculturegeek »

CiviTeacher.com

  • I live on this forum
  • *****
  • Posts: 1282
  • Karma: 118
    • CiviTeacher
  • CiviCRM version: 3.4 - 4.5
  • CMS version: Drupal 6&7, Wordpress
  • MySQL version: 5.1 - 5.5
  • PHP version: 5.2 - 5.4
Re: Member import delimiter problem
March 05, 2014, 02:44:58 pm
Try making sure the CSV is encoded as UTF8
Try CiviTeacher: the online video tutorial CiviCRM learning library.

Shai

  • I post frequently
  • ***
  • Posts: 202
  • Karma: 8
    • Content2zero
  • CiviCRM version: 4.3.x, 4.4.x, 4.5.x
  • CMS version: Drupal 7
  • MySQL version: 5.5.x
  • PHP version: 5.3.x, 5.4.x
Re: Member import delimiter problem
March 05, 2014, 05:35:25 pm
Hi Permaculture Geek,

I had the problem you had. For me the problem was MS Excel 2008 on a Mac. It simply wouldn't create a csv in the way that CiviCRM wanted.

I switched to using LibreOffice and the problem was solved.

I prefer Excel to LibreOffice, so I manipulate all data using Excel, save the file in .xlsx format (I dont' want to have multipel csv's that I get confused. Then I open LibreOffice and open the .xlsx file and than save as a .csv. And then no problem with CiviCRM.

Even if your situation is slightly different than mine, I still would give a shot at using a different program to create your csv file.

And as CiviTeacher.com wrote, do make sure the encoding is UTF8.

Shai
Don't miss out! Sign up now for free expert advice on CiviCRM's new StackExchange help site.

permaculturegeek

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
    • Permaculture in New Zealand
  • CiviCRM version: 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
[Resolved] Member import delimiter problem
March 05, 2014, 08:18:09 pm
First, yes, I always use UTF8, and I was using Apache Openoffice, although the file would have been last saved by Editplus.

I got it to work by changing the delimiter to pipe, as I recalled that was what civi was using in exports. Taking another look at contacts import, I see the delimiter field is an override for the defaults. However, having been right through Admin->System Settings I can't find anywhere that I might view or edit the defaults.

JonGold

  • Ask me questions
  • ****
  • Posts: 638
  • Karma: 81
    • Palante Technology
  • CiviCRM version: 4.1 to the latest
  • CMS version: Drupal 6-7, Wordpress 4.0+
  • PHP version: PHP 5.3-5.5
Re: [Resolved] Member import delimiter problem
March 06, 2014, 02:40:40 pm
The delimiter is set in Administer -> Localization -> Languages, Currency, Locations.  It's counterintuitive, though it helps if you know that the preferred delimiter tends to be a matter of national preference: http://en.wikipedia.org/wiki/Comma-separated_values#Example
Sign up to StackExchange and get free expert CiviCRM advice: https://civicrm.org/blogs/colemanw/get-exclusive-access-free-expert-help

permaculturegeek

  • I post occasionally
  • **
  • Posts: 44
  • Karma: 2
    • Permaculture in New Zealand
  • CiviCRM version: 4.4.x
  • CMS version: Drupal 7.x
  • MySQL version: 5.1.x
  • PHP version: 5.3.x
Re: [Resolved] Member import delimiter problem
March 06, 2014, 04:15:52 pm
Thanks Jon. Adding to our private documentation.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • [Resolved] Member import delimiter problem

This forum was archived on 2017-11-26.