[ Version: Catalyst 5.64] I've got a user login that's equivalent to the tutorial. In config, 'user_class' is 'Main::User'. Under myapp_server.pl, all works, but under Apache/mod_perl I get:
Caught exception in MyApp::Controller::User->login \ "Can't locate object method "search" via package "Main::User" \ (perhaps you forgot to load "Main::User"?) at \ /usr/lib/perl5/site_perl/5.8.7/Catalyst/Plugin/Authentication/Store/DBIC/User.pm line 19. The debug output from each appears to be the same except for this message. I'm befuddled. btw, I've also tried setting 'user_class' to MyApp::Model::Main::User, MyApp::Schema::Main::User, and User. Only 'Main::User' works, which makes sense as I read the code. --- Rodney Broom _______________________________________________ List: [email protected] Listinfo: http://lists.rawmode.org/mailman/listinfo/catalyst Searchable archive: http://www.mail-archive.com/[email protected]/ Dev site: http://dev.catalyst.perl.org/
