alimoore
Junior Member
Posts: 4
Registered: 10/19/2003
Member Is Offline
|
| posted on 10/19/2003 at 09:54 PM |
|
|
help me please lots of errors
Hi i will keep it simple but everything is all installed correctly and i have made a new calendar called Event_Calendar.
I have put this code into the top of my page:
<?
include '/calendar/cl_files/calendar.php';
?>
and this code into the body of my page:
<?
show_calendar(Event_Calendar);
?>
And it wont display the calendar i have made it just comes up with errors. The errors i am experiencing can be found at www.willpem.co.uk/dates.php
Please help with this its probably something little but i cant figure it out
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 10/20/2003 at 11:47 AM |
|
|
Most likely the problem is caused by incorrect paths settings. Please check paths in calendar.php file and set absolute paths instead of relative
ones, i.e.
$_path_to_calendar = "/www/willpem.co.uk/www/calendar/cl_files/";
|
|
|
alimoore
Junior Member
Posts: 4
Registered: 10/19/2003
Member Is Offline
|
| posted on 10/21/2003 at 08:11 PM |
|
|
Hmm i checked it all and it looks as tho all the paths in calendar.php are ok this is what it says:
$_path_to_calendar = "/www/willpem.co.uk/www/calendar/cl_files/";
$_path_to_calendar_img = "/www/willpem.co.uk/www/calendar/cl_files/img/";
$_WEB_path_to_calendar_img = "http://willpem.co.uk/calendar/cl_files/img/";
$_path_to_data = "/www/willpem.co.uk/www/calendar/cl_files/data/";
Is this right or is it horribly wrong?!
Taa
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 10/22/2003 at 07:39 AM |
|
|
You should set /www/willpem.co.uk/www/calendar/cl_files/calendar.php or './calendar/cl_files/calendar.php' in the dates.php file instead of
'/calendar/cl_files/calendar.php'.
|
|
|
alimoore
Junior Member
Posts: 4
Registered: 10/19/2003
Member Is Offline
|
| posted on 10/25/2003 at 03:12 PM |
|
|
thanks it works now
|
|
|
alimoore
Junior Member
Posts: 4
Registered: 10/19/2003
Member Is Offline
|
| posted on 10/27/2003 at 05:13 PM |
|
|
Umm now when i click on a date that has an event on it it comes up with page cannot be found thing
How do i get this to show the event? Shouldnt it do this automatically?
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 10/28/2003 at 09:30 AM |
|
|
You should put show.php file in the same directory where you store file with calendar call.
|
|
|