[Catalyst] Authentic/Session modules problem

Dermot paikkos at googlemail.com
Fri Feb 29 13:03:27 GMT 2008


Hi,

I am working with the tutorials, at the authentication part, and have hit a
snag.

I've add the following to my package

Authentication
Authentication::Store::DBIC

Authentication::Credential::Password

Session
#Session::Store::FastMmap
Session::FastMmap
Session::State::Cookie


I had to remove the 'Store' from the path to FastMmap because my
FastMmap.pmlives here:
~/Catalyst/Plugin/Session/FastMmap.pm
~/auto/Catalyst/Plugin/Session/FastMmap

However whenever I try to restart MyApp with Session::FastMmap enabled I
get:
Can't use string ("MyApp") as a HASH ref while "strict refs" in use at
/usr/lib/perl5/site_perl/5.8.8/Class/Accessor/Fast.pm line 39.

If I remark FastMmap out from the MyApp.pm and then login I get:
[debug] Created session "f19a97c4db250699be73e3250bdba8b1e8a0210e"
[debug] Successfully authenticated user 'dpaikkos'.
[error] Caught exception in engine "Can't locate object method
"store_session_data" via package "Images" at
/usr/lib/perl5/site_perl/5.8.8/Catalyst/Plugin/Session.pm line 136.

So I guess FastMmap is essential to the authentication and session
management.

Can anyone help me work out what's going on?
Thanx,
Dp.

PS: Is there a searchable mailing list archive?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20080229/0b15a=
3e8/attachment.htm


More information about the Catalyst mailing list