Home › Forums › Calendar Products › Event Aggregator › Cannot import into calendar ics (malformed response)
- This topic has 12 replies, 5 voices, and was last updated 7 years, 8 months ago by Erik.
-
AuthorPosts
-
July 9, 2016 at 9:45 am #1137801ErikParticipant
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.
July 11, 2016 at 11:37 am #1138272JoshParticipantHey 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!
July 11, 2016 at 11:42 am #1138273BenParticipantI’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?
July 11, 2016 at 1:40 pm #1138358ErikParticipant1) I followed the steps exactly as I did before. This is what was generated:
The calendar cannot be imported.
2) I tested for conflicts. Also doesn’t work. Cannot import any calendar. Please help!
July 14, 2016 at 6:56 am #1139637JoshParticipantHey 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!
July 14, 2016 at 8:03 am #1139670BenParticipantI 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.
July 14, 2016 at 8:36 am #1139679ErikParticipant1) 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 wantedWhy is the code from Google coming across incorrectly?
July 14, 2016 at 9:19 am #1139702ErikParticipantSo 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!
July 18, 2016 at 5:29 am #1140987JoshParticipantHey 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!
July 19, 2016 at 11:09 am #1141620ErikParticipantThis just isn’t working. How do I go about asking for a refund on the plugin extension?
July 20, 2016 at 10:55 am #1142053JoshParticipantHey 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!
August 11, 2016 at 9:35 am #1150574Support DroidKeymasterThis 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 ‘Cannot import into calendar ics (malformed response)’ is closed to new replies.