[Catalyst] Catalyst::Model::CDBI::Plain broken after 5.5 upgrade?
Sebastian Riedel
sri at oook.de
Tue Dec 13 02:37:25 CET 2005
12.12.2005 22:38 Dr. Jennifer Nussbaum:
>
>
> Hi, i just upgraded Catalyst from 5.3? to some
> post-5.5 version, and see
> that when i try to statr it i get a message in my
> apache log like:
>
> [Mon Dec 12 09:02:33 2005] [error] Couldn't
> instantiate component "SiteSearch::M::Order",
> "Undefined subroutine &Catalyst::Base::new called at
> /usr/local/lib/perl5/site_perl/5.8.7/Catalyst/Model/CDBI/Plain.pm
> line 9."
>
> How to fix please? i didnt change anything in my
> program and i did install the Apache engine class.
Catalyst::Model::CDBI::Plain has not yet been updated for Catalyst
5.5 (someone has to adopt it)
For now you can just replace
use base 'Catalyst::Model::CDBI::Plain';
with
use base 'Class::DBI';
--
sebastian
More information about the Catalyst
mailing list