[Catalyst] issues with C::P::Authentication::Store::DBIC

Octavian Rasnita orasnita at gmail.com
Fri Dec 29 14:33:56 GMT 2006


Hi,

I have seen that if I don't use $c->user in the program or templates, the 
application works fine if I use Authentication::Store::Htpasswd.
However, after this test, if I switch back to Authentication::Store::DBIC, 
the program gives again that 404 Not Found error and prints the following 
error message in Apache log:

[error] Caught exception in engine "Can't store CODE items at 
blib\lib\Storable.pm (autosplit into blib\lib\auto\Storable\_freeze.al) line 
290, at D:/usr/site/lib/Object/Signature.pm line 19"

I have searched for this error and read many pages about this issue. One of 
them recommended
cpan> r
so I've started upgrading what I thought it would be good.

I've also seen that
Tie::RefHash needed to be installed. I've tried installing it but when 
trying to install it with cpan, it used to give an error, and I guess it was 
a bigger one, because it used to also appear an error window telling that 
the perl command interpreter gave an error and asked me to close it.

Of course, I couldn't find that module in any ppm repository, so I've 
decided not to install it.
But I've also found in a thread on Catalyst mailing list that this module is 
recommended to be upgraded, so I have installed using cpan by force.

Now, with the newest Tie::RefHash, the program also works fine (until now) 
if I use the following modules:
-Debug
Static::Simple
Session
Session::State::Cookie
Session::Store::File
Authentication
Authentication::Store::DBIC
Authentication::Credential::Password

I hope I won't have problems because I've installed Tie::RefHash even though 
it gave some errors on installation.
(The test that gave errors is named "threads" or something like that).

Hope some members will find my experience useful.

Octavian




More information about the Catalyst mailing list