We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14050
    • 788 Posts
    Any errors showing in "System Events?"
      Jesse R.
      Consider trying something new and extraordinary.
      Illinois Wine

      Have you considered donating to MODx lately?
      Donate now. Every contribution helps.
      • 36695
      • 47 Posts
      No - no events showing. huh
        • 14050
        • 788 Posts
        What version of the snippet are you using? Mind PMing me login details so I can take a quick look around?
          Jesse R.
          Consider trying something new and extraordinary.
          Illinois Wine

          Have you considered donating to MODx lately?
          Donate now. Every contribution helps.
          • 34162
          • 1 Posts
          Quote from: Jesse at Apr 09, 2008, 01:29 PM


          Another option is to find the assets/snippets/GoogleEvents/php/simplepie.inc and do a find replace for the following:

          "=& new" to "= new"


          This worked for me too Jesse! Thanks
            • 2868
            • 4 Posts
            Hi,

            I haven’t got this working yet.

            If I try with my gmail account and have the calendar NOT shared than I get the expected error of : "The feed is unavailable. This could be caused by the server being down, an incorrect feed address, all your events are in the past, or if you have no events in your feed."

            If I share the calendar, public, then the website doesn’t even load and I get the following error: "Error while inserting event log into database." which I believe is a ModX error. But seeing as though I know it is related to this snippet I thought to post the query here.

            Anyone know what’s going on?
              • 34017
              • 898 Posts
              Tip for using PHx

              I have a calendar with mostly multiple day events. And I want the calendar to show startDate - EndDate for these multiple day events. I had problems so this is what you do

              1. In Google Calendar, do not check ’This is an all day event’
              2. In your tpl chunk, use the following phx
                  [+phx:if=`[+startDate+]`:isnot=`[+endDate+]`:then=`[+startDate+] - [+endDate+]`:else=`[+startDate+]`+]
              

                Chuck the Trukk
                ProWebscape.com :: Nashville-WebDesign.com
                - - - - - - - -
                What are TV's? Here's some info below.
                http://modxcms.com/forums/index.php/topic,21081.msg159009.html#msg1590091
                http://modxcms.com/forums/index.php/topic,14957.msg97008.html#msg97008
                • 17058
                • 80 Posts
                hello everybody,

                i dont get the Googleevent working. i tried (all) solutions shown above. still getting "The feed is unavailable. This could be caused by the server being down, an incorrect feed address, all your events are in the past, or if you have no events in your feed."

                Have a short look here http://www.gruenau-move.de/index.php?id=37

                What I’ve done so far:
                1. upload the zip to assets/assets/snippets/GoogleEvents
                2. set cache to chmod777
                3. ran the simplepie tester http://www.gruenau-move.de/sp_compatibility_test.php. everything is fine!
                4. set the email in the snippet
                5. set this call [!GoogleEvents?dayNameSize=`full`&outputType=`calendar`&calendarType=`wide`&email=`[email protected]`!]
                5.1 result:...the feed is unavailable
                6. set the debug mode to true
                7. result is linked above -> the feed-url is working, calendar is set to public by default
                8. the systems log panel showed the timezone error -> did include the timezonevariable in the snippet
                9. replaced every ’= &new’ with ’= new’ in the simplepie.inc

                ...no result...bang my head on the desk...any ideas?

                And Jesse, i can PM you a login, if you like.

                thanks le block

                PS: the site is uncached.
                  le_block is Member of FUTY | Medienagentur aus Leipzig mit Schwerpunkt Marketing, Branding, Print und Webdesign
                  • 17058
                  • 80 Posts
                  nobody got an idea?
                    le_block is Member of FUTY | Medienagentur aus Leipzig mit Schwerpunkt Marketing, Branding, Print und Webdesign
                    • 17058
                    • 80 Posts
                    me again,

                    to explore whether my installation is wrong or it is a server issue, im installed the snippet on a ’test’-cms.
                    everything works fine. (http://www.fromustoyou.de/index.php?id=69) so i guess the error depends on servervariables.
                    The CMS is located on a larger Server at the University of Leipzig. Maybe the admins did their (security)job good.

                    The problem is here: http://www.gruenau-move.de/index.php?id=37
                    Updated the simplepieclass and comp-test to 1.1.1. and turned the debug mode on. the feeds link correctly to the google-events. But whats the problem to show the calender/list?
                    Default errortext is shown: "The feed is unavailable. This could be caused by the server being down, an incorrect feed address, all your events are in the past, or if you have no events in your feed."
                    But i copied the working calls from the test-installation (first link in this post).

                    Is it possible to echo out something in the snippet-code to separate the function which is throwing the error? Im a PHP-Noob so i need your help.

                    Thanks, le block

                    PS: The newer Simplepiecompatibility_test passed. (www.gruenau-move.de/sp_compatibility_test.php)
                      le_block is Member of FUTY | Medienagentur aus Leipzig mit Schwerpunkt Marketing, Branding, Print und Webdesign
                      • 17058
                      • 80 Posts
                      Ping
                        le_block is Member of FUTY | Medienagentur aus Leipzig mit Schwerpunkt Marketing, Branding, Print und Webdesign