Home › Forums › Calendar Products › Event Aggregator › iCal import stopped working
- This topic has 21 replies, 3 voices, and was last updated 10 years, 2 months ago by
Support Droid.
-
AuthorPosts
-
January 15, 2016 at 9:57 am #1056724
Josh
ParticipantHey Lisa,
I apologize for the confusion. When I tested, I tested the link as well as downloading the root .ics file and importing. It was with the uploaded file for the file import that I was able to replicate the issues here. However, I just now went back through and deleted those files, re-uploaded the original file, but was still unable to get the file to recognize the events.
We’ve still got the ticket logged and we’ll follow up here as the developers dig into this issue.
Thanks!
January 22, 2016 at 2:32 pm #1060751Lisa LaGrou
ParticipantJosh,
Sadly, our issue has returned. It is not importing new Events in 2016 except the three we started with when we got it to work again last week. There are now 6 Events in the feed, but we’re only getting 3.
Also, we just tried this again on a totally clean WordPress install, running the WordPress 2016 theme and no plugins enabled except TEC. Still the same issue.
We also ran it on a separate site and we were able to import the 6 Events no problem. So, the issue definitely seems to be focused on our site!
I’m sending you a private message with our system info.
January 22, 2016 at 2:32 pm #1060753Lisa LaGrou
ParticipantThis reply is private.
January 25, 2016 at 6:21 am #1061756Josh
ParticipantHey Lisa,
Thanks for following up here! Could you also send a database dump to support[at]theeventscalendar.com? I know I previously mentioned that I didn’t believe this was a database issue, however with what you’re describing about it only happening on this one site it could be potentially be something there that was added in the past by another plugin that didn’t get removed when deactivating or deleting.
We’ll then be able to run some tests using your database content along with this system information. I apologize for the continued issues here, however hopefully this will give us everything we need to get to the root of this particular issue.
Thanks!
January 25, 2016 at 8:22 am #1061855Lisa LaGrou
ParticipantScott Barnett sent a database dump to Zach T on Friday night so you can get it from Zach.
January 26, 2016 at 8:56 am #1062595Josh
ParticipantHey Lisa,
Thanks for following up here and thanks for your patience as we work to get to the bottom of this.
I believe we may have figured out the root of the issue here. When deleting imported events, they don’t get completed removed from the database. They get saved as a new Custom Post Type entitled “deleted_event”. The first thing you’ll need to do to resolve is to delete all of these from the database. You can do this using phpMyAdmin and search for “deleted_post” in the post_type column of the wp_posts table (https://cloudup.com/cod5COrQOta).
You should then be able to search and import all the events from that iCal url!
Going forward, you can prevent this deleted post save by adding this following snippet to your theme’s functions.php file:
<!--?php <br ?--> ​ /* * Prevents iCal importer from saving a copy of "deleted" events * This means when you rerun an import, it will reimport any events you previously deleted */ function tribe_ical_dont_save_deleted () { $ical_importer = Tribe__Events__Ical_Importer__Main::instance(); remove_action( 'before_delete_post', array( $ical_importer, 'deletedEventSave' ) ); } add_action( 'wp_loaded', 'tribe_ical_dont_save_deleted' );Let me know if this helps.
Thanks!February 20, 2016 at 8:35 am #1078880Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘iCal import stopped working’ is closed to new replies.
