perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Perrin Harkins <per...@elem.com>
Subject RE: PerlRun, nothing but page header
Date Mon, 05 Apr 2004 21:29:22 GMT
On Mon, 2004-04-05 at 17:21, Bram Whillock wrote:
> Getting rid of the fatalsToBrowser does nothing.
> 
> The second script gives me an error:
> [Mon Apr  5 14:17:15 2004] [error] PerlRun: `Can't call method
> "send_http_header" on an undefined value at /var/www/beta/modperl.cgi
> line 3.

Sounds like you aren't running under mod_perl then.  Try printing the
contents of $ENV{'MOD_PERL'} to STDERR.  If that value is undefined,
then there's something wrong in your conf file and you are running the
script as CGI instead.

- Perrin


-- 
Report problems: http://perl.apache.org/bugs/
Mail list info: http://perl.apache.org/maillist/modperl.html
List etiquette: http://perl.apache.org/maillist/email-etiquette.html


Mime
View raw message