[Catalyst] Problem setting up authentication
Andy Grundman
andy at hybridized.org
Mon Aug 22 20:07:18 CEST 2005
Wijnand Wiersma wrote:
> The error I recieve is:
> |Caught exception "Can't locate object method "search" via package
> "Jabbernet::M::CDBI::Serveradmins" (perhaps you forgot to load
> "Jabbernet::M::CDBI::Serveradmins"?) at
> /usr/local/share/perl/5.8.7/Catalyst/Plugin/Authentication/CDBI.pm line
> 80."
If the table name is "serveradmin", you want to refer to the class as
Jabbernet::M::CDBI::Serveradmin. The plural form is only used for the
relationships. If you have Catalyst -Debug enabled, you will see the
names of your table classes when you launch the standalone server.
-Andy
More information about the Catalyst
mailing list