This is probably a data error and not a DBI error.  You need to check  
$BUGZILLAINSTALL/data/versioncache.   There is probably some empty data fields.  This 
can happen, for example, if you add a product and don't add a component.  Bugzilla is 
very picky about the data it is processing. There is no problem with the DBI code.
Rick

__
Rick Clark
Sr. System Administrator
Learningsoft Corp.


On Tuesday 17 July 2001 13:21, Blake Binkley wrote:
> Can't call method "prepare" on an undefined value at globals.pl line
> 227.
>
> line 227 says:
>
> $::currentquery = $::db->prepare($str)
>
> I have Oracle 8.1.7 Client installed
>
> running RedHat 6.2 with latest updates and Kernel 2.2.19-6.2.7smp
>
> I have install DBD::Oracle 1.07
>
> I have attempted to check and see if $::db is defined and it isn't
> getting defined
>
> when I try to force it to define by overriding the eval{} code in line
> 114
> with a check/connect I get the message
>
> DBD::Oracle initialisation failed: Can't locate
> auto/DBD/Oracle/ORA_OCI.al in @INC
>
> I have re-ran the Makefile.PL for DBD::Oracle with opt_b=0 instead of
> opt_b = 1 with no success

Reply via email to