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: Problems after installations
aileena
Newbie

Posts: 1
Registered: 4/21/2005
Member Is Offline
posted on 4/21/2005 at 12:19 AM Reply With Quote
Problems after installations


On a Window 2k server, it seems all the relative paths are off. I placed all the calendar files under $webroot/phpEvent/Cal

I had to edit under cl_files, calendar.php and global.php
to fix the image problems. Also, I copied the data_dir into
the cl_files directory. The last problem is now the following...


Warning: main(cl_files/calendar.php) [function.main]: failed to open stream: No such file or directory in D:webTestphpEventCalcl_filesindex.php on line 25

Warning: main() [function.include]: Failed opening 'cl_files/calendar.php' for inclusion (include_path='.;C:php5pear') in D:webTestphpEventCalcl_filesindex.php on line 25

Fatal error: Call to undefined function read_data() in D:webTestphpEventCalcl_filesindex.php on line 27

I hope someone has already resolved this as I have probably spent half a day reviewing the code.

Thanks in advance for all your help,
Aileen
View User's Profile View All Posts By User U2U Member
Nicholas
Junior Member

Posts: 3
Registered: 4/25/2005
Location: Grand Rapids
Member Is Offline
posted on 4/25/2005 at 04:11 PM Reply With Quote

Are you using absolute paths ("c:\inetpub\wwwroot\...") or the web paths ("/calendar/cl_files/...")?
View User's Profile View All Posts By User U2U Member
Nolly
Member

Posts: 14
Registered: 5/6/2005
Member Is Offline
posted on 5/7/2005 at 03:40 PM Reply With Quote
I have a similar problem


Aileen,

I have a similar problem to the one you are experiencing. If you study the following error message from your installation,

Warning: main(cl_files/calendar.php) [function.main]: failed to open stream: No such file or directory in D:webTestphpEventCalcl_filesindex.php on line 25

you should have some slashes in the path somewhere. It should probably look like this - the 'real path' that is.

D:/webTest/phpEventCal/cl_files/index.php

If you look at the calendar.php file in the cl_files folder, close to the top you should see something like this.

$PATHS=array(
"path_to_calendar" => "cl_files/",
"path_to_calendar_img" => "cl_files/img/",
"WEB_path_to_calendar_img" => "http://localhost/events/cl_files/img/",
"path_to_data" => "cl_files/data/"
);

Note that these PATH variables are relative paths whereas yours (although wrong - no slashes) is an absolute path.
Note also that I am having some kind of path problem so what I have included above may not help.

There is also a PATH array in the file global.php which is in folder cl_files/data/

The other thing I am not clear about is whether this is coming from your PC (set up as an Apache Server) or somewhere else.

Norman
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