I am on:

Apache/2.2.3 (Unix) mod_ssl/2.2.3 OpenSSL/0.9.7e
mod_apreq2-20051231/2.6.0 mod_perl/2.0.2 Perl/v5.8.4

and Mason 1.34 (upgraded yesterday)

This, I *think* is the problem (that error isn't logged all the
time) but if you go to:

http://somesite.example/show/10

You will be redirected. The dhandler:

<%init>
my $member = (split /\//, $r->uri)[-1];
$m->redirect("/members/view/".$member);
</%init>

<Location /show>
SetHandler   perl-script
PerlHandler MyApp::Mason
</Location>

I've noticed, sometimes, the error 'Use of uninitialized value in
subroutine entry at
/usr/local/share/perl/5.8.4/HTML/Mason/ApacheHandler.pm line 954.'

occurs when that URL is called upon.

Would I be correct in saying that's when it happens - that is all I have
noticed.

Thank you

Ogden


> On Mon, 16 Oct 2006, Ogden wrote:
>
> > I just upgraded to 1.34 today and my error_log is outputting a lot of
> > these:
> >
> > Use of uninitialized value in subroutine entry at
> > /usr/local/share/perl/5.8.4/HTML/Mason/ApacheHandler.pm line 954.
> >
> > Everything seems to be running fine - why would this occur?
>
> I looked at this some more and cannot reproduce it. In my experience, this
> error usually means that undef was passed to an XS function/method that
> does not handle undef nicely (not checking SvOK, for example).
>
> However, it seems like in this case the relevant method does handle undef
> just fine. What version of mod_perl are you using?
>
>
> -dave
>
> /*===================================================
> VegGuide.Org                        www.BookIRead.com
> Your guide to all that's veg.       My book blog
> ===================================================*/
>

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Mason-users mailing list
Mason-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mason-users

Reply via email to