Import not working

This topic contains 6 replies, has 3 voices, and was last updated by  Guust 9 years, 1 month ago.

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket

Tagged: ,

  • Author
    Posts
  • #61165

    travaggie
    Expired Member
    Post count: 23

    I’m trying to import a list of additions to our directory that we’re setting up and it isn’t working no matter what I try. I’ve made sure to set up the CSV exactly as the demo one recommends, in the same order, without any of the mandatory fields being empty at any point in the CSV and it simply does nothing. When I hit the “Import data now” button after selecting the file, it counts down the number of entries as if it’s working, but then when it’s completed nothing happens and no entries are imported. Is this a known issue or what could be the cause? I’ve attached the CSV for review.

    #61203

    Guust
    Moderator
    Post count: 29970

    You are missing the first column (post_id) and you do not have any dates or times for your events.

    I note that the sample Event CSV does not have a post_id column which is an error I think – I’ll check for you.

    #61227

    travaggie
    Expired Member
    Post count: 23

    I had tried it with the post_id field there originally and it didn’t work but I just tried it again and still not working. In the documentation it doesn’t say the event date/times are mandatory and we don’t have that information yet or some might not have them so is that a problem or should we delete those columns or do we have to leave all of theme in there even if they’re blank?

    #61239

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you can’t remove columns from the file. Blank the data instead. The column post_id must be there or import will not work.

    You can’t import events without dates. they are mandatory fileds.

    You must put at least a dummy date and edit them once you have the correct date.

    Thanks

    #61241

    travaggie
    Expired Member
    Post count: 23

    How do I import them as normal listings then and not specifically events? I don’t want them to have to have dates attached to them.

    #61245

    Paolo
    Site Admin
    Post count: 31206

    Hi,

    you can import them as gd_place (Places) instead, or any other custom post type except events.

    Thanks

    #61303

    Guust
    Moderator
    Post count: 29970

    The documentation has now been updated, thanks for pointing that out: https://wpgeodirectory.com/docs/core-export/#import

Viewing 7 posts - 1 through 7 (of 7 total)

We have moved to a support ticketing system and our forums are now closed.

Open Support Ticket
20% Discount Offer
Hurry! Get your 20% discount before it expires. Get 20% Discount