[Catalyst] Can't locate object method FIRSTKEY error using modperl and catalyst

Balaji Srinivasan balajione at gmail.com
Fri Jan 13 08:02:12 CET 2006


Hi Everyone

I am using modperl 2.0.2, apache 2.0.55 and Catalyst 5.61 and perl 5.8.1.
When i start the apache server the logs shows that my app has loaded fine.
But when i try to view a URL it gives me the following error in the logs:

[Thu Jan 12 23:52:10 2006] [catalyst] [error] Caught exception in engine
"Can't
locate object method "FIRSTKEY" via package "APR::Table" at
/usr/local/lib/perl5
/site_perl/5.8.1/Catalyst/Engine/Apache.pm line 65."

BTW I even recompiled mod-perl 2.0.2 and all the other perl modules.

I would very much appreciate any help.

Thanks
Balaji

---------- Forwarded message ----------
From: Balaji Srinivasan <balajione at gmail.com>
Date: Jan 12, 2006 10:30 PM
Subject: Re: [Catalyst] Fwd: Catalyst and Modperl question
To: The elegant MVC web framework <catalyst at lists.rawmode.org>

Hi Brandon
I have mod_perl-2.0.2. I believe APR comes with it. So I dont know how there
could be a version mismatch there.
Has anyone here tried modperl-2.0.2 with Catalyst 5.61 and HTTPD-2.0.55?
Thanks
Balaji

On 1/12/06, Brandon Black <blblack at gmail.com> wrote:
>
> On 1/13/06, Balaji Srinivasan <balajione at gmail.com> wrote:
> > It is being loaded. I looked at error_log and I see this message:
> > [Thu Jan 12 22:54:52 2006] [catalyst] [error] Caught exception in engine
>
> > "Can't
> > locate object method "FIRSTKEY" via package "APR::Table" at
> > /usr/local/lib/perl5
> > /site_perl/5.8.1/Catalyst/Engine/Apache.pm line 65."
> >
> > Is there a version mismatch problem?
> > Thanks in advance for any help
>
> It could be that something's wrong with the perl side of your mod_perl
> install (as opposed to the apached shared library) - like maybe you
> just have the shared object for mod_perl 2.x but older 1.x perl
> modules to go with it.  Perhaps you need another package from wherever
> you got your mod_perl package from?
>
> _______________________________________________
> Catalyst mailing list
> Catalyst at lists.rawmode.org
> http://lists.rawmode.org/mailman/listinfo/catalyst
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.rawmode.org/pipermail/catalyst/attachments/20060112/6629484d/attachment-0001.htm


More information about the Catalyst mailing list