We launched new forums in March 2019—join us there. In a hurry for help with your website? Get Help Now!
    • 14050
    • 788 Posts
    Andy,

    Mind PMing me your email address and I will test on my end? Also, make sure that sp_compatibility_test.php passes. Both versions you tried use SimplePie.
      Jesse R.
      Consider trying something new and extraordinary.
      Illinois Wine

      Have you considered donating to MODx lately?
      Donate now. Every contribution helps.
      • 727
      • 502 Posts
      Jesse found my problem - I had events but they were all in the past. Adding an event in the future made the calendar appear.

      Thanks Jesse!

      Andy
        • 25846
        • 2 Posts
        Hi,
        I am kind of new at this and don’t know if I understand it correctly. I recently changed the snippet call from one of the standard ones to [!GoogleEvents? &email=`[email protected]`&tpl=`GE`!] to access a chunk called GE in which I tried to style the output as an unordered list and my page has never shown the changes. I know that the page is set to be not cacheable but I can’t figure this out.
        To view the output go to http://www.fellowshipofemlenton.com
        Thanks for any help
          • 14050
          • 788 Posts
          What version of GoogleEvents are you using? Can you use this call and paste the output in here:

          [!GoogleEvents? &debug=`1` &email=`[email protected]`&tpl=`GE`!]
            Jesse R.
            Consider trying something new and extraordinary.
            Illinois Wine

            Have you considered donating to MODx lately?
            Donate now. Every contribution helps.
            • 25846
            • 2 Posts
            I am using version, 1.4.0


            Debug mode is on.

            Getting XML feed

            Parsed Date:
            Starting Day: Tuesday, December, 11th, 2007
            Starting Time: 4:00pm
            Ending Day: Tuesday, December, 11th, 2007
            Ending Time: 5:00pm
            Time Greater Than 0? 1197410400
            Description:
            URL:http://www.google.com/calendar/event?eid=c2pmazZxaWhydjZmbTNlNnV0cXUyanVnZnMgb2ZmaWNlQGZlbGxvd3NoaXBvZmVtbGVudG9uLmNvbQ
              • 14050
              • 788 Posts
              Based on the debug info, everything looks alright. Mind PMing me login details?
                Jesse R.
                Consider trying something new and extraordinary.
                Illinois Wine

                Have you considered donating to MODx lately?
                Donate now. Every contribution helps.
                • 3232
                • 380 Posts
                has anyone been able to run this snippet on an environment that has suPHP installed.

                Every time i have a page that has a google calendar call I get an internal server error. Once I remove the call, the page does not give the error anymore.

                The system test php file also throws a 500 error.

                I have been running this script flawlessly and love it, I would love to run this on my server but it has been updated with suphp enabled.

                I did some more reserach and it appears that this part in particular is causing the 500 error...

                function get_curl_version()
                {
                $curl = 0;
                if (is_array(curl_version()))
                {
                $curl = curl_version();
                $curl = $curl[’version’];
                }
                else
                {
                $curl = curl_version();
                $curl = explode(’ ’, $curl);
                $curl = explode(’/’, $curl[0]);
                $curl = $curl[1];
                }
                return $curl;
                }

                version_compare(get_curl_version(), ’7.10.5’, ’>=’)

                Thanks
                Brian
                  • 14050
                  • 788 Posts
                  I would make sure to check your permissions on files. Take a look at this:

                  http://www.lunarforums.com/lunarpages_php_mysql/suphp_inherited_phpini_500_internal_server_errors-t20444.0.html;msg150793#msg150793

                  GoogleEvents utilizes SimplePie 1.0. If you are unable to run sp_compatibility_test.php, then the problem lies with SimplePie and not GoogleEvents. Unfortunately, a search for "suPHP," "500," and "SimplePie" did not reveal much. So hopefully it is just a permissions issue as mentioned above. Maybe someone more knowledgeable of suPHP or your host can shed some light on this.
                    Jesse R.
                    Consider trying something new and extraordinary.
                    Illinois Wine

                    Have you considered donating to MODx lately?
                    Donate now. Every contribution helps.
                    • 3232
                    • 380 Posts
                    I’m afraid permissions are set correctly and I am my own host. I will head over to the simplepie boards and see if they can help.

                    Thanks
                    Brian
                      • 3232
                      • 380 Posts
                      Hey Jesse,

                      I just download the latest files from simplepie.org and that version of the system test executed properly.

                      Could GoogleEvents be using a older version of simple pie, if so how can I upgrade it in GoogleEvents?

                      Would it be as simple as overwriting the php/simplepie.inc file with the new one from simplepie.org?

                      Thanks
                      Brian