[Catalyst] Error creating CDBI model
Maxim Nechaev
nechaev at technodesign.ru
Thu Nov 24 06:07:59 CET 2005
AG> 0.11 is on CPAN, please upgrade if you still can't figure out the source
AG> of your problem.
I upgrade to new version and now i get this message:
Use of uninitialized value in hash element at /usr/lib/perl5/site_perl/5.8.7/Class/DBI/Loader/Generic.pm line 119.
Couldn't instantiate component "MyApp::Model::User", "Can't call method "db_Main" on an undefined value at /usr/lib/perl5/site_perl/5.8.7/Class/DBI/Loader/mysql.pm line 43.
at /usr/lib/perl5/site_perl/5.8.7/Catalyst.pm line 1445" at /usr/lib/perl5/site_perl/5.8.7/Module/Pluggable/Fast.pm line 86
Compilation failed in require at /home/xeim/MyApp/script/myapp_cgi.pl line 8.
BEGIN failed--compilation aborted at /home/xeim/MyApp/script/myapp_cgi.pl line 8.
I already found source of problem. Table `User` is not present in my
database. But nor first error message, nor second error message don't
tell me anything about source of problem.
--
Maxim Nechaev
More information about the Catalyst
mailing list