Board Logo

Installation problems
eccles - 10/10/2008 at 06:32 AM

I am trying to install the calendar with no success and looking for help. I have tried some of the suggestions on the forum but still have not got it working.
Issues I have investigated:

1. I don't have a calendar.php file in the cl_files directory or a global.php in the cl_filesdata directory. I have tried creating these manually.

2. I have created a phpinfo.php file and found the following
SERVER["SCRIPT_FILENAME"] C:EccleslinuxCalendarphpinfo.php.

3. The server is a Windows 2003 box with PHP5 installed.

4. The control panel comes up with error
Can't open ./data/global.php

Would appreciate any help


nanh - 10/18/2008 at 02:11 PM

This program uses $HTTP_GET_VARS and $HTTP_POST_VARS, which have been deprecated. Change every reference to this to the correct form:
$_GET and $_POST. That is what finally made it work for me.
These files need to be updated with these changes!


nanh - 10/18/2008 at 02:21 PM

wait, you also have to replace all of these:
$HTTP_SERVER_VARS
to
$_SERVER


nanh - 10/18/2008 at 02:39 PM

a few more things,
change all references of
$__SESSION__
to
$_SESSION

and
change this line 14 in the cl_files/index.php file:
$_SESSION=$HTTP_SESSION_VARS['__SESSION__'];
to this:
//$_SESSION=$HTTP_SESSION_VARS['__SESSION__'];

which comments it out.

I had to delete all the files on the server and reupload everything because trying to install it with all these errors completely messed up the installation. I am still not sure the program is working though. I created a new calendar, but I don't see it anywhere. I may have to look around more.


eccles - 12/13/2008 at 09:43 PM

Thanks nanh, it was remiss of me not to reply, this was what solved the problem

Apologies for the delay.


abgoosht - 3/31/2009 at 07:41 PM

i just wanted to thank everyone that posted this, it worked like a charm.

thanks a lot


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