Stas Bekman wrote:
> 
> On Thu, 23 Aug 2001, Rasoul Hajikhani wrote:
> 
> > ___cliff rayman___ wrote:
> > >
> > > and what do the error logs say?
> > >
> > > Rasoul Hajikhani wrote:
> > >
> > > > I know this question will sound primitive to most of you, however, I
> > > > have this nagging error which won't go away.
> > > > In my httpsd.conf, I have declared "PerlModule
> > > > MY::Perl::Control::WebAccess" which I know is where it is supposed to
> > > > be. My @INC does not include the path to that directory, however, in my
> > > > startup.pl I have that directory as my
> > > > "use lib qw(...);". I have tried declaring:
> > > > "use MY::Perl::Control::WebAccess;" in my startup.pl, with the same
> > > > result: apache won't start.
> > > > I mean what's up? I have another module sitting next to my
> > > > MY::Perl::Control::WebAccess and in my startup.pl I have:
> > > > "use MY::Perl::Control::Cookie_Check;" and all is fine and dandy...
> > > > apache runs without a hitch. I tried "perl5lib (all capital)" in my
> > > > .cshrc, again nothing. Now I come to you learned people in the hope of
> > > > salvation... Any ideas people?
> > > > -r
> > >
> > > --
> > > ___cliff [EMAIL PROTECTED]http://www.genwax.com/
> >
> > Here it is:
> >
> > Undefined subroutine &My::Perl::Control::WebAccess::handler called.
> 
> That's not the error that we want to see. The error you've listed can
> happen when you actually generate some request. But that's after >Apache

You are right. Apache does not even start.

> has started. PerlModule on the other hand merely loads the file similar to
> use. As you say use() doesn't work for you too. Are you sure you can
> perform:
> 
> % perl -c MY/Perl/Control/WebAccess.pm

Yes, I get "WebAccess.pm syntax OK" result.

> 
> remove the error_log file before you start a new test and see what
> happens.
> 
> If you still fail to find the problem. Take your code and shrink it to
> smallest possible size, while it still imposes a problem for you and
> together with the configuration section for this module send it to the
> list. Remember, we want a simple test that we can easily understand and
> reproduce the problem with.
> 
> Thanks.
> 
> _____________________________________________________________________
> Stas Bekman              JAm_pH     --   Just Another mod_perl Hacker
> http://stason.org/       mod_perl Guide  http://perl.apache.org/guide
> mailto:[EMAIL PROTECTED]   http://localhost/      http://eXtropia.com/
> http://singlesheaven.com http://perl.apache.org http://perlmonth.com/

Reply via email to