[iCal Importer] "No ical found at this url" Google Calendar Import

Home Forums Calendar Products Event Aggregator [iCal Importer] "No ical found at this url" Google Calendar Import

Viewing 10 posts - 16 through 25 (of 25 total)
  • Author
    Posts
  • #1001579
    Russell
    Participant

    Thanks for your help so far, Brook, and your willingness to help us in light of the deadlines we’re under!

    #1002102
    Brook
    Participant

    You’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

    #1002113
    Russell
    Participant

    Even with those changes made, the problem persists.

    #1002998
    Brook
    Participant

    That 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
    #1003156
    Brook
    Participant

    Russel, 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
    #1003191
    Russell
    Participant

    The update doesn’t seem to have fixed the issue.

    #1003713
    Russell
    Participant

    This reply is private.

    • This reply was modified 10 years, 7 months ago by Russell.
    #1003813
    Russell
    Participant

    Solved the problem with your update once I figured out it was a memory limit issue. Seems to be functioning perfectly.

    #1004081
    Brook
    Participant

    I 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

    #1010646
    Geoff
    Member

    Hey 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

Viewing 10 posts - 16 through 25 (of 25 total)
  • The topic ‘[iCal Importer] "No ical found at this url" Google Calendar Import’ is closed to new replies.