VPAMike
Junior Member
Posts: 6
Registered: 11/4/2003
Member Is Offline
|
| posted on 11/4/2003 at 05:32 PM |
|
|
Trouble with accessing index.php
When I goto the index.php page of the calendar, I get the following error messages at the top of the screen.
Warning: main(./calendar/cl_files/db.php): failed to open stream: No such file or directory in c:\inetpub\wwwroot\calendar\cl_files\calendar.php
on line 40
Warning: main(): Failed opening './calendar/cl_files/db.php' for inclusion (include_path='.;c:\php4\pear') in
c:\inetpub\wwwroot\calendar\cl_files\calendar.php on line 40
Then in the body of the calendar, I see the following:
Fatal error: Cannot instantiate non-existent class: db_access in c:\inetpub\wwwroot\calendar\cl_files\calendar.php on line 43
I have seen a few old posts like mine and I have followed the suggestions in those posts to change the path, which removed some of my errors.
I've contacted support via email and chat and haven't heard anything back yet.
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 11/5/2003 at 10:15 AM |
|
|
You should use absolute paths instead of relative ones in calendar.php and global.php files.
|
|
|
VPAMike
Junior Member
Posts: 6
Registered: 11/4/2003
Member Is Offline
|
| posted on 11/5/2003 at 08:07 PM |
|
|
Current Pathing
$path_to_calendar='./calendar/cl_files/';
$path_to_calendar_img='./calendar/cl_files/img/';
$WEB_path_to_calendar_img='http://testing123/calendar/cl_files/img/';
$path_to_data='./calendar/cl_files/data/';
|
|
|
VPAMike
Junior Member
Posts: 6
Registered: 11/4/2003
Member Is Offline
|
| posted on 11/5/2003 at 10:14 PM |
|
|
Fixed that issue it seems
Ok, I changed the pathing to the following and now I get the current error message. I've checked the other posts and the fix seemed to be to
change back to the ./calendar/cl_files method.....Very confusing ?
$path_to_calendar='c: inetpub wwwroot calendar cl_files';
$path_to_calendar_img='c: inetpub wwwroot calendar cl_files img';
$WEB_path_to_calendar_img='http://testing123/calendar/cl_files/img/';
$path_to_data='c: inetpub wwwroot calendar cl_files data';
Newest Error Message:
Parse error: parse error, unexpected T_STRING in c: inetpub wwwroot calendar cl_files calendar.php on line 19
Fatal error: Call to undefined function: show_calendar() in c: inetpub wwwroot calendar index.php on line 137
I've put spaces in for backslash, the bullentin board deletes them in the post.
|
|
|
VPAMike
Junior Member
Posts: 6
Registered: 11/4/2003
Member Is Offline
|
| posted on 11/12/2003 at 01:09 PM |
|
|
Any Help ?
This is my latest error ?? Can you help ?
Newest Error Message:
Parse error: parse error, unexpected T_STRING in c: inetpub wwwroot calendar cl_files calendar.php on line 19
Fatal error: Call to undefined function: show_calendar() in c: inetpub wwwroot calendar index.php on line 137
|
|
|
VPAMike
Junior Member
Posts: 6
Registered: 11/4/2003
Member Is Offline
|
| posted on 11/18/2003 at 03:18 PM |
|
|
ANYONE ????
Can I get some help here ??? With 112 hits, a lot of people are looking at this thread....everyone except Tech Support ???
Any help please ???
|
|
|
nik
Posts:
Registered: 1/1/1970
Member Is Offline
|
| posted on 11/19/2003 at 01:41 PM |
|
|
If you use backslashes \ then you should use double backslashes \\ while writing paths.
|
|
|
VPAMike
Junior Member
Posts: 6
Registered: 11/4/2003
Member Is Offline
|
| posted on 11/19/2003 at 03:20 PM |
|
|
OK.....another error....
With double slashes, I get a page full of errors, starting with these two items. But I just found the fix in another post.....Thanks Nik !!!
Thanks,
Mike
|
|
|