Quote from: jesster444 at Nov 02, 2006, 07:56 PM
It supports using CURL by default, and if your server doesn’t support it, it will fall back to fopen. Redundancy, sweet.
Hm.. the instructions tell me to use the simplePie check though, and that the script will NOT work if that test fails. As a matter of fact it does fail on my server, complaining about CURL. It’s a fact too that I can’t get the script to work; if I use this snippet call
[!GoogleEvents?dayNameSize=`full`&outputType=`calendar`&calendarType=`wide`&email=`[email protected]`!]
then here’s the error I get when I go to a page with that call:
« MODx Parse Error »MODx encountered the following error while attempting to parse the requested resource:
« PHP Parse Error »
PHP error debug
Error: sort() expects parameter 1 to be array, null given
Error type/ Nr.: Warning - 2
File: /isp_server/some/path/mywebsite/manager/includes/document.parser.class.inc.php(748) : eval()'d code
Line: 240
So which is right? Do I need CURL, or does the script actually gracefully fall back? I picked up version 1.3.4 from somewhere. And I’m still confused as to the difference between Google Events and GoogleEvents
System:
MODx v0.9.5, GoogleEvents v1.3.4, PHP v5.2.1, Apache v1.3.37, only_one_set_of_php_start_tags_in_snippet v1.0, fully_shared_google_calendar v1.0
Tjalve