Welcome, Guest. Please login or register.
Did you miss your activation email?


Login with username, password and session length

Search

 
Advanced search

8043 Posts in 1856 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: Path problem? Please Help.  (Read 274 times)
0 Members and 1 Guest are viewing this topic.
jsn
New Member
*

Karma: 0
Offline Offline

Posts: 0

web admin


WWW
« on: December 27, 2004, 08:15:00 PM »

Please help:

I have tried different variation of $BASE_DIR, on calendar.cgi

1. commented the $BASE_DIR
2.$BASE_DIR="/work2b/web/server/home/rwqcb4/public_html/cgi-bin/calendar05/";
3.$BASE_DIR="/work2b/web/server/home/rwqcb4/public_html/cgi-bin/calendar05/calendarscript/";

folowing the debugger sugesstion:
4.  $BASE_DIR="/work2a/web/server/docs/losangeles/cgi-bin/calendar05/";
5.  $BASE_DIR="/work2a/web/server/docs/losangeles/cgi-bin/calendar05/calendarscript/";


All of these $BASE_DIR gave me same error message:
"Http 500- internal server error. The page cannot be displayed"

Please help!!! what should I do, using the debugger I have this message:

"CalendarScript Debugger

Your server doesn't supply CalendarScript with enough information for it to run correctly.

The program uses either the PATH_TRANSLATED or the SCRIPT_FILENAME environment variables to find out the local filesystem path of the script itself, so it can then find its supporting files. Most web servers provide this information to CGI scripts, but yours does not.

You will need to edit the two script files - calendar.pl (or .cgi) and calendar_admin.pl (or .cgi) - and manually enter the filesystem path where the script is located.

You will also need to make the same change to this debug.pl (or .cgi) script in order to continue using it to debug any possible problems.

Information on how to do this can be found in the CalendarScript Documentation under the problem which starts "PROBLEM: Your browser displays the message..."

If you do not know what path to use for this, the following is a suggestion. This is the best guess that this program can make given based on the information it has. It is not guaranteed to be correct on all systems, but might help:

Suggested Path = /work2a/web/server/docs/losangeles/cgi-bin/calendar05/calendarscript/

For more information, see the documentation or visit the Support Forum

Once this problem is fixed, please re-run this debugger to check for any further errors! "

Other Information:
1. What server/OS are you using?
Unix
2. What browser are you using?
IE
3. What error messages appear in your server's error log?
I don't have access to see it.

4. Have you uploaded in ASCII mode?,
I uploaded the *.tar.gz file in binary mode. becasue I can't gunzip the file if I uploaded it in ASCII mode.
And then I gunzip the file on Unix (is the problem?)

did a CHMOD on the files, and checked the path to Perl?
Yes for both

5. Did you change the file extensions or change the $BASE_DIR manually?
yes..

6. Has your web host been able to offer any assistance?
Which web host are you using?
Not much!!

7. Have you tried running debug.pl? What was the output?
Yes, see above

8. Have you checked the Documentation?
yes, my concern is about not uploading in ASCII for a reason. (see no 4)


Thank you,
JSN


Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 230

Please don't PM me. Post in the open forum.


WWW
« Reply #1 on: December 28, 2004, 04:15:00 PM »

** my concern is about not uploading in ASCII for a reason. **

If you uploaded the whole archive file to the server, it would have to be uploaded in binary format as that what it is. If you unzipped the files locally then uploaded the individual files, then they would need to be transferred in ascii mode.

** All of these $BASE_DIR gave me same error message: **

Have you tried asking your hosts's support or checking their CGI FAQs to see what the proper path to files in your web space are suppose to be? No one here is likely to be able to tell you.  

BTW. As per the $BASE_DIR example in the calendar.pl file, its path should likely end with "/calendarscript/".


Dan O.

------------------

Logged
Pages: [1]   Go Up
Print
Jump to: