Forum Moderators: coopster & phranque

Message Too Old, No Replies

Internal Server Errors

         

GeXus

11:40 pm on Aug 6, 2004 (gmt 0)

10+ Year Member



Hi Guys,
Im installing a script and im getting intermittent internal server errors. Sometimes it seems to work but other times i get the error. This same problem has happend with other CGI scripts as well. Im running FreeBSD and apache. Any ideas will be very helpful.

Thanks!

kalos

8:33 am on Aug 7, 2004 (gmt 0)

10+ Year Member



What shows up in your error.log file? Also, try adding
CGI:Carp (qw:fatalsToBrowser);
to your script. This will show a more Perl specific error (along with line number(s)) that you can use to track down the error. If all else fails, try running it from the command line and see what errors spit out. This is assuming you are running
use strict;
which you should always do.

kaled

10:45 am on Aug 7, 2004 (gmt 0)

WebmasterWorld Senior Member 10+ Year Member



The script's error handling may be crap. For instance, if unable to open a file, it may just terminate and not even create a valid http header. Without knowing the nature of the script, it's impossible to say.

If you check your error log, hopefully you will see an error message and a line number - but not necessarily.

Kaled.