[Catalyst] Error with EasyCMS demo
Scott M Parrish
anithri at gmail.com
Wed Jul 13 13:43:46 CEST 2005
On 7/13/05, Andreas Marienborg <omega at palle.net> wrote:
> Hello, and thanks for your intrest in EasyCMS demo.
> Make sure that the lib/EasyCMS/Model/CDBI.pm file can find the sqlite-
> and verify that upon startup, the tables are loaded correctly.
> [catalyst] [debug] Loaded tables "author category comment
> cssattribute cssrule cssruleset cssselector icon newsitem page role
> setting template userrole"
> something like that.
> if it says Loaded tables "" something is wrong
> Hope that might give you a few pointers, if not, a complete paste of
> the server startup log would perhaps give some more pointers!
> On 12. jul. 2005, at 21.22, Kevin Old wrote:
> > Hello everyone,
> > Many thanks to all of those that have made Catalyst! It simply ROCKS!
> > I'm trying to play around with the EasyCMS demo from the Catalyst SVN
> > server, but am getting the following error when loading the web
> > interface after easycms_server.pl starts up clean:
> > Caught exception "Can't locate object method "retrieve_all_sorted_by"
> > via package "EasyCMS::Model::CDBI::Page" at
> > /root/catalyst/EasyCMS/lib/../script//../lib/EasyCMS.pm line 42."
> > I have Class::DBI::Plugin::RetrieveAll installed and updated.
> > Anyone else having this error?
I think that's a Class::DBI::Sweet issue. I noticed earlier that I
could load Catalyst::Model::CDBI::Sweet without having
Class::DBI::Sweet installed. install it from cpan and you should be
good to go.
More information about the Catalyst