Cannot import into calendar ics (malformed response)

Home Forums Calendar Products Event Aggregator Cannot import into calendar ics (malformed response)

Viewing 12 posts - 1 through 12 (of 12 total)
  • Author
    Posts
  • #1137801
    Erik
    Participant

    1) I cannot figure out how to generate a “valid” ics file from Google Calendar. I’ve tried following the directions from the forums as well as even tested links from forum folk that turned out to be equally invalid. What are the best practices to create the proper ics link for importing?

    2) I cannot import any ics file, even the ones listed by techs in the forums. This seems to be a rather common problem. I just bought this plugin and cannot figure out how to get it to work.

    #1138272
    Josh
    Participant

    Hey Erik,

    Thanks for reaching out to us!

    I’m sorry to hear about the issues you’ve experienced. When getting the iCal link, are you following steps similar to the “See your calendar (view only)” tab here?

    Also, would you mind sending over a link of one of the calendars that you’ve tested so I can test with one of the same feeds you’ve tried generating?

    Finally, if no feeds are able to be read, have you tried following our Testing for Conflicts procedures to see if there are any conflicts at play with another plugin or your active theme?

    Thanks!

    #1138273
    Ben
    Participant

    I’m also running into the same issue from a Trumba ics feed. When I run it through a validator it fails and am wondering if that is the cause of it?

    http://severinghaus.org/projects/icv/?url=http%3A%2F%2Fwww.trumba.com%2Fcalendars%2Frankens_calendar.ics

    #1138358
    Erik
    Participant

    1) I followed the steps exactly as I did before. This is what was generated:

    https://calendar.google.com/calendar/ical/366cv9neg6be61v9brlt3mvir8%40group.calendar.google.com/public/basic.ics

    The calendar cannot be imported.

    2) I tested for conflicts. Also doesn’t work. Cannot import any calendar. Please help!

    #1139637
    Josh
    Participant

    Hey Erik,

    Thanks for following up with us!

    I tested both of those links and also got errors. However, looking into them further it looks like both of the calendars are showing errors on the feed side. For example, if you go to https://calendar.google.com/calendar/ical/366cv9neg6be61v9brlt3mvir8%40group.calendar.google.com/public/basic.ics directly, you’ll see the “feed processing error” on the google calendar page.

    As a further test here, does using http://wpshindig.com/events/?ical as the feed URL allow you to see events available for import?

    Thanks!

    #1139670
    Ben
    Participant

    I discovered a code issue that might be causing this error.

    <b>Parse error</b>: syntax error, unexpected T_OBJECT_OPERATOR in <b>/wp-content/plugins/the-events-calendar-importer-ical/src/Tribe/Utils/Timezone_Parser.php</b> on line <b>104</b><br />

    
    if ( ( new DateTime( $definition->getProperty( 'DTSTART' ) ) )->format( "c" ) == ( new DateTime( $transition["time"] ) )->format( "c" ) && $transition["offset"] === $this->parseOffsetToInteger( $definition->getProperty( 'TZOFFSETTO' ) ) ) {

    format is being called on a non-date object.

    I changed to:

    if ( ( new DateTime( $definition->getProperty( 'DTSTART' )->format( "c" ) ) ) == ( new DateTime( $transition["time"]->format( "c" ) ) ) && $transition["offset"] === $this->parseOffsetToInteger( $definition->getProperty( 'TZOFFSETTO' ) ) ) {

    and was able to import my events.

    • This reply was modified 7 years, 9 months ago by Ben.
    #1139679
    Erik
    Participant

    1) http://wpshindig.com/events/?ical allowed me to import events
    2) I altered the code according to Ben, but that didn’t allow me to import the calendar I wanted

    Why is the code from Google coming across incorrectly?

    #1139702
    Erik
    Participant

    So part of the issue is that the calendar had to be public.

    I imported it (http://demo.maketechbetter.com/events/month/), but the results are weird. It’s 77 of the same event on one day. That’s not right at all!

    #1140987
    Josh
    Participant

    Hey Erik,

    Thanks for following up here. I’m glad we were able to get to the root of the feed problem. However, I’m sorry to hear about the duplication issue here. Would you mind sending (in a private reply if you’d like) the feed for the public calendar?

    For the events that are currently in your site, were there any events in the database prior to the import that you would like to keep on the calendar? If not, it may be best to delete all posts of the event post type. You would then need to delete all the events that will then be in the “deleted_event” post type to allow testing of the import again. A great plugin that will help with this would be the bulk delete plugin.

    Once deleted, would you mind updating the plugins to their latest versions and test the import again?

    Thanks!

    #1141620
    Erik
    Participant

    This just isn’t working. How do I go about asking for a refund on the plugin extension?

    #1142053
    Josh
    Participant

    Hey Erik,

    I’m sorry for the inconvenience of these particular issues. Would love to help you work through these particular ones to try and get to the root of the issue here. However, if you would like a refund, you can request a refund for the purchase here https://theeventscalendar.com/knowledgebase/refund-policy/.

    Thanks!

    #1150574
    Support Droid
    Keymaster

    This 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.

Viewing 12 posts - 1 through 12 (of 12 total)
  • The topic ‘Cannot import into calendar ics (malformed response)’ is closed to new replies.