Hello,
I would like to use iWebCal to view iCal streams outputted by Jujunie-Integration project (http://www.freshmeat.net/projects/jujunie-integration)
I've then installed iWebCal, which works fine with your sample ics file "Sample.ics".
I changed the calendar file as:
$iWebCal_CALENDAR_FILE = "http://localhost:8282/jujunie-integration/planner2ics?planner=http://localhost/project_reports/documents%2Fsft.planner&calendar=true&day-types=Nonworking,Training,Sick,Afternoon,RTT&milestone=false"
But i get the following error:
-------------------------------------------------------
Notice: Undefined variable: fp in /var/www/iWebCal/class/Calendar.inc on line 302
http://intranet.fimasys.fr:8282/jujunie-integration/planner2ics?planner=http%3A%2F%2Fintranet.fimasys.fr%2Fproject_reports%2Fdocuments%2Fsft.planner&calendar=true&day-types=Nonworking,Training,Sick,Afternoon,RTT&milestone=false
Warning: iWebCal::include(error.php) [function.iWebCal-include]: failed to open stream: No such file or directory in /var/www/iWebCal/class/iWebCal.inc on line 351
Warning: iWebCal::include() [function.include]: Failed opening 'error.php' for inclusion (include_path='.:/usr/share/php:/usr/share/pear') in /var/www/iWebCal/class/iWebCal.inc on line 351
Fatal error: Call to undefined function printErrorPage() in /var/www/iWebCal/class/iWebCal.inc on line 352
-------------------------------------------------------
I tried to url-encode the parameters of the http address as follow:
$iWebCal_CALENDAR_FILE = "http://localhost:8282/jujunie-integration/planner2ics?planner=http%3A%2F%2Flocalhost%2Fproject_reports%2Fdocuments%2Fsft.planner&calendar=true&day-types=Nonworking,Training,Sick,Afternoon,RTT&milestone=false"
But I got the same error.
I then downloaded the response of the URL in a file, replacing the Sample.ics provided with iWebCal (You'll find the result attached):
wget -O Sample.ics "http://localhost:8282/jujunie-integration/planner2ics?planner=http%3A%2F%2Flocalhost%2Fproject_reports%2Fdocuments%2Fsft.planner&calendar=true&day-types=Nonworking,Training,Sick,Afternoon,RTT&milestone=false"
and I reconfigured iWebCal with:
$iWebCal_CALENDAR_FILE = "Sample.ics"
This time, the event does appear, but for each of them, I have the following notice displayed:
Notice: Only variable references should be returned by reference in /var/www/iWebCal/class/CalItem.inc on line 82
Could you please help ?
Thanks a lot.