Skip Menu |

This queue is for tickets about the Apache-DBI CPAN distribution.

Report information
The Basics
Id: 31193
Status: resolved
Priority: 0/
Queue: Apache-DBI

People
Owner: pgollucci [...] p6m7g8.com
Requestors: rochnyack [...] ngs.ru
Cc:
AdminCc:

Bug Information
Severity: (no value)
Broken in: (no value)
Fixed in: (no value)



Subject: Need add Apache2::RequestRec to Apache-AuthDBI v 1.06
Date: Tue, 4 Dec 2007 18:46:42 +0600
To: bug-Apache-DBI [...] rt.cpan.org
From: "Pavel V. Rochnyack" <rochnyack [...] ngs.ru>
Hi! I have Apache-DBI-1.06 running under mod_perl2 and get error. [Tue Dec 04 18:22:11 2007] [error] [client xxx.xxx.xxx.xxx] Can't locate object method "user" via package "Apache2::RequestRec" at /usr/lib/perl5/site_perl/5.8.8/Apache/AuthDBI.pm line 226.\n After I add one line into AuthDBI.pm all works perfectly. [root@test Apache]# diff -u AuthDBI.pm_ AuthDBI.pm --- AuthDBI.pm_ 2007-12-04 18:44:36.000000000 +0600 +++ AuthDBI.pm 2007-12-04 18:26:42.000000000 +0600 @@ -16,6 +16,7 @@ require Apache2::Access; require Apache2::Const; import Apache2::Const @constants; + use Apache2::RequestRec; } else { require Apache::Constants; PS: I have following modules included in httpd.conf PerlModule Apache2::Status PerlModule Apache2::Reload PerlModule ModPerl::PerlRun PerlModule ModPerl::Registry PerlModule Apache::DBI PerlModule Apache2::RequestRec PerlInitHandler Apache2::Reload -- С уважением, Pavel mailto:rochnyack@ngs.ru
part of 1.07 now on CPAN