We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 21455
    • 26 Posts
      • 7923
      • 4,213 Posts
      Have you set your calendar feed public in Google calendar settings? I can’t access it..


        "He can have a lollipop any time he wants to. That's what it means to be a programmer."
        • 21455
        • 26 Posts
        I’ve done it ! but the error is still here !
          • 14050
          • 788 Posts
          Do you have any events? I think this error might be caused from you having no future events, which if the case is a bug, and I should create a check to make sure that some events exist.

          Jesse
            Jesse R.
            Consider trying something new and extraordinary.
            Illinois Wine

            Have you considered donating to MODx lately?
            Donate now. Every contribution helps.
            • 21455
            • 26 Posts
            So, i created events on my calendar ! and the same error appear ...
              • 14050
              • 788 Posts
              That’s strange...here is the exact snippet you can download from this post....version 1.3, using your email address and the following call:

              [!GoogleEvents?debug=`1`&email=`[email protected]`!]

              And I get the following output:
              http://www.cmssandbox.com/MODx095/index.php?id=47

              Now I was getting the error you mentioned when I was testing this on your account right before you added the test events.

              Not only that, I created a new gmail account with no events and was able to duplicate your error, but as soon as I added an event, the error went away. Also, I noticed something else. The 1.3 version I packaged up was missing the calendar classes, please download the 1.3 zip from the first post and upload the "source" directory to insure you aren’t generating any errors related to that missing.

              Jesse

                Jesse R.
                Consider trying something new and extraordinary.
                Illinois Wine

                Have you considered donating to MODx lately?
                Donate now. Every contribution helps.
                • 14050
                • 788 Posts
                I just uploaded a new version that basically just outputs a nice error message if the feed is empty, incorrect, or if the server is down. This will allow the page to continue to render and avoid the MODx Parse Error.

                Newest version is 1.3.1
                  Jesse R.
                  Consider trying something new and extraordinary.
                  Illinois Wine

                  Have you considered donating to MODx lately?
                  Donate now. Every contribution helps.
                  • 21455
                  • 26 Posts
                  Ok it’s good for me the snippet works well !!!
                  I added events on my calendar but i think there is a time to wait before seeing the calendar working !

                  By the way, thanks for your help !!
                    • 14050
                    • 788 Posts
                    Great to hear it is working.
                      Jesse R.
                      Consider trying something new and extraordinary.
                      Illinois Wine

                      Have you considered donating to MODx lately?
                      Donate now. Every contribution helps.
                      • 14050
                      • 788 Posts
                      This has been updated to 1.3.2 to take care of some wacky stuff Google produces in its raw feed in regards to HTML Entities.
                        Jesse R.
                        Consider trying something new and extraordinary.
                        Illinois Wine

                        Have you considered donating to MODx lately?
                        Donate now. Every contribution helps.