Re: [mp1] "Can't locate object method 'handler' via package 'handler'..."

[prev] [thread] [next] [Date index for 2005/03/18]

From: Stas Bekman
Subject: Re: [mp1] "Can't locate object method 'handler' via package 'handler'..."
Date: 01:00 on 18 Mar 2005
Andrew Green wrote:
> Hi,
> 
> I'm encountering an occasional error with a couple of Apache::Registry 
> scripts, exemplified thus:
> 
> 	Can't locate object method "handler" via package "handler"
> 	(perhaps you forgot to load "handler"?) at
> 	/path/to/my/registry/program line 12.
[...]
> Most of the time, the script works entirely as expected.  It's as if 
> (and I'm aware this is wild conjecture) one of the Apache children is 
> "forgetting" that the script is meant to be run in the context of 
> Apache::Registry.
> 
> I have a whole bunch of Registry scripts, however, and only two of them 
> are exhibiting this odd behaviour.  Perhaps significantly, both scripts 
> I've seen return this error are used to upload files.

Andrew, any chance you could minimise the script so that you can still 
reproduce the problem and then post its entire version here (don't forget 
the *minimise* part). As well as the corresponding registry configuration 
section.


        -- 
        __________________________________________________________________
Stas Bekman            JAm_pH ------> Just Another mod_perl Hacker
http://stason.org/     mod_perl Guide ---> http://perl.apache.org
mailto:stas@xxxxxx.xxx http://use.perl.org http://apacheweek.com
http://modperlbook.org http://apache.org   http://ticketmaster.com

Re: [mp1] "Can't locate object method 'handler' via package 'handler'..."
Stas Bekman 01:00 on 18 Mar 2005

Generated at 15:10 on 27 Mar 2005 by mariachi v0.52