Support

Home Forums Event Espresso Premium importing events.csv, file is accepted, says events added, i don't see them?

importing events.csv, file is accepted, says events added, i don't see them?

Posted: February 12, 2014 at 10:18 pm

Viewing 12 reply threads


rcfc

February 12, 2014 at 10:18 pm

Similar to this post
https://eventespresso.com/topic/import-events-problem/

…after making a bunch of guesses and figuring out how to edit the csv without reformatting dates (google drive has this format option), it uploaded and says

File uploaded successfully. – events.csv

Upload file has been deleted.
Added a total of 15 events to the database.

but I don’t see the events. Am I missing something? When I look at Event Overview, I still only see “Events : All Events (2)”.

I’m assuming the EE4 importer is more elegant (and it looks like it has an exporter too! this would make it soooo much easier to guess around trying to figure out about formatting that csv), but for now I’m just trying to get this thing running for my homies.

Happy to give you guys an admin login or anything. Lemme know what you need!

Thanks,
josh


Dean

February 13, 2014 at 5:02 am

Hi,

If possible could we get a copy of the csv file you are importing?


Dean

February 14, 2014 at 4:17 am

Hi,

OK, there’s a couple of things that are an issue with your CSV file.

First off is the first column. You have this http://take.ms/hWISM, it should be this http://take.ms/4iN4V

Basically the top left cell must be 0 to tell the plugin to ignore that row, the rest MUST be 1, to tell the plugin to use that row. Any other numbers are ignored.

Secondly is the date format for start and end dates. You have 07/07/2014. It needs to be entered as 2014-7-07 (year-month-day). It might not look like that after you enter it, but that’s ok.


Ryan Campbell

February 14, 2014 at 10:22 am

Hi Dean — I am having the same issues with importing a .csv file. I’ve got the dates formatted correctly but see no event loaded even after the screen returns ‘file uploaded successfully’ … can you direct me to a solution?


Sidney Harrell

February 14, 2014 at 2:46 pm

Actually, it looks like all the dates are run through php’s strtotime function, so the formatting is a little loose. I found this in the comments on that function on php.net:

The best way to compensate for this is by modifying your joining characters. Forward slash (/) signifies American M/D/Y formatting, a dash (-) signifies European D-M-Y and a period (.) signifies ISO Y.M.D.


rcfc

February 15, 2014 at 9:43 pm

Dean,

Thanks for looking at that. If Sidney’s right, then the dates wouldn’t be too much of an issue. To be honest, however, I’m pretty sure my dates were correct in that file. It’s so hard to format them like this without using a text editor (every spreadsheet program I tried converts the dates immediately; Excel doesn’t come with that format as a cell formatting option!), and so much was made about this in the forums, that I’ve been paying pretty close attention. Just to be sure, I just downloaded that document out of my sent messages & opened it in Textmate and it looks fine. Here’s a line from it:

8,Level 2 Kids Foil Camp,description,N,2014-level-2-kids-foil-camp,2014-07-21,2014-07-25,9:00:00,12:00:00,20,$199,Y,3,N,Y,Y,2014-01-01,2014-07-21,summer-camps

This makes me almost wonder if you had the same problem — ie, your spreadsheet program converting the dates before showing them to you. I must say you guys have picked a problematic date format to standardize on.

As to the second issue (not sure what this is really — we can call it the “zero or one field”), the iteration of events.csv that I sent you was the very first to attempt using anything besides zeros and ones. In this iteration I was trying to start my numbering where existing events “ID” numbers left off. It was just a guess. (A lot of guessing going on when this csv doesn’t have any documentation….) I promise I’ll stick from zeros and ones from here out, but in any case this couldn’t have caused this issue either. And yes, just to be sure, I changed the numbers back to ones and still have the same issue.

So… you happen to have any other ideas? 🙂

Thanks,
josh


Dean

February 17, 2014 at 2:14 am

Hi,

After changing the 1’s and 0’s column the import worked for me, but I only found the events when I changed the event filter to display all as the dates were messed up. Can you change your filter and see if the events are there?


rcfc

February 17, 2014 at 12:41 pm

Dean,

As I said, it says it works, but even if I reload Event Overview, the filter info still reads thusly:

Filters
Events : All Events (2) | This Month (0) | Today (0) Attendees : All Attendees (2) | This Month (2) | Today ()

I noticed a subtle difference between your date format and my own. I am editing the spreadsheet in Google Drive & have dates like “2014-07-18”. When I download the file as CSV I can check that it’s unchanged. You suggested that I use “2014-7-07”, however — omitting a zero in the months column, where you wouldnt use it anyway. Could this be it?

josh


Dean

February 18, 2014 at 4:20 am

Hi,

This filter http://take.ms/AuBnd

Google Drive shouldn’t make a difference, plus it auto adds the Months leading zero (so July is 07) which is correct, the omission earlier was a typo (sorry!)

If that filter still doesn’t show events, I would like to get login details – along with permission to import test events.

If that’s ok, please send them via https://eventespresso.com/send-login-details/

NOTE: login details need to be Admin level and FTP details are appreciated.


rcfc

February 18, 2014 at 9:11 am

Dean –

You’re absolutely right. I didn’t know that filter was available. Indeed if I filter all, I see quite a few events that are inactive. It looks like the dates are all fubar (showing as 1969, which I assume means null or equivalent), while the Attendees field shows numbers like “0/2014-01-01”. This makes me think that my delimiters were parsed incorrectly. Do you happen to know what would cause that? In case a login would help, I’ll submit one now.

Thanks for your help,
josh


Dean

February 20, 2014 at 4:03 am

Hi Josh,

One thing I had not noticed prior to this (thanks to Tony’s keen eyes) is that there are missing columns from your spreadsheet.

Please try using the default spreadsheet and just leave the columns blank/with defaults should you not need to use them.


rcfc

February 25, 2014 at 2:07 pm

Ah yes! I had removed blank columns earlier when my formatting was failing validation. Now that I put those empty columns back in, the event dates are fixed, and so events show up as active!

A couple other things.

Categories field: Finally got them to work on import by using the Category Name instead of Unique Category Identifier.
Questuion: Also, I have a bazillion botched events and I’ve deleted them all except the last import. Is there a way to remove these deleted events permanently? Or is direct database action required?

I thank you for your help on what must surely be a tedious forum topic for you. I hate to waste your time with yet another post about csv formatting. It is such a touchy system & so lacking in documentation, though, that I didn’t know what else to do. A little documentation — or simply an Export feature (so that I can compare a CSV composed of existing events) — would save us all a lot of time. In any case I really really appreciate you’re bearing with me.


Josh

  • Support Staff

February 26, 2014 at 7:36 am

Hi there,

You can delete the events in the event overview. After deletion you’ll filter the event status to view the “deleted” events where you’ll see a “permanent delete” button.

Viewing 12 reply threads

The support post ‘importing events.csv, file is accepted, says events added, i don't see them?’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso