• Resolved karlo90

    (@karlo90)


    Hello,

    i am very interessted in using this Plugin but it seems like the Demo is not working, at least it says “invalid file type” once i try to upload the demo csv you provided on your site.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author wpgear

    (@wpgear)

    1. Thank you for paying attention to this.
    It turns out that the Demo did not work for unauthorized users. And I didn’t know about it.

    Try it now.

    2. “invalid file type” – I could not repeat your mistake. Download the test CSV file and try on it.

    Thread Starter karlo90

    (@karlo90)

    i tried this and it still says “Invalid File Type!”

    I tried this form
    https://wpgear.xyz/en/import-excel-to-gravity-forms/

    Plugin Author wpgear

    (@wpgear)

    Three questions:
    1. Are you using this downloaded CSV file for verification?
    2. Do you change it or use it as is?
    3. Do you check this file on your Form (by installing the plugin) or right here?

    torontomedics2

    (@torontomedics2)

    I had the same error trying to use the demo. I installed the plugin on my site, but got the same (invalid file type!) error there as well. I didn’t make any changes to the csv file.

    Plugin Author wpgear

    (@wpgear)

    Look in the computer settings “Control Panel / Regional and Language Options / Customize … / Numbers”
    Field: “List separator”. There may be: “;” or “,”

    This Separator must match the Separator in Plugin Settings: “CSV Separator”

    Okay, the problem with the plugin is that in line 175 of gf-excel-import/includes/import_records.js you are only checking the File_Type if it is application/vnd.ms-excel which is for MS Office 2003 version or file saved with .xls extension.

    For CVS files the mime type can be either text/csv or application/csv depending on the platform being used.

    so I make some changes to fit into my need

    if ( 
    (File_Type == 'application/vnd.ms-excel') ||
    (File_Type == 'application/csv') ||
    (File_Type == 'text/csv') ||
    (File_Type == 'application/wps-office.xls') 
    ){ ....}

    From the INSTALLATION guide, it was not stated clearly that the user needs to change the data column to field ID (maybe I missed it)

    So for basic function, this plugin is good for what it does.

    Plugin Author wpgear

    (@wpgear)

    Fine. Thanks goodmuyis!
    your Name is specified in the new version of the plugin.

    @wpgear you can mark it resolve

    @karlo90 you may need to test the plugin again

    Plugin Author wpgear

    (@wpgear)

    OK. resolved

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Demo Upload’ is closed to new replies.