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) »
  • Importing Contacts Error
Pages: [1]

Author Topic: Importing Contacts Error  (Read 2108 times)

Blake

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 5
    • LinkedIn Profile
Importing Contacts Error
December 05, 2008, 02:01:26 pm
In 2.1.2 I'm continually getting an error while trying to import contacts.  Regardless of whether I'm using UTF8, UTF16, Mac line endings, Unix line endings, or DOS line endings, I'm always getting "Import Data File is a required field" for every CSV file I attempt to import.  I am supplying the file every time.  The file is under 2mb.

I am using my local install on my Mac with FF 3.0.3, Safari 3.2.1 running XAMPP 0.3 (19). How do I resolve this?
Using the import feature on the server at joomla.demo.civicrm.org seems to work fine, so its something with the local installation.

This is the same unresolved problem as listed here: http://forum.civicrm.org/index.php?topic=2698.0
« Last Edit: December 05, 2008, 02:11:08 pm by Blake »

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: Importing Contacts Error
December 05, 2008, 02:35:28 pm

so most likely your browser/server is not allowing uploads (or something in between). The code is not getting a file when doing validation and hence the error (at this stage we are not even checking the format)

if you jump on IRC, i can try to help out with a few debugging tips etc. I'd check the config and see if uploads work on that server

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

Blake

  • I post occasionally
  • **
  • Posts: 36
  • Karma: 5
    • LinkedIn Profile
Re: Importing Contacts Error
December 05, 2008, 05:15:24 pm
This is not a problem with CiviCRM at all, but a common problem with XAMPP. My solution was going to be use MAMP (which I may still do). But I figured it out.

Change
; Temporary directory for HTTP uploaded files (will use system default if not specified).
;upload_tmp_dir =

to

; Temporary directory for HTTP uploaded files (will use system default if not specified).
upload_tmp_dir = /tmp

If only I could have back the first few hours of my day now!

ChrisChinchilla

  • I post occasionally
  • **
  • Posts: 104
  • Karma: 3
  • CiviCRM version: 4.1.2
  • CMS version: Drupal 6 & 7
Re: Importing Contacts Error
June 27, 2013, 09:01:53 pm
Was having the same problem on the latest CiviCRM version on a Bitnami stack. This fixed it for me, thanks!
Melbourne CiviCRM meetup group - http://www.meetup.com/MelbourneCiviCRM/

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Import (Moderator: Yashodha Chaku) »
  • Importing Contacts Error

This forum was archived on 2017-11-26.