saiena
Newbie
Posts: 1
Registered: 7/17/2008
Member Is Offline
|
| posted on 7/17/2008 at 07:34 AM |
|
|
Errors Creating Calendar
After installing, I successfully used the control panel to create a new calendar. I then attempted to dispay the calendar using this code:
include 'FULL_PATH_TO_calendar.php';
new calendar('events_calendar');
But trying to view the calendar generates error:
"Can't open configevents_calendar.php file."
I can get past this error if I edit calendar.php and add "globals $PATHS;" to the head:
// a path to calendar files
// change if needed
global $PATHS;
$PATHS=array(
But then, attempts to view the calendar produces a new error:
Fatal error: Call to undefined method stdClass::load_item() in /Applications/xampp/xamppfiles/htdocs/websites.dev/temp/calendar/cl_files/calendar.php
on line 109
Environment is PHP5 on MAMP for Mac OS 10.5.4
|
|
|
|