- This topic has 4 replies, 2 voices, and was last updated 2 years, 12 months ago by .
Viewing 5 posts - 1 through 5 (of 5 total)
Viewing 5 posts - 1 through 5 (of 5 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Import of locations from CSV
I am getting a error warning: Not all required fields present.
Nothing is imported.
How to solve this please?
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”
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.
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.
That’s it, thank you!