Events Made Easy Forums How do I … Import of locations from CSV

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #63654
    j-prause
    Participant

    I am getting a error warning: Not all required fields present.
    Nothing is imported.
    How to solve this please?

    #63655
    Franky
    Keymaster

    Since you don’t give an example of your CSV, I can only say that probably one of these columns is missing: “location_name”,”location_address1″,”location_city”

    #63656
    j-prause
    Participant

    The CSV file exported from eme, a few lines of many:

    “Name”,”Address1″,”City”,”Longitude”,”Latitude”,”Online only”
    “Cihelny”,”Cihelny 7″,”364 64 Bečov nad Teplou”,”12.8381″,”50.1787″,”No”
    “Beřovice”,”Beřovice u Slaného 15″,”Beřovice”,”14.1245″,”50.2696″,”No”
    “Poděbrady”,”Na Zálesí 530″,”290 01 Poděbrady”,”15.1443″,”50.1381″,”No”
    “Ropice”,”Ropice 415″,”739 56 Ropice”,”18.598″,”49.7047″,”No”
    “Nová Amerika”,”Kašov”,”551 01 Jaroměř”,”15.8694″,”50.3905″,”No”
    “Šilheřovice”,”Dolní 140″,”747 15 Šilheřovice”,”18.2723″,”49.9269″,”No”
    “Rožnov pod Radhoštěm”,”Radhošťská”,”756 61 Rožnov pod Radhoštěm”,”18.1683″,”49.4685″,”No”
    “Ostravice”,”Ostravice 75″,”739 14 Ostravice”,”18.3624″,”49.5504″,”No”

    Import to eme in another wordpress site gives message “Not all required fields present” and nothing is imported.

    #63657
    Franky
    Keymaster

    A CSV export from EME is not to be imported by EME, it is meant for excel … reason is that the titles are human readable, not the needed column titles. Change the title headers to be the ones needed and it will be ok.
    For the locations, you can see at the top of eme_locations.php (in the first defined function) the column names.

    #63659
    j-prause
    Participant

    That’s it, thank you!

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.