<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head> <meta content="text/html; charset=utf-8" http-equiv="Content-Type"> </head>Hi<br/><br/>Does anyone have thoughts on this warning message in the httpd logs<br/><br/>Kind regards<br/><br/>Naresh <p>------------------</p><hr/><div><b>From: </b> Naresh Maharaj <naresh@hewittandmay.com>
</div><div><b>Sender: </b> rt-users-bounces@lists.bestpractical.com
</div><div><b>Date: </b>Wed, 19 Jan 2011 22:59:16 +0000</div><div><b>To: </b><rt-users@lists.bestpractical.com></div><div><b>Subject: </b>[rt-users] RT: Use of uninitialized value in lc at
/usr/local/share/perl5/HTML/Mason/ApacheHandler.pm line 914</div><div><br/></div><div>All</div>
<div>Â </div>
<div>We recently did a new install and have been having the same Warning in the apache logs ever since.</div>
<div>Â </div>
<div>This is where the issue starts:</div>
<div>Â </div>
<div>Logs:<br>Jan 9 12:20:29 srikrsna yum[15593]: Installed: perl-Apache-DBI-1.09-1.fc14.noarch<br>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)</div>
<div>Â </div>
<div>Line 914 below highlighted with ****</div>
<div>Â </div>
<div>sub_apache_request_object<br>{<br>Â Â Â my $self = shift;</div>
<div>Â Â Â # We need to be careful to never assign a new apache (subclass)<br>Â Â Â # object to $r or we will leak memory, at least with mp1.<br>Â Â Â my $new_r = APACHE2 ? $_[0] : HTML::Mason::Apache::Request->new( $_[0] );</div>
<div>Â Â Â my $r_sub;</div>
<div>***Â if ( lc $_[0]->dir_config('Filter') eq 'on' )<br>Â Â Â {<br>Â Â Â Â Â Â Â die "To use Apache::Filter with Mason you must have at least version 1.021 of Apache::Filter\n"<br>Â Â Â Â Â Â Â Â Â Â Â unless Apache::Filter->VERSION >= 1.021;</div>
<div>Â Â Â Â Â Â Â $r_sub = $do_filter;<br>Â Â Â }<br>Â Â Â else<br>Â Â Â {<br>Â Â Â Â Â Â Â $r_sub = $no_filter;<br>Â Â Â }</div>
<div>Â Â Â my $apreq_instance =<br>Â Â Â Â Â Â Â Â Â APACHE2<br>Â Â Â Â Â Â Â ? sub { Apache2::Request->new( $_[0] ) }<br>Â Â Â Â Â Â Â : sub { $_[0] };</div>
<div>Â Â Â return<br>Â Â Â Â Â Â Â $r_sub->( $self->args_method eq 'mod_perl' ?<br>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â $apreq_instance->( $new_r ) :<br>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â $new_r<br>Â Â Â Â Â Â Â Â Â Â Â Â Â Â Â );<br>}</div>
<div>Â </div>
<div>Â </div>
<div>Â </div>
<div>have seen the following post but could not see a solution:<br><a href="http://www.gossamer-threads.com/lists/rt/users/96670">http://www.gossamer-threads.com/lists/rt/users/96670</a></div>
<div>Â </div>
<div>Does anyone know how I might be able to resolve this</div>
<div>Â </div>
<div>Kind regards</div>
<div>Â </div>
<div><br>Naresh Maharaj,<br><br>Hewitt & May (Shirtmakers) Ltd <br>email: <a href="mailto:info@hewittandmay.com">info@hewittandmay.com</a><br>web: <a href="http://www.hewittandmay.co.uk">http://www.hewittandmay.co.uk</a><br>
</div>
</html>