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


Login with username, password and session length

Search

 
Advanced search

8016 Posts in 1849 Topics- by 2099 Members - Latest Member: roi
Pages: [1]   Go Down
Print
Author Topic: 500 Internal Server Error  (Read 258 times)
0 Members and 1 Guest are viewing this topic.
gcollier02
New Member
*

Karma: 0
Offline Offline

Posts: 0

webpage designer


WWW
« on: February 26, 2004, 03:25:00 PM »

I started my install by reviewing all documentation and then uploaded all files to my CGI-BIN in ASCII mode.  Upon completion, I modified the perl code to reflect the location of my directiories being as I am on my dedicated Linux/Apache server's Virtual Accounts.  The server's CGI man page states that I must modify the cgi location because it is a virtual path.  So instead of being /cgi-bin/calendar.pl  it is /domainnamecgi/calendar.pl  

Now that is out in the open, I make the changes, upload the new files and chmod them all to 755.  

Now, I go into IE and attempt calling the .pl file  www.mydomain.com/domainnamecgi/calendar.pl  and it tells me that i've got an internal server error.  I've tried running all .pl files and get the same error message, aswell.

I attemted to have the perl validator on my server parse thorugh the pl files and this is what it returned upon completion.

Can't locate asp.inc in @INC (@INC contains: http://zeigleril.com/zeiglerilcgi/calendarscript/lib  /usr/lib/perl5/5.6.0/i386-linux /usr/lib/perl5/5.6.0 /usr/lib/perl5/site_perl/5.6.0/i386-linux /usr/lib/perl5/site_perl/5.6.0 /usr/lib/perl5/site_perl .) at calendar.pl line 29. BEGIN failed--compilation aborted at calendar.pl line 41

Ever seen this problem before???  What should I do?  I called the tech support of my hosting company and they are USELESS...  Any ideas???

Logged
DanO
Moderator
Full Member
*****

Karma: 13
Offline Offline

Posts: 217

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


WWW
« Reply #1 on: February 26, 2004, 09:00:00 PM »

** I must modify the cgi location because it is a virtual path. So instead of being /cgi-bin/calendar.pl it is /domainnamecgi/calendar.pl **

If you are setting the $BASE_DIR variable in the calendar.pl and calendar_admin.pl files, it should be the absolute path something like:

/home/cust1/usrdomainnamecgi/calendarscript/

(but your host will have to tell you exactly what it is)

** Can't locate asp.inc in @INC **

Many people have described getting a variations of that error message, I don't know if anyone found a single cause for it. You can try search the messages to see if you can find any tips, in at least one case ( http://www.calendarscript.com/support/forum/Forum2/HTML/000644.html  ) it was in incorrectly spelled path.

Dan O.

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

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