perl-modperl mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From André Warnier>
Subject Re: FW: Apache::DBI Failed due to +GlobalRequest
Date Sat, 12 Sep 2009 13:30:22 GMT
Kulasekaran, Raja wrote:
> Hi,
> Thanks for your mail. I did tried. It's not working .
Yes, I am sorry.  I did not look close enough at the following error :

[Thu Sep 10 14:39:30 2009] [error] Global $r object is not available.
Set:\n\tPerlOptions +GlobalRequest\nin httpd.conf at
/var/www/audashboard/exec/ line 24.\nCompilation failed in
require at (eval 5) line 1.\n

In a mod_perl *request* handler, the first argument
(my $r = shift;)
is usually a pointer to the current Request object.

But in your startup script (, that is not the case, because 
when that script is run, there is no request yet.
I don't know what you are trying to do with $r in that startup script, 
but something is wrong and maybe the error message above is misleading.
(I mean that it may have nothing to do with GlobalRequest at that stage.)

View raw message