[Catalyst] Two problems

Jose Nyimi josenyimi at skynet.be
Wed Mar 30 23:25:25 CEST 2005



> -----Message d'origine-----
> De : catalyst-bounces at lists.rawmode.org [mailto:catalyst-
> bounces at lists.rawmode.org] De la part de Sebastian Riedel
> Envoyé : mercredi 30 mars 2005 23:17
> À : <catalyst at lists.rawmode.org> <catalyst at lists.rawmode.org>
> Objet : Re: RE : [Catalyst] Two problems
> 
> 
> Am 30.03.2005 um 23:07 schrieb Jose Nyimi:
> 
> >
> >
> >> -----Message d'origine-----
> >> De : catalyst-bounces at lists.rawmode.org [mailto:catalyst-
> >> bounces at lists.rawmode.org] De la part de Vsevolod (Simon)
Ilyushchenko
> >> Envoyé : mercredi 30 mars 2005 19:00
> >> À : catalyst at lists.rawmode.org
> >> Objet : [Catalyst] Two problems
> >>
> >> Hi,
> >>
> >> After trying my Hops example with the newest Catalyst, I get this
> > under
> >> Apache 2 or CGI:
> >>
> >> Can't locate object method "log" via package "Apache::RequestRec"
at
> >> /opt/software/perl/lib/perl5/site_perl/5.8.5/Catalyst/Engine.pm
line
> > 451
> >>
> >> I tried to debug the code under the Perl web server, but it's not
> >> possible any more - if the code runs under the debugger, each HTTP
> >> request causes the error below. I tried to look into it, and I
think
> > it
> >> happens because Socket.pm tries to read from STDIN, which does not
> > work
> >> right under the debugger. I wish the debugging ability came back.
> >>
> >> Thanks,
> >> Simon
> >>
> >
> > It seems that Catalyst won't work on Apache2 ...
> > A similar problem has been reported at this thread
> > http://lists.rawmode.org/pipermail/catalyst/2005-March/000063.html
> >
> > I was expecting Catalyst developers to react on this ...
> 
> I already answered that question.
> 
> Just change
> 
>      sub handler {
> 
> to
> 
>      sub handler ($$) {
> 
> in Engine.pm
> 
> Or add this to your MyApp.pm
> 
>      sub handler($$) { shift->SUPER::handler(@_); }
> 
> We have not yet made a new release because we are very very busy
> implementing cool new things for Catalyst 5. :)
> 
> --
> sebastian

Look at
http://lists.rawmode.org/pipermail/catalyst/2005-March/000068.html

The OP said that what you suggested didn't work :)

BR,
José.






More information about the Catalyst mailing list