Board Logo

Problem getting calendar on page
adeyjones - 9/1/2011 at 02:31 PM

Have done all the steps as in the documentation so far, uploaded, installed, changed cpanel password and deleted demo calendars, although they came up with an error, they disappeared.

Now, I have made a new page, pasted:
<?
include 'locumcal/cl_files/calendar.php';
?>
just below <body> and pasted:
<?
new calendar(Locum_Availability);
?>
where i want my calendar to appear. And this is what I get:

Warning: include(../cl_files/db.php) [function.include]: failed to open stream: No such file or directory in /home/adejones/public_html/locumcal/cl_files/calendar.php on line 2781

Warning: include(../cl_files/db.php) [function.include]: failed to open stream: No such file or directory in /home/adejones/public_html/locumcal/cl_files/calendar.php on line 2781

Warning: include() [function.include]: Failed opening '../cl_files/db.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/adejones/public_html/locumcal/cl_files/calendar.php on line 2781

Warning: include(../cl_files/events.php) [function.include]: failed to open stream: No such file or directory in /home/adejones/public_html/locumcal/cl_files/calendar.php on line 2783

Warning: include(../cl_files/events.php) [function.include]: failed to open stream: No such file or directory in /home/adejones/public_html/locumcal/cl_files/calendar.php on line 2783

Warning: include() [function.include]: Failed opening '../cl_files/events.php' for inclusion (include_path='.:/usr/lib/php:/usr/local/lib/php') in /home/adejones/public_html/locumcal/cl_files/calendar.php on line 2783

line 2781 is: include $calendar->s_FilesDir."db.php";
and line 2783 is: include $calendar->s_FilesDir."events.php";

This files ARE in the same directory as calendar.php

also, further down the page, where my calendar should display, I have:

Can't open /data/configLocum_Availability.php file.
Please, check permissions. For more details see Installation Instructions



Fatal error: Call to a member function short_item() on a non-object in /home/adejones/public_html/locumcal/cl_files/calendar.php on line 805

line 805 is: $ar = $this->events_class->short_item($d, $m, $y);


Would appreciate some help in this, thanks.

Adrian


Softcomplex: http://www.softcomplex.com/
Back to forum: http://www.softcomplex.com/forum/