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 Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Unable to import using Safari 3
Pages: [1]

Author Topic: Unable to import using Safari 3  (Read 1131 times)

mike

  • Guest
Unable to import using Safari 3
August 07, 2007, 10:37:01 pm
I use Safari 3.0.3 on OS X and find that I am unable to import CSV files in CiviCRM 1.8 beta.

On the initial import page I select a CSV file and click "Continue" but I am returned to the page with an error saying "Import Data File is a required field". It's as though I never selected a CSV file at all.

Doing the same thing with Firefox works as expected, so I suspect it is an incompatibility with Safari 3 beta.

Can anyone else confirm this problem?

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: Unable to import using Safari 3
August 08, 2007, 03:24:00 pm

Confirmed :(

This is happening because safari3 does send the file type in the upload request. here is the dump of the $_FILES variable for safari:

Code: [Select]
    [uploadFile] => Array
        (
            [name] => 100.csv
            [type] =>
            [tmp_name] => /var/tmp/phpc0bbWh
            [error] => 0
            [size] => 4268
        )

and for firefox:

Code: [Select]
     [uploadFile] => Array
        (
            [name] => 100.csv
            [type] => text/x-csv
            [tmp_name] => /var/tmp/php99dB0W
            [error] => 0
            [size] => 4268
        )


Not sure if this is a safari bug or an optional feature. If folks have any ideas/links let me know. I'll look for a workaround later today

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

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: Unable to import using Safari 3
August 08, 2007, 05:00:46 pm

filed and fixed at: http://issues.civicrm.org/jira/browse/CRM-2175

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

Pages: [1]
  • CiviCRM Community Forums (archive) »
  • Old sections (read-only, deprecated) »
  • Support »
  • Using CiviCRM »
  • Using Core CiviCRM Functions (Moderator: Yashodha Chaku) »
  • Unable to import using Safari 3

This forum was archived on 2017-11-26.