FAQ
I use CDBI - not DBIC - and I have the "classical" tables User, Role,
UserRole
(Authentication Authentication::Store::DBIC
Authentication::Credential::Password Authorization::Roles)

At home I have a Catalyst from Debian, with C::P::Session at Version (and
no problem with
myApp from the corresponding vhost, with Apache-1.33-mod_perl ; also, no
problem with the real
server before the upgrade from C-5.7001 to 5.7006 - but now...)

But at the real server, the (only) difference is that C::P::Session is at
Version (not 12)
and I get this error:

"Can't locate object method "search" via package "Catalyst::Base" at
/usr/share/perl5/Catalyst/Plugin/Authentication/Store/DBIC/User.pm line 19."

from the execution of $c->login(username,password).

Because I use CDBI, is a need to substitute Auth::Store::DBIC (-0.07 and
Authentication=0.09)?

Many Thanks for to clarify this question,
--vb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070114/d63e012e/attachment.htm

Search Discussions

  • Vb at Jan 15, 2007 at 9:27 am
    ... the "trick" is to 'use base Class::DBI' and not 'use base
    C::Model::CDBI::Plain'
    in the "root" pm. table.
    --vb
    On 1/14/07, vb wrote:

    I use CDBI - not DBIC - and I have the "classical" tables User, Role,
    UserRole
    (Authentication Authentication::Store::DBIC
    Authentication::Credential::Password Authorization::Roles)

    At home I have a Catalyst from Debian, with C::P::Session at Version
    (and no problem with
    myApp from the corresponding vhost, with Apache-1.33-mod_perl ; also, no
    problem with the real
    server before the upgrade from C-5.7001 to 5.7006 - but now...)

    But at the real server, the (only) difference is that C::P::Session is at
    Version (not 12)
    and I get this error:

    "Can't locate object method "search" via package "Catalyst::Base" at
    /usr/share/perl5/Catalyst/Plugin/Authentication/Store/DBIC/User.pm line 19."

    from the execution of $c->login(username,password).

    Because I use CDBI, is a need to substitute Auth::Store::DBIC (-0.07 and
    Authentication=0.09)?

    Many Thanks for to clarify this question,
    --vb
    -------------- next part --------------
    An HTML attachment was scrubbed...
    URL: http://lists.scsys.co.uk/pipermail/catalyst/attachments/20070115/ec6b9b92/attachment-0001.htm

Related Discussions

Discussion Navigation
viewthread | post
Discussion Overview
groupcatalyst @
categoriescatalyst, perl
postedJan 14, '07 at 4:44p
activeJan 15, '07 at 9:27a
posts2
users1
websitecatalystframework.org
irc#catalyst

1 user in discussion

Vb: 2 posts

People

Translate

site design / logo © 2023 Grokbase