I get this message when trying to open the sample that ships with the iCal class:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in C:\text\trkh\nyweb\icalendar_2001\class.iCal.inc.php on line 70
Fatal error: Cannot instantiate non-existent class: ical in C:\text\trkh\nyweb\icalendar_2001\sample_ical.php on line 45
System: windows xp running Apache/2.0.48 (Win32) DAV/2 PHP/4.3.4
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I get this message when trying to open the sample that ships with the iCal class:
Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in C:\text\trkh\nyweb\icalendar_2001\class.iCal.inc.php on line 70
Fatal error: Cannot instantiate non-existent class: ical in C:\text\trkh\nyweb\icalendar_2001\sample_ical.php on line 45
System: windows xp running Apache/2.0.48 (Win32) DAV/2 PHP/4.3.4
Version 2.x is for php 5 while v1. is for php 4.
I had downloaded the wrong version.
Thanks to Flaimo for help
Andreas