[Catalyst] Stupid error with C::Authentication

Tim timh at dirtymonday.net
Fri Sep 20 16:22:18 GMT 2013

On Thu, 19 Sep 2013 20:54:53 -0700
TimH <timh at dirtymonday.net> wrote:

> On Mon, 26 Aug 2013 20:07:51 +0400
> Alex Povolotsky <tarkhil at over.ru> wrote:
> > Hello
> > 
> > [error] Caught exception in Admin::Controller::Root->index "Can't use 
> > string ("Catalyst::Authentication::Store:"...) as a HASH ref while 
> > "strict refs" in use at accessor 
> > Catalyst::Authentication::Store::DBIx::Class::User::_user (defined at 
> > /usr/local/lib/perl5/site_perl/5.14/Catalyst/Authentication/Store/DBIx/Class/User.pm 
> > line 12) line 5, <DATA> line 1003."
> 	I also have this problem now and never did before.  I have no
> trouble accessing the database.  Did you find a solution for this?

	OK, so I was wrong about not having trouble accessing the
database; I could simply access it from everything but my Catalyst
app.  The Pg install on this box was using /tmp as the socket
directory, and DBI was looking in /var/run/postgresql.  I don't know
what determines this, but I set Pg to use /var/run/postgresql and now
I'm fine.


More information about the Catalyst mailing list