Troubleshooting InstallationIf the installation fails or error messages are shown in your browser when you try to load the program, these are some troubleshooting steps you can take to find and correct the problem.
FIRST STEP TO RESOLVE PROBLEMS:
Included with the application is a script named 'debug.pl'. This will be in the same directory as your 'calendar.pl' file. Try to run it via the web browser just like you would run calendar.pl. If there is anything wrong with your installation, such as missing files, incorrct permissions, files not in ASCII format, etc, it will detect the problem and inform you.
If the debug.pl script does not run correctly, see the next solution.
PROBLEM: 500 Internal User Error, or other generic webserver error message
1. Verify all the information in the Before You Begin section.
2. Make sure all files were transferred to the web server in ASCII (Text) mode.
3. Verify that the calendar.pl and calendar_admin.pl files are executable.
4. Verify that calendarscript directory exists, and files are located under it.
5. Check the web server's error_log to determine the actual error generated by the script. If you don't know where your error_log is located or how to examine it, contact your web host. This is a critical part of debugging CGI script problems.
6. Make sure everything under the 'calendarscript' directory is writeable, especially the 'session' directory.
7. Contact your web host for further assistance
PROBLEM: Loading the files simply displays the script contents in the browser
Your web server is not configured correctly to execute Perl CGI scripts. Try changing the file extension to .cgi if you haven't already. Make sure Perl is installed on the web server and that it is configured correctly.
PROBLEM: Your browser displays the message "Your server does not provide the PATH_TRANSLATED or SCRIPT_FILENAME environment variables. Please see the installation documentation for how to set the $BASE_DIR variable manually."
Most web server's provide information to CGI scripts about the directory they are located in. If your server does not, you will receive this message, and you must manually tell the script where to find the files it needs.
First, determine the local filesystem path to the 'calendarscript' directory. More information about this can be found in point 6 of 'Before You Begin'. Next, edit calendar.pl and calendar_admin.pl in a text editor and locate the line the looks like this:
#$BASE_DIR = "/...change.to.full.file.path.of.dir.../calendarscript/";Remove the first '#' character (this is a Perl comment) and then insert the full path (including starting and ending slash) between the quotes. Save the files and re-upload them to the web server if you are not editing directly on the machine itself. You may need to set the permissions on the files once again.
PROBLEM: Calendar Admin files to load correctly or displays some incorrect output.
Verify that all files under the 'calendarscript' directory are world-writable (if Unix) or that that 'Everyone' has 'Change' permissions on the local filesystem (Windows NT).
PROBLEM: Any further errors or problems
Contact your web host for detailed assistannce, or post to the Support Forum. Provide all details from the Before You Begin section when posting, along with a DETAILED explanation of the steps you have taken, the output or error mesage you receive, and what you have already done to try to fix the problem.