[Catalyst] Config problem with C::P::A::S::LDAP under mod_perl
Scott Karns
scottkinsf at yahoo.com
Tue Mar 21 23:00:17 CET 2006
--- Scott Karns <scottkinsf at yahoo.com> wrote:
> I am using Catalyst-5.66 and, among other plugins,
> Catalyst::Plugin::Authentication::Store::LDAP-0.03.
In case there's something in the ordering or
inclusion/exclusion of modules used, here is my
preamble:
package QR;
use strict;
use warnings;
#
# Set flags and add plugins for the application
#
# -Debug: activates the debug mode for very
useful log
# messages
# Static::Simple: will serve static files from
the
# application's root directory
#
use Catalyst qw/-Debug
ConfigLoader
Static::Simple
Authentication
Authentication::Store::LDAP
Authentication::Credential::Password
Authorization::Roles
Authorization::ACL
Session
Session::Store::File
Session::State::Cookie
DateTime
FillInForm
RedirUtil
URI::AddQuery
StackTrace
/;
use PyKota::DB::Object;
our $VERSION = '0.01';
#
# Configure the app from a file:
# (must come before setup!)
#
__PACKAGE__->config( file => 'quota_report.yaml' );
#
# Start the application
#
__PACKAGE__->setup();
> When running the built-in server, I have no
> problems. Users are correctly authenticated, roles
> are handled as intended and my Rose::DB based
> Models function correctly. However, when I run the
> app in a mod_perl2 environment
> (apache-2.0.55-mpm-prefork and mod_perl-2.0.2), I
> get the following error:
>
> [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
>
Any help would be appreciated.
-Scott
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com
More information about the Catalyst
mailing list