Workaround to fix calendar sync problems
- samliddicott
- Member
- Posts: 77
- Joined: Wed May 20, 2009 9:48 am
- Location: England
I shall probably be closing down my server in the next couple of weeks, and so the work-around will no longer be operational.
Would anyone else (or perhaps the church?) host the workaround script? It is a single php script that makes use of /tmp to store log files to help users self-debug any failures they experience.
There is less than 2000 users making use of it.
I suppose whoever hosts it could insert advertising into the calendars Maybe the guys running ldsaudio would try? Anyone have a contact there we could put it to?
Would anyone else (or perhaps the church?) host the workaround script? It is a single php script that makes use of /tmp to store log files to help users self-debug any failures they experience.
There is less than 2000 users making use of it.
I suppose whoever hosts it could insert advertising into the calendars Maybe the guys running ldsaudio would try? Anyone have a contact there we could put it to?
-
- Member
- Posts: 72
- Joined: Wed Jan 26, 2011 11:55 am
- samliddicott
- Member
- Posts: 77
- Joined: Wed May 20, 2009 9:48 am
- Location: England
- TimRiker
- Church Employee
- Posts: 432
- Joined: Sun Dec 19, 2010 5:16 pm
- Location: USA, Utah
- Contact:
I don't know what the status on this is... I've added your script to the phpstack project. The test site for phpstack is here:
https://cdev.lds.org/phpstack/
https://cdev.lds.org/phpstack/ldscalendar/
I hope this is ok with you. Anyone here interested can join the phpstack project to work on this and other php scripts that often get reused on other projects.
I added proxy support to get to the lds.org original page from the community DMZ where this server is hosted. I cleaned up some warnings. I think it's working now. Testers welcome.
samliddicott I added you as a developer on the phpstack project. There's no attribution in the script. Feel free to add your contact info. I would like to add a church copyright as well if you're ok with that.
https://cdev.lds.org/phpstack/
https://cdev.lds.org/phpstack/ldscalendar/
I hope this is ok with you. Anyone here interested can join the phpstack project to work on this and other php scripts that often get reused on other projects.
I added proxy support to get to the lds.org original page from the community DMZ where this server is hosted. I cleaned up some warnings. I think it's working now. Testers welcome.
samliddicott I added you as a developer on the phpstack project. There's no attribution in the script. Feel free to add your contact info. I would like to add a church copyright as well if you're ok with that.
-
- New Member
- Posts: 23
- Joined: Sat Apr 16, 2011 1:53 pm
- Location: Plano, TX
I tried using the following link on my Google Calendar:
https://cdev.lds.org/phpstack/ldscalend ... xxxxxxxxxx where xxxxxxxxxxxxxxxxxxx is my calendar ID.
and I get this error in:
Settings Error
Could not fetch the url because robots.txt prevents us from crawling the url.
I also noticed that when trying to test my calendar id on the page https://cdev.lds.org/phpstack/ldscalendar/ the script removes the first number, so for my test I added a 0 in front and then re-performed the test.
https://cdev.lds.org/phpstack/ldscalend ... xxxxxxxxxx where xxxxxxxxxxxxxxxxxxx is my calendar ID.
and I get this error in:
Settings Error
Could not fetch the url because robots.txt prevents us from crawling the url.
I also noticed that when trying to test my calendar id on the page https://cdev.lds.org/phpstack/ldscalendar/ the script removes the first number, so for my test I added a 0 in front and then re-performed the test.
- TimRiker
- Church Employee
- Posts: 432
- Joined: Sun Dec 19, 2010 5:16 pm
- Location: USA, Utah
- Contact:
-
- New Member
- Posts: 23
- Joined: Sat Apr 16, 2011 1:53 pm
- Location: Plano, TX
Thank you.
Google let me add the calendar without error, it did not immediately sync. I will give it an hour or two and report back.
I put my calendar ID into the text field on the page (https://cdev.lds.org/phpstack/ldscalendar/) and when I press the button "Test My ID", the first number disappears and the test fails with text that ends in "URL does not work".
Each time I press "Test My ID", the number gets shorter by truncating the first number.
So I copied in my 19 digit number ID and then put a "0" in the front, effectively making the ID 20 digits long. The preceeding character has to be numeric for the truncating to occur, I tried adding an "a" and it stayed in placed and failed.
Google let me add the calendar without error, it did not immediately sync. I will give it an hour or two and report back.
TimRiker wrote: I do not see it removing any numbers from the calendar id
I put my calendar ID into the text field on the page (https://cdev.lds.org/phpstack/ldscalendar/) and when I press the button "Test My ID", the first number disappears and the test fails with text that ends in "URL does not work".
Each time I press "Test My ID", the number gets shorter by truncating the first number.
So I copied in my 19 digit number ID and then put a "0" in the front, effectively making the ID 20 digits long. The preceeding character has to be numeric for the truncating to occur, I tried adding an "a" and it stayed in placed and failed.
-
- New Member
- Posts: 23
- Joined: Sat Apr 16, 2011 1:53 pm
- Location: Plano, TX
- TimRiker
- Church Employee
- Posts: 432
- Joined: Sun Dec 19, 2010 5:16 pm
- Location: USA, Utah
- Contact: