Board Logo

first steps
epi - 9/12/2005 at 07:29 PM

Hi!
IA?ve installes the calendar succesfull. After that i came to the demo page.
by clicking the link -control panel- i only received errors.
I think that i made no mistakes.
here are the errors:


Warning: Unable to access cl_files/calendar.php in /mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/index.php on line 25

Warning: Failed opening 'cl_files/calendar.php' for inclusion (include_path='') in /mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/index.php on line 25

Fatal error: Call to undefined function: read_data() in /mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/index.php on line 27

what can i do?


cmacalvary - 12/1/2005 at 10:52 PM

Quote:
Originally posted by epi
Hi!
IA?ve installes the calendar succesfull. After that i came to the demo page.
by clicking the link -control panel- i only received errors.
I think that i made no mistakes.
here are the errors:


Warning: Unable to access cl_files/calendar.php in /mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/index.php on line 25

Warning: Failed opening 'cl_files/calendar.php' for inclusion (include_path='') in /mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/index.php on line 25

Fatal error: Call to undefined function: read_data() in /mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/index.php on line 27

what can i do?


it looks like your paths are screwed up. u need to go back to the install document and update the two files by hand that it mentions there.
i don't have it in front of me here. but i think its global.php and calendar.php


Coblix - 9/7/2006 at 06:37 PM

i have the same problem !
Wath i'm suposed to do ?

Please, need help !


chronister - 9/9/2006 at 09:24 PM

As was mentioned above, the paths are probably wrong. global.php is not needed after install and can be deleted. The file you need to edit is calendar.php.

Lines 12-17 look like this

$PATHS=array(
"path_to_calendar" => "c:\web_dev\sites\intranet\calendar\cl_files\",
"path_to_calendar_img" => "c:\web_dev\sites\intranet\calendar\cl_files\img\",
"WEB_path_to_calendar_img" => "http://jen.localnet/calendar/cl_files/img/",
"path_to_data" => "c:\web_dev\sites\intranet\calendar\cl_files\data\"
);

This is the path structure for Windows, you need to edit everything between the " " EPI your paths are given to you.

/mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/
/mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/img
/mnt/kw2/01/403/00000018/htdocs/fokko/php_event_calendar/cl_files/data

your going to have to change my local path to your own http path.

Coblix hope you can see what you need to do from this.

If this don't help post back.

Nate


Coblix - 9/11/2006 at 12:02 PM

Ok, it works !
Tanks for your help !!!

In fact i used the "include" of php.

Bye !


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