Skip Menu |

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

Report information
The Basics
Id: 31398
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: Re: Need add Apache2::RequestRec to Apache-AuthDBI v 1.06
Date: Wed, 12 Dec 2007 13:21:55 +0600
To: bug-Apache-DBI [...] rt.cpan.org
From: "Pavel V. Rochnyack" <rochnyack [...] ngs.ru>
Hi ! Also I get another error message: Can't locate object method "log_reason" via package "Apache2::RequestRec" at /usr/lib/perl5/site_perl/5.8.8/Apache/AuthDBI.pm line 401.\n I found this function in Apache2::Log module and patch now looks as [root@test Apache]# diff -u AuthDBI.pm_ AuthDBI.pm --- AuthDBI.pm_ 2007-12-04 18:44:36.000000000 +0600 +++ AuthDBI.pm 2007-12-12 13:18:26.000000000 +0600 @@ -16,6 +16,8 @@ require Apache2::Access; require Apache2::Const; import Apache2::Const @constants; + use Apache2::RequestRec; + use Apache2::Log; } else { require Apache::Constants; Show quoted text
> Hi! I have Apache-DBI-1.06 running under mod_perl2 and get error.
Show quoted text
> [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
Show quoted text
> After I add one line into AuthDBI.pm all works perfectly.
-- Best regards, Pavel V. Rochnyack mailto:rochnyack@ngs.ru
Part of 1.07 now on CPAN