[Catalyst] C::P::Session::Store::DBIC

Daniel Westermann-Clark dwc at pobox.com
Tue Nov 7 02:10:37 GMT 2006


On 2006-11-07 11:03:43 +1000, Ivan Wills wrote:
> I'm trying to use C::P::Session::Store::DBIC for storing my sessions
> but I am getting an error due to it apparently using the wrong DBIC
> module.  Here is a example error:
> 
> [error] Caught exception in engine
> "DBIx::Class::ResultSet::find_or_create(): Error executing 'SELECT
> me.member_role_timestamp, me.member_id, me.role_id FROM member_role
> me WHERE ( me.session_id = ? )': ERROR: column me.session_id does
> not exist"

It looks like the session and authentication configuration is getting
mixed up somehow.  Check that the $c->config->{session}{dbic_class}
value corresponds to your session table class and not your user-role
mapping class.

-- 
Daniel Westermann-Clark



More information about the Catalyst mailing list