tel8618217223380 / restylegc

Automatically exported from code.google.com/p/restylegc
0 stars 0 forks source link

Calendar Stopped Displaying #40

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
With no changes on my part, the restyled calendar stopped displaying today. I 
also notice that the www.restylegc.com website is down with an "Error 
establishing a database connection" message. Perhaps the two are related. Is 
anyone else experiencing problems?

I am using restylegc 1.1.2 and I have updated the restylegc-js.php file to 
include '/static/' (aka, I have that patch)

Original issue reported on code.google.com by john.car...@gmail.com on 14 Jul 2014 at 8:57

GoogleCodeExporter commented 9 years ago
Yes, was trying myself to see if I could fix something.  I also tried moving 
back by removing the /static/ text. Can't see any evidence of Google changing 
calendar elements.

Original comment by rseyb...@grafton.k12.wi.us on 14 Jul 2014 at 9:00

GoogleCodeExporter commented 9 years ago
Don't think it references the restyle site.  Error seems to be in the local 
java script referencing something. 
Uncaught TypeError: undefined is not a function 

Original comment by rseyb...@grafton.k12.wi.us on 14 Jul 2014 at 9:41

GoogleCodeExporter commented 9 years ago
I'm getting the same thing on my calendar too. Stopped working again. Will have 
to go back to regular google styling for now until this gets resolved.

Original comment by geoff.fr...@hiwirecreative.ca on 15 Jul 2014 at 4:40

GoogleCodeExporter commented 9 years ago
Google continues to periodically change their code (which they are of course 
entitled to do).  After a little debugging this afternoon the following seems 
to work:

In file restylegc-js.php line 19, replace either
  $url = "https://www.google.com/calendar/" . $_SERVER['QUERY_STRING'];
or
  $url = "https://www.google.com/calendar/static/" . $_SERVER['QUERY_STRING']; depending on whether you applied the prior patch

with
  $url = "https:" . $_SERVER['QUERY_STRING'];

Still waiting for that beer to arrive via IM...

Original comment by hoscwebm...@gmail.com on 15 Jul 2014 at 7:00

GoogleCodeExporter commented 9 years ago
Amazing, works great! My calendar looks all pretty again. I will gladly buy you 
a Canadian beer!

Original comment by geoff.fr...@hiwirecreative.ca on 15 Jul 2014 at 9:18

Attachments:

GoogleCodeExporter commented 9 years ago
ty hoscwebm, my calendar is fully functional again now.

Original comment by Miguel.L...@gmail.com on 21 Jul 2014 at 12:01

GoogleCodeExporter commented 9 years ago
In file restylegc-js.php line 19, replace either
  $url = "https://www.google.com/calendar/" . $_SERVER['QUERY_STRING'];
or
  $url = "https://www.google.com/calendar/static/" . $_SERVER['QUERY_STRING']; depending on whether you applied the prior patch

with
  $url = "https:" . $_SERVER['QUERY_STRING'];

This fix worked perfectly!!!  Many thanks.

Original comment by yanacek...@gmail.com on 8 Oct 2014 at 2:09

GoogleCodeExporter commented 9 years ago
My calendar randomly started misbehaving today. It shows up on the webpage 
SOMETIMES. I have already implemented the patch from comment #4.

Original comment by UConnGam...@gmail.com on 8 Oct 2014 at 11:28