Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Author room34

    (@room34)

    Hi, I tested your ICS feed URL using the preview tool — https://icscalendar.com/preview —?and it displayed events, so it does look like that’s the correct URL and ICS Calendar is able to parse it successfully.

    And now a slew of questions…

    Have you verified that the ICS Calendar plugin is active? Have you tested your other plugins for a conflict? Are you using a caching plugin that may be interfering?

    What displays on your page when you insert the shortcode? Does it display an empty calendar grid, the shortcode itself, or nothing at all?

    Can you share the exact shortcode you’re using?

    Thanks!

    Thread Starter lilqhgal

    (@lilqhgal)

    Thanks for the quick response and help. To answer:

    Plugin is active. I haven’t checked for conflicts but don’t see anything major? No cache plugins. The page displays a calendar that is empty, and the debug (when true) shows that the calendar returns empty, yet clicking the link next to it to validate it says it’s good.

    Shortcode: [ics_calendar url="https://calendar.google.com/calendar/ical/i4tbmdasopork96gm87c3001l8%40group.calendar.google.com/public/basic.ics" view="month" reload="true" debug="true"]

    Here’s the debug:

    ICS CALENDAR DEBUGGER
    Array
    (
        [args] => Array
            (
                [arrayonly] => 
                [attach] => 
                [color] => 
                [columnlabels] => 
                [compact] => 
                [count] => 0
                [currentweek] => 
                [curlopts] => Array
                    (
                        [0] => 
                    )
    
                [customoptions] => Array
                    (
                        [0] => 
                    )
    
                [debug] => 1
                [description] => 
                [eventdesc] => 
                [extendmultiday] => 
                [feedlabel] => 
                [fixredundantuids] => 
                [format] => 
                [formatmonthyear] => F Y
                [guid] => 
                [hidealldayindicator] => 
                [hiderecurrence] => 
                [hidetimes] => 
                [legendinline] => 
                [legendposition] => 
                [legendstyle] => 
                [limitdays] => 365
                [limitdayscustom] => 
                [linebreakfix] => 
                [linktitles] => 
                [location] => 
                [maskinfo] => 
                [method] => 
                [monthnav] => 
                [nolink] => 
                [nomobile] => 
                [nomonthheaders] => 
                [organizer] => 
                [pastdays] => 0
                [reload] => 1
                [showendtimes] => 
                [skip] => 0
                [skiprecurrence] => 
                [startdate] => 0
                [tablebg] => 
                [title] => 
                [toggle] => 
                [tz] => 
                [url] => https://calendar.google.com/calendar/ical/i4tbmdasopork96gm87c3001l8%40group.calendar.google.com/public/basic.ics
                [view] => month
                [weeknumbers] => 
            )
    
        [Included date range] => 20220101 to 20221231
        [https://calendar.google.com/calendar/ical/i4tbmdasopork96gm87c3001l8%40group.calendar.google.com/public/basic.ics] => Array
            (
                [ICS Feed] => DOWNLOAD // VALIDATE
                [Errors] => Array
                    (
                        [0] => URL contents empty (https://calendar.google.com/calendar/ical/i4tbmdasopork96gm87c3001l8%40group.calendar.google.com/public/basic.ics)
                    )
    
            )
    
        [Peak memory usage] => 54.56 MB
        [Plugin Data] => Array
            (
                [events] => Array
                    (
                        [2022] => Array
                            (
                                [01] => 
                                [02] => 
                                [03] => 
                                [04] => 
                                [05] => 
                                [06] => 
                                [07] => 
                                [08] => 
                                [09] => 
                                [10] => 
                                [11] => 
                                [12] => 
                            )
    
                    )
    
                [urls] => https://calendar.google.com/calendar/ical/i4tbmdasopork96gm87c3001l8%40group.calendar.google.com/public/basic.ics
                [tz] => 
                [guid] => rffed9714-6f3b-4a75-b04d-e182427969c5
                [title] => 
                [description] => 
                [colors] => 
                [tablebg] => 
                [feed_titles] => Array
                    (
                    )
    
                [earliest] => 202201
                [latest] => 202212
            )
    
    )
    • This reply was modified 2 years, 10 months ago by lilqhgal.
    • This reply was modified 2 years, 10 months ago by lilqhgal.
    Thread Starter lilqhgal

    (@lilqhgal)

    Sorry I posted a response and it’s being held for moderation?

    Moderator Jan Dembowski

    (@jdembowski)

    Forum Moderator and Brute Squad

    Sorry I posted a response and it’s being held for moderation?

    The automated spam queue did it. It does that sometimes and I released that reply and archived the duplicate reply.

    Thread Starter lilqhgal

    (@lilqhgal)

    @jdembowski Thank you! And sorry for being persistent about the response, I didn’t know how long it would be in queue.

    Plugin Author room34

    (@room34)

    OK, I see in the debugger code you sent that it’s returning the URL contents empty error on loading the feed.

    That may mean that your server does not have the PHP cURL library active and is not configured with allow_url_fopen turned on. (Those are the two methods the plugin can use to retrieve the feed.)

    I tried your exact shortcode on my sandbox site and it’s working.

    Can you go to the ICS Calendar page in your admin and grab the System Report? I would recommend that you email it to me (email address is on that page) rather than posting it here.

    Thread Starter lilqhgal

    (@lilqhgal)

    Can you go to the ICS Calendar page in your admin and grab the System Report? I would recommend that you email it to me (email address is on that page) rather than posting it here.

    So here’s something interesting, it just shows a “critical error” message, and does not offer an email address to send.

    I have root access to the server, how do I check for `cURL?

    Plugin Author room34

    (@room34)

    First thing, I’d suggest you edit your wp-config.php file and temporarily turn on debugging… change the WP_DEBUG value to true. Then try loading that admin page again. It should give you a specific error message with the file and line number where the critical error is occurring. Paste that here and then set WP_DEBUG back to false.

    Thread Starter lilqhgal

    (@lilqhgal)

    Got cURL added and turned allow_url_fopen on and everything works!!

    Plugin Author room34

    (@room34)

    Great, thanks for confirming that resolved the issue.

Viewing 10 replies - 1 through 10 (of 10 total)
  • The topic ‘Google Calendar URL Empty’ is closed to new replies.