[Rt-devel] Re: [rt-users] Postgres Users: DBIx::SearchBuilder
1.00_06
Jesse Vincent
jesse at bestpractical.com
Fri Jun 25 13:32:46 EDT 2004
On Wed, Jun 23, 2004 at 04:56:12PM +0300, Jussi Hamalainen wrote:
> On Fri, 18 Jun 2004, Jesse Vincent wrote:
>
> > I've just uploaded DBIx::SearchBuilder 1.00_06 to CPAN. This release
> > includes additional query-builder enhancements for PostgreSQL (and
> > Oracle). One heavy test site reports a significant performance
> > improvement across the board. I'd love to hear how folks do with this
> > release.
>
> After installing the package RT barfs (HTTP error 500) and I get this
> error in the log file:
>
> [Wed Jun 23 13:45:22 2004] [error] Can't locate object method "new"
> via package "RT::Handle" at /opt/RT/lib/RT.pm line 147.\n
That looks somewhat surprising. in your lib/RT/Handle.pm, can you
alter the code at the beginning to read:
eval "use DBIx::SearchBuilder::Handle::$RT::DatabaseType;
\@ISA= qw(DBIx::SearchBuilder::Handle::$RT::DatabaseType);";
if ($@) {
die "Unable to load DBIx::SearchBuilder database handle for
'$RT::DatabaseType'.".
"\n".
"Perhaps you've picked an invalid database type or spelled it
incorrectly.".
"\n". $@;
}
and then retest. That will get us a better error message.
> Reinstalling version 0.99 fixes the problem. I'm using Perl 5.8.4.
>
> --
> -=[ Count Zero / TBH - Jussi Hämäläinen - email count at theblah.fi ]=-
--
More information about the Rt-devel
mailing list