[Catalyst] Cannot fetch value of Active pre-execute
Tomas Doran
bobtfish at bobtfish.net
Sat Feb 13 12:50:48 GMT 2010
On 13 Feb 2010, at 02:09, Silvio Almeida wrote:
> I got this error on script/myapp_server with DBI_TRACE=1 inside $c-
> >authenticate call:
>
> -----------------
> Cannot fetch value of Active pre-execute
> <- prepare_cached('SELECT me.id, me.name, me.password,
> me.status, me.created, me.id_person FROM w_user me WHERE ( name
> = ? )', HASH(0x4cbea20), ...)= DBI::st=HASH(0x7f60208dd750) at
> DBI.pm line 1971
> <- bind_param(1, 'sam', ...)= 1 at DBI.pm line 1346
> <- execute= 1 at DBI.pm line 1352
> <- fetchrow_array= ( 1 'sam'
> '9dc628281432d144c1a5fa20dd60b1ca1b9de6ed' 'NEW' '2009-08-23
> 02:58:46.989551-03' 1 ) [6 items] row1 at Cursor.pm line 93
> <- FETCH('Active')= 1 at Cursor.pm line 180
> <- finish= 1 at Cursor.pm line 180
> LOGIN FAIL ## warned because ! $c->authenticate
> -----------------
>
> What is this and how do I fix it?
Is anything actually wrong here?
Fetching the user from the store appears to succeed. I would guess
that actually the thing which is failing is the password check in the
credential module you're using.
Can you show us your authentication configuration, and how you call $c-
>authenticate?
Cheers
t0m
More information about the Catalyst
mailing list