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) »
  • Contact Import Fails on Step 4
Pages: [1]

Author Topic: Contact Import Fails on Step 4  (Read 1275 times)

carnellm

  • I’m new here
  • *
  • Posts: 6
  • Karma: 1
    • Palmetto Technology Hub
  • CiviCRM version: 3.4.2, 4.1.alpha2
  • CMS version: Drupal 6.2, 7.0 and WordPress 3.3
  • PHP version: 5.2.16
Contact Import Fails on Step 4
December 17, 2010, 09:21:03 am
I have specified a CSV file with headers, corrected any errors found so step 3 reports no errors and that it will import 633 valid rows out of 633. Unfortunately when I hit "Import Now" to go to step 4, then answer "Yes, that I really do want to import, I get the "importing..." block, and then a file download dialogue. 

The browser says I have chosen to open "contact" which is a "application/json" and asks whether I want to save the file.

I assume this is an internal file transfer that is not being received on the server but is somehow getting funneled out. Any ideas? I have let it sit as long as an hour, but no records were imported.

Is there some server side component not enabled? Just FYI, I am on CviCRM 3.3.1 against Drupal.

Thanks for any help!!  :-\

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Contact Import Fails on Step 4
December 17, 2010, 11:12:00 pm
IMO in general a file download dialogue implies some internal error occur at final ( 4th ) step of import process.

Could you download the file and take a close look for file contents.

Also you might want try to replicate issue on our public demo site : http://drupal.demo.civicrm.org/

In case issue persists, It would be great if you attach data file (.csv )  with some sample set of records 
and let us know your import field mapping.
( Of course any private / personal information should be disguised. )

thanks

kiran
You Are Designed To Choose... Defined By Choice.

penguintrax

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 2
  • CiviCRM version: 3.3x and 4.x depending on site
  • CMS version: Joomla 1.5 or 1.7 depending on site
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.17
Re: Contact Import Fails on Step 4
December 29, 2010, 01:03:49 pm
I'm having a similar issue and just tested the file on the demo site, where it worked fine. So, it must be something on my end, but I don't know what. PHP memory is set to 2 gig, which should be MORE than enough to import a file of only 650 records.

Kiran Jagtap

  • Ask me questions
  • ****
  • Posts: 533
  • Karma: 51
Re: Contact Import Fails on Step 4
December 30, 2010, 03:34:08 am
yep, issue is not related to memory size.

you might want to split data file in to multiple files, lets say each file carries 50 - 100 records.
and then try to import each file data on your local machine.

do check does it work and find out exact set / subset of records where import fails for you.

might going to give some pointers.

kiran
You Are Designed To Choose... Defined By Choice.

penguintrax

  • I post frequently
  • ***
  • Posts: 230
  • Karma: 2
  • CiviCRM version: 3.3x and 4.x depending on site
  • CMS version: Joomla 1.5 or 1.7 depending on site
  • MySQL version: 5.0.92-community
  • PHP version: 5.2.17
Re: Contact Import Fails on Step 4
December 30, 2010, 05:25:15 pm
Kiran,

I did split the file into smaller ones, 50-75 records and got the same error. I'm going to plan b, which is running the site locally on mamp and doing all my dev in that environment. I was able to do the import with all 640 records in one file, so I suspect my install may have been wonky in some way.

Thanks,
Barbara

Kampaweb

  • I’m new here
  • *
  • Posts: 16
  • Karma: 1
    • Campaignforum
  • CiviCRM version: 3.3.6
  • CMS version: Drupal 6.20
  • MySQL version: 5.1.54
  • PHP version: 5.3
Re: Contact Import Fails on Step 4
January 11, 2011, 06:51:10 am
I got the same error here and traced it down to some apparently faulty custom data fields.
When I excluded these fields from the import it worked fine.

I then created the same field new from scratch. This time the import worked with no problems.

HTH

Anyway, the question remains why some custom fields cause this error?
We passionately provide NPOs in Switzerland, Germany and Austria with the means to campaign succesfully.

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Contact Import Fails on Step 4

This forum was archived on 2017-11-26.