[rt-users] RT: Use of uninitialized value in lc at /usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 914
Naresh Maharaj
naresh at hewittandmay.com
Wed Jan 19 17:59:16 EST 2011
All
We recently did a new install and have been having the same Warning in the
apache logs ever since.
This is where the issue starts:
Logs:
Jan 9 12:20:29 srikrsna yum[15593]: Installed:
perl-Apache-DBI-1.09-1.fc14.noarch
Jan 9 12:21:26 srikrsna RT: Use of uninitialized value in lc at
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 914.
(/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm:914)
Line 914 below highlighted with ****
sub _apache_request_object
{
my $self = shift;
# We need to be careful to never assign a new apache (subclass)
# object to $r or we will leak memory, at least with mp1.
my $new_r = APACHE2 ? $_[0] : HTML::Mason::Apache::Request->new( $_[0]
);
my $r_sub;
*** if ( lc $_[0]->dir_config('Filter') eq 'on' )
{
die "To use Apache::Filter with Mason you must have at least version
1.021 of Apache::Filter\n"
unless Apache::Filter->VERSION >= 1.021;
$r_sub = $do_filter;
}
else
{
$r_sub = $no_filter;
}
my $apreq_instance =
APACHE2
? sub { Apache2::Request->new( $_[0] ) }
: sub { $_[0] };
return
$r_sub->( $self->args_method eq 'mod_perl' ?
$apreq_instance->( $new_r ) :
$new_r
);
}
have seen the following post but could not see a solution:
http://www.gossamer-threads.com/lists/rt/users/96670
Does anyone know how I might be able to resolve this
Kind regards
Naresh Maharaj,
Hewitt & May (Shirtmakers) Ltd
email: info at hewittandmay.com
web: http://www.hewittandmay.co.uk
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.bestpractical.com/pipermail/rt-users/attachments/20110119/5ee3a5a2/attachment.htm>
More information about the rt-users
mailing list