Closed obrienk10 closed 8 years ago
It is for me. Follow the steps under "See your calendar (View Only)" here: https://support.google.com/calendar/answer/37648?hl=en
It used to work fine until I updated. The comment in the code even seems to indicate that it's known to be broken. Haven't tried the latest updates but will try again next week.
On 24 Dec 2015 9:55 p.m., Tilo notifications@github.com wrote:It is for me. Follow the steps under "See your calendar" here: https://support.google.com/calendar/answer/37648?hl=en
—Reply to this email directly or view it on GitHub.
Seems to be doing the same thing for me - at the moment it's simply outputting a "500 server error" when I put in my ICAL-URL from Google.
i tried the "see your calendar" and even some easy basic .ics url, but i don´t get to see a calendar. No error, just nothing. Did i miss something? I just added my own URL into config.js
Yes, same thing for me since latest update.
Updated config.js as per and also tried entering it straight into the PHP file however no luck.
Same error here. Have tried putting the .ics url both in the config.js and controllers/calendar.php.
I get the following message in the chrome debugging tool: ical_parser.js:32 GET http://192.168.1.9/controllers/calendar.php?url=https%3A%2F%2Fcalendar.google.com%2Fcalendar%2Fical%2my-private-calendar-url/basic.ics 500 (Internal Server Error)
That is exactly the error I'm getting.
I had the same problem. There's a parenthesis missing at line 33 in controllers/functions/gzip.php
if(stristr($h, "content-encoding") and stristr($h, "gzip") {
should be
if(stristr($h, "content-encoding") and stristr($h, "gzip")) {
that change got it working for me...
That fixed it for me too. Thanks!
Worked perfectly, thanks for investigating.
I'm the person that made the server part modular, but I will submit a pull request to fix it. Thanks for letting us know!
Worked for me , Thanks so much!
It seems the calendar.php has moved to the controllers folder on https://github.com/MichMich/MagicMirror
Here is what I did, everything works except for my google calendar.
JS>CONFIG.JS
CONTROLLERS>CALENDAR.PHP
CONTROLLERS>FUNCTIONS>GZIP.PHP
INDEX.PHP
Everything works except my calendar still wont load. I have the code on: http://www.magicmirror.xcellwebdesign.com
Any help is much appreciated :)
Adding the bracket worked for me as well! Been trying to figure this out all week!
Thanks!
This issue has been fixed as of acceptance of commit 91a57fdd88d331759462b8c312cd62d797fe9924. Please close this issue, @MichMich.
Hi, I'm having the same issue as xcellcior. The extra parenthesis is added on line 33 and I'm using my gcal ical private address in config.js ... but no luck with the calendar showing. Any help is much appreciated.
It looks like the latest code no longer works with Google calendar dates. It only shows recurring events now, not one-off events. I'm no javascsript expert, but I took a look, and in calendar.js the 'seconds' variable always seems to be negative. The obvious culprit is the piece of code marked "//FIXME: problems with Gmail's TimeZone", so I guess it's a known issue.