[Catalyst] Config problem with C::P::A::S::LDAP under mod_perl
Adam Jacob
adam at stalecoffee.org
Wed Mar 22 00:37:28 CET 2006
On Mar 21, 2006, at 3:19 PM, Adam Jacob wrote:
> On Mar 21, 2006, at 10:21 AM, Scott Karns wrote:
>> [error] Can't use an undefined value as a HASH
>> reference at
>> /usr/lib/perl5/vendor_perl/5.8.7/Catalyst/Plugin/Authentication/Stor
>> e/LDAP/Backend.pm line 100, <DATA> line
>> 225.\nCompilation failed in require at (eval 6) line
>> 3, <DATA> line 225.\n
>
> Where is your app config coming from?
>
> This error is being caused by there not being any value in:
>
> $c->config->{'authentication'}->{'ldap'}
>
> Perhaps you are having a problem with the path?
>
> I'm adding some error checking around this, so it will at least give
> a more instructional error message.
>
> Check the contents of $c->config; your problem is there.
Wow, that was badly written.
Regardless, Catalyst-Plugin-Authentication-Store-LDAP-0.04.tar.gz has
been uploaded to CPAN, and includes a check for this state with a
more helpful error message.
(And a documentation fix!)
Adam
More information about the Catalyst
mailing list