• I have api key created and currently have no restrictions in place at all. I have the calendar id published without error. The shortcode is in place, and the calendar displays as expected here:
    https://saintstephenbyzantine.church/google-calendar/

    However the calendar is empty. We have a number of events on the calendar, but nothing shows up on the website at all.

    The process for setting the plugin up is pretty simple, and I’m not getting any errors. The calendar is just empty. What do I need to do to get my events to show up? Any insight is much appreciated!

    The page I need help with: [log in to see the link]

Viewing 15 replies - 1 through 15 (of 17 total)
  • I have a similar problem and guess that Google has altered their API access URL format.
    Have you tried using Google Chrome browser and right click to bring up the Console to see what error messages you get?
    Cheers
    David…

    Thread Starter christiantjr

    (@christiantjr)

    It occurred to me that Google may have changed something. I get the following when I check for an error message:

    fullcalendar.js?ver=5.2.2:831 Google Calendar API: Not Found
    Object
    domain: “global”
    message: “Not Found”
    reason: “notFound”
    __proto__: Object

    However, I admittedly have no idea what to do with this information. I regenerated API key and tried it again, but nothing has happened. Still just a blank calendar. I also tried variations with the shortcode to see if selecting a specific calendar would work, but that made no difference. If I switch to list view, I just get an empty box.

    Having the same problem. Only, if I switch to list view, I do see my events. It just doesn’t work for the big calendar.

    Thread Starter christiantjr

    (@christiantjr)

    Unfortunately I had to ditch this plugin for now. It seems to be unsupported, and I need it to work reliably. I can’t even get it set up, so upgrading to pro version doesn’t make sense. If the free version doesn’t even work, I don’t know why I’d pay for even more features that probably don’t work either.

    I’m confident this has something to do with Google changing some of their protocol. I like the clean, minimalist and responsive layout this plugin provides. Hopefully it will get updated or at least update documentation so it can be properly configured.

    There seems to be very few solutions to embed a Google calendar cleanly, which is interesting. I’m sure it’s a real pain keeping up with Google’s incessant updates and exceedingly obtuse documentation.

    Plugin Author Dan D

    (@duplaja)

    @christiantjr @sam-lowry

    Hello, and sorry for the delay in your response. This plugin is just something I put together in my spare time, so it’s unfortunately not something I can check as often as I would like (although usually it’s more often than this).

    If either of your are still interested in getting some assistance, I’d be happy to take a look, just let me know with a url to the page you’ve tried on. In the past, when I’ve seen an issue like this pop up, it’s due to deferred or combined JavaScript by a 3rd party plugin.

    Also, @christiantjr, just a quick comment: There is no pro version of this plugin, it is 100% free (just my way of giving back to the WP community).

    Thanks!
    Dan

    Thread Starter christiantjr

    (@christiantjr)

    Thank you Dan. I thought there was a pro version with additional styles and settings available. My apologies. The plugin doesn’t appear to display calendar events, even with other plugins disabled. I still have the calendar here:
    https://saintstephenbyzantine.church/google-calendar/

    The events just aren’t populating, everything else appears to work as expected. Any insight is much appreciated!

    Plugin Author Dan D

    (@duplaja)

    You are welcome! And no worries, that is alright.

    It looks like that page is currently visible to logged in users only? I’m only seeing a 404 on that page.

    Thank you,
    Dan

    Thread Starter christiantjr

    (@christiantjr)

    Apologies. I still have the plugin activated, but it appears I had the page set to draft. It should be publicly visible now.

    To get this working try these 4 things

    1. Go to the Google Calendar API page (https://console.developers.google.com/apis/library/calendar-json.googleapis.com) and enable the specific Google Calendar API. Don’t assume you’ve already done this. Double-check it using that link.
    2. Within the actual settings of your API, ensure that “Application restrictions” are set to “None”.
    3. Ensure that “API restrictions” are set to “Don’t restrict key”.
    4. And then, within Google Calendar for the calendar you want displayed on your site, ensure it has its “Access permissions” set to “Make available to public” (in other words, ticked).

    I hope this proves helpful.

    Thread Starter christiantjr

    (@christiantjr)

    Thank you @meau. I have visited this page and ensured the Google Calendar API is enabled. I’ve visited the API settings. Application restrictions are set to “none”, and API restrictions are set to “don’t restrict key”. Here is a screenshot:
    https://saintstephenbyzantine.church/wp-content/uploads/2019/09/Screen-Shot-2019-09-07-at-3.10.54-PM.png

    I noticed on the Google Calendar API home screen, the API is enabled, but there is also an error saying the following:
    IAM: you have insufficient permissions to enable or disable services and APIs for this project. Contact a project owner to request permissions.

    However, I’ve searched this error and am not finding anything to resolve. I am the sole admin and owner of this account, yet I evidently still don’t have sufficient permissions to manage the API. I have it activated, but I still don’t have *permission* to activate it. I have no idea what that even means. Any insight is much appreciated!

    @christiantjr
    Are you viewing everything with the correct Google account? For me, I had to be careful that I was logged in and viewing the Google Calendar API, the actual API, and the calendar itself of the account related to the calendar, not my personal Google account.

    If that’s all correct, then I’d suggest creating a new API from scratch.

    Thread Starter christiantjr

    (@christiantjr)

    I have recreated the API and confirmed the proper account is being accessed. I’ve also attempted to regenerate API key a couple times. The calendar just remains blank.

    Settings always save without error.

    I see on analytics that the api has been queried numerous times with a 100% error rate. This tells me that the app is synced up and loading when the calendar page loads, but there is something preventing the calendar items from populating.

    Before launching the site publicly, I had attempted running default theme and with other plugins deactivated, and the calendar remained blank at that time. I haven’t tested it for quite a while in that state.

    On the “Dan’s Google Calendar Settings” page, is the Google Calendar ID you have something like this?: [email protected]

    Thread Starter christiantjr

    (@christiantjr)

    I didn’t have the proper entry in the Calendar ID field. Good call. Thank you! I had the Public URL in there. Since nothing was showing up, I had been trying alternates for every setting and field I could find. Looks like I finally got it working with your help. Much appreciated!

    Plugin Author Dan D

    (@duplaja)

    @christiantjr Glad to hear you got it working! @meau , thanks for helping everyone out when I was on the road. I’ll be sending you a message in a bit, if that’s alright.

Viewing 15 replies - 1 through 15 (of 17 total)
  • The topic ‘Calendar is empty’ is closed to new replies.