[Catalyst] Config problem with C::P::A::S::LDAP under mod_perl

Adam Jacob adam at stalecoffee.org
Wed Mar 22 00:19:50 CET 2006


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.

Adam



More information about the Catalyst mailing list