[Catalyst] Error with EasyCMS demo
kevinold at gmail.com
Wed Jul 13 23:25:33 CEST 2005
This seemed to be the problem. When I did an "svn co
http://svn.palle.net/svn/users/omega/easycms/trunk/" it seems that the
easycms.db file created in data doesn't have anything in it.
I am running FC3 with sqlite 2.1 and made the easycms.sql into the
easycms.db, but I still get:
[Wed Jul 13 17:08:20 2005] [catalyst] [debug] Found home
DBD::SQLite::db prepare failed: file is encrypted or is not a
database(26) at dbdimp.c line 268 at
/usr/lib/perl5/site_perl/5.8.5/Class/DBI/Loader/SQLite.pm line 92.
[Wed Jul 13 17:08:21 2005] [catalyst] [debug] Couldn't load tables
"Can't call method "execute" on an undefined value at
/usr/lib/perl5/site_perl/5.8.5/Class/DBI/Loader/SQLite.pm line 93.
Couldn't instantiate component "EasyCMS::Model::CDBI", "Can't call
method "classes" on an undefined value at
/usr/lib/perl5/site_perl/5.8.5/Catalyst/Model/CDBI.pm line 67." at
/usr/lib/perl5/site_perl/5.8.5/Module/Pluggable/Fast.pm line 86
Compilation failed in require at script/easycms_server.pl line 13.
BEGIN failed--compilation aborted at script/easycms_server.pl line 13.
Any chance you could put the easycms.db on the SVN server?
Any ideas, what I do?
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?
> > --
> > Kevin Old
> > kevinold at gmail.com
> > _______________________________________________
> > Catalyst mailing list
> > Catalyst at lists.rawmode.org
> > http://lists.rawmode.org/mailman/listinfo/catalyst
kevinold at gmail.com
More information about the Catalyst