Home › Forums › Calendar Products › Event Aggregator › [iCal Importer] "No ical found at this url" Google Calendar Import
- This topic has 24 replies, 4 voices, and was last updated 10 years, 7 months ago by
Geoff.
-
AuthorPosts
-
September 3, 2015 at 6:51 am #1001579
Russell
ParticipantThanks for your help so far, Brook, and your willingness to help us in light of the deadlines we’re under!
September 4, 2015 at 7:36 am #1002102Brook
ParticipantYou’re welcome!
Alright folks, basically the change we are making is switching the use of file_get_contents() with wp_remote_get(). This quick walkthrough might get you going if you don’t mind making direct edits to code.
Go to this file plugins/the-events-calendar-importer-ical/src/Tribe/Feed_Parser.php:201 and swap out this line:
$contents = @file_get_contents( $this->args['url'] );
with:
$contents = @wp_remote_get( $this->args['url'] ); $contents = $contents['body'];
Further modify this file: /plugins/the-events-calendar-importer-ical/vendor/iCalcreator_3.0/iCalcreator/iCalVCALENDAR.class.php:378 by changing these lines:
if( FALSE === ( $content = @file_get_contents( $filename ))) return FALSE;
to:
$contents = @wp_remote_get( $filename ); $contents = $contents['body'];
Now we do not currently have the facility to test these changes, and actually our own bugfix will be different/more complex for a few reasons. But, it is my hope that those quick and dirty changes will make your servers import valid ics files for now while we work on a fix. Once we have released an update which includes a fix, all you will have to do is click update and you will be all patched up and not have to worry about this problem again.
Does that all make sense? Cheers!
– Brook
September 4, 2015 at 7:57 am #1002113Russell
ParticipantEven with those changes made, the problem persists.
September 8, 2015 at 10:34 am #1002998Brook
ParticipantThat is odd. Let me discuss this with the developer and get back to you in a couple of hours. it’s possible there is another area or two we need to change, or perhaps your issue is different.
- Brook
September 9, 2015 at 12:28 am #1003156Brook
ParticipantRussel, I am sorry we were not able to get together and talk about your issue today with our launch of 3.12 happening. We will talk tomorrow and see if there are any new ideas.
If you have a minute to try upgrading to 3.12 and seeing if it works better for you, please do. It is doubtful that 3.12 made much of a difference as it does not include our fixes for this issue. But, if your issue is indeed different than the one a couple others have experienced, perhaps 3.12 will help.
Thanks!
- Brook
September 9, 2015 at 5:31 am #1003191Russell
ParticipantThe update doesn’t seem to have fixed the issue.
September 10, 2015 at 8:28 am #1003713Russell
ParticipantThis reply is private.
-
This reply was modified 10 years, 7 months ago by
Russell.
September 10, 2015 at 11:20 am #1003813Russell
ParticipantSolved the problem with your update once I figured out it was a memory limit issue. Seems to be functioning perfectly.
September 10, 2015 at 11:23 pm #1004081Brook
ParticipantI am happy to hear it, russel. Thank you for bearing with us.
I have marked your topic in our bug tracker. You will be notified when an official release is ready that contains a built-in fix for this error.
If anybody is else is facing this error contact us for a modified version of 3.12 that contains a temporary fix.
Cheers!
– Brook
October 1, 2015 at 1:43 pm #1010646Geoff
MemberHey there, Russell! Just a heads up that iCal Importer 3.12.2 shipped just minutes ago and included a fix for the issue you reported here. Please do check it out and make the update!
Thanks for your support. 🙂
Geoff
-
AuthorPosts
- The topic ‘[iCal Importer] "No ical found at this url" Google Calendar Import’ is closed to new replies.
