up previous
Up: Project 2 Description Previous: Online Execution

Script Errors

If you are using the module CGI::Carp.pm and running in online mode, fatal errors generated by Perl will be displayed by your browser, for example:

Software error:

Undefined subroutine &main::foo called at /usr/local/www/rcs/ziantl/Test/cart.cgi line 14. 

Please send mail to this site's webmaster for help.

At this point, you should go back to offline mode to fix the problem before running in online mode again. Note that Perl warning messages will not be displayed in online mode.

Suppose you are running in online mode and receive the following message or something like it:

Internal Server Error

The server encountered an internal error or misconfiguration and was
unable to complete your request. 

Please contact the server administrator, www@cs.rpi.edu and inform
them of the time the error occurred, and anything you might have 
done that may have caused the error.

In this case, you 1) are probably not using the module CGI::Carp.pm and 2) should go back to offline mode and test your script again thoroughly. You will probably find that you have an error. If everything seems to run fine offline, but you still get a server error message online, please contact me.

In either instance, please do not contact www@cs.rpi.edu. Take note that this is not an RCS server, so sending mail to anyone at ACS will not be productive.



Louis Ziantz
4/23/1998