Support Forum Softcomplex logo
About Us  | Services  | Download  | Order  | Support  | |
| Search | Today's Posts | Stats | Board Rules | Not logged in [ Login | Register ]
go to bottom
Last active: Never

Printable Version | Subscribe | Add to Favourites   Post new thread
Author: Subject: Trouble with accessing index.php
VPAMike
Junior Member

Posts: 6
Registered: 11/4/2003
Member Is Offline
posted on 11/4/2003 at 05:32 PM Reply With Quote
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.
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 11/5/2003 at 10:15 AM Reply With Quote

You should use absolute paths instead of relative ones in calendar.php and global.php files.
View User's Profile View All Posts By User U2U Member
VPAMike
Junior Member

Posts: 6
Registered: 11/4/2003
Member Is Offline
posted on 11/5/2003 at 08:07 PM Reply With Quote
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/';
View User's Profile View All Posts By User U2U Member
VPAMike
Junior Member

Posts: 6
Registered: 11/4/2003
Member Is Offline
posted on 11/5/2003 at 10:14 PM Reply With Quote
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.
View User's Profile View All Posts By User U2U Member
VPAMike
Junior Member

Posts: 6
Registered: 11/4/2003
Member Is Offline
posted on 11/12/2003 at 01:09 PM Reply With Quote
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
View User's Profile View All Posts By User U2U Member
VPAMike
Junior Member

Posts: 6
Registered: 11/4/2003
Member Is Offline
posted on 11/18/2003 at 03:18 PM Reply With Quote
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 ???
View User's Profile View All Posts By User U2U Member
nik


Posts:
Registered: 1/1/1970
Member Is Offline
posted on 11/19/2003 at 01:41 PM Reply With Quote

If you use backslashes \ then you should use double backslashes \\ while writing paths.
View User's Profile View All Posts By User U2U Member
VPAMike
Junior Member

Posts: 6
Registered: 11/4/2003
Member Is Offline
posted on 11/19/2003 at 03:20 PM Reply With Quote
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
View User's Profile View All Posts By User U2U Member
Post new thread

Related Links:
Product Page
Product Demonstrations Live Demos
Free/Trial Script Download Free Download
Product Documentation Documentation
Documentation page
Change Log
Support Forum Support Forum
Order Now ORDER NOW!
Add to Cart
View Cart
 

Go To Top


Powered by XMB 1.9.1 Nexus
Developed By Aventure Media & The XMB Group © 2002-2004