• Resolved deekay0711

    (@deekay0711)


    I’ve stumbled upon this issue previously, but thought it was caused by the number of feeds I’m trying to import.
    I’m importing multiple feeds and the problem is, that the feed provider will send an empty ics-File, if a calendar doesn’t contain any dates.
    If that happens, my ICS Calender will show the following error and none of the other calendar feeds will be shown:
    Warning: ICS file could not be retrieved or was empty. ICS Calendar plugin requires cURL or allow_url_fopen. Please check your php.ini configuration. in /homepages/31/d688937405/htdocs/app688937480/wp-content/plugins/ics-calendar/class-r34ics.php on line 299

    Is it possible to allow empty ics-Files to avoid this issue? Maybe by adding a new optional parameter?

    • This topic was modified 4 years, 9 months ago by deekay0711.
Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author room34

    (@room34)

    One empty feed shouldn’t be causing the rest not to appear. Is the one that is empty the first one in the list, by chance? If so, can you change the order of the URLs in your shortcode and see if that causes the others to appear? (This is not a fix… just a diagnostic test.)

    Thread Starter deekay0711

    (@deekay0711)

    I’ve tried different constellations. The error is shown no matter if the empty feed is the first or the last one in the list.
    This is my shortcode:

    [ics_calendar url="https://custos.drs.de/noauth/extern/files/externerPfarreikalender/g6yMEKAMIFHyYkuHl4egIiuAb5w2WWC7b2LsCwd1kawHtZdbeYZEWBn0UCnI0Gvq.ics https://custos.drs.de/noauth/extern/files/externerPfarreikalender/TGnS174efnu0q6SIEyS8aim7DIJUQSFCwArAUcnk0xl5ja9JdGRM3ZfERaRzqMux.ics https://custos.drs.de/noauth/extern/files/externerPfarreikalender/YLAVAsYX2A5IKPCkVxB9sXIQuzRE0orixJLIkBXEXYUzxr2vF55XY7WgGflVLcGw.ics https://custos.drs.de/noauth/extern/files/externerPfarreikalender/gETcvlrsN41VYL4QvqSSALjOwANeSi1ZaBAoOQ7WJbLtAJCwBTTGDmpZZ0NZSSGX.ics https://custos.drs.de/noauth/extern/files/externerPfarreikalender/fsv1MtFOJj41llJPy4UKGx88FFNRxyhYdnmhrNpWYDO4yCiCLDu5me70OGhWGGgl.ics" color="#ab161b #ab161b #2e2f92 #00a627 #09d2ff" location="true" eventdesc="true"]

    • This reply was modified 4 years, 9 months ago by deekay0711.
    Plugin Author room34

    (@room34)

    OK, I’ve identified the issue in the plugin. Yes, if any of the feeds is empty, it’s bailing out completely. I’ll have a fix available shortly.

    Plugin Author room34

    (@room34)

    Version 5.8.0.1 fixes this issue and will be available in the next few minutes.

    Thread Starter deekay0711

    (@deekay0711)

    Great, thank you for your support.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Empty ics files causing errors’ is closed to new replies.