Re: How to read perl-cgi-crash-outputs WITHOUT telnet access ?
- From: usenet@xxxxxxxxxxxxxxx
- Date: 27 Sep 2006 11:17:28 -0700
Patricia Mindanao wrote:
How can I get the information about what went worng with a certain cgi-script otherwise
use CGI::Carp qw{ carpout fatalsToBrowser warningsToBrowser };
will show you runtime error messages and warnings in your browser
window.
However, it will not show compile-time errors. The script needs to
compile and run for CGI::Carp to do anything. If the script cannot
compile (for example, if you forgot to close a parenthesis) then Carp
won't help you.
Imagine I entered in the HTML page a wrong path to the perl cgi script.
You cannot run a script unless you run it. If your path is wrong the
script cannot run. If the script cannot run then it cannot give you any
debugging info.
FWIW, you should ask your admin to give you HTML access to your
server's error logs. You can look at error logs in a browser without
needing to use telnet.
--
David Filmer (http://DavidFilmer.com)
.
- Prev by Date: Re: WIn32API and keyboard
- Next by Date: FAQ 2.6 What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean?
- Previous by thread: using http::recorder
- Next by thread: FAQ 2.6 What modules and extensions are available for Perl? What is CPAN? What does CPAN/src/... mean?
- Index(es):
Relevant Pages
|