|
From: AWC M. L. <mai...@aw...> - 2004-05-13 21:00:19
|
Joe, Thank you! That fixed the problem. I'll now play around with things a bit. --- Charles Joe Zacky wrote: > > AWC Mailing Lists wrote: > >> ---------- >> Could not create a database of type db3 or db4 (tried both) >> Warning: no such handler: in /var/www/html/bobs/inc/class_db.php on >> line 79 >> >> Warning: Unable to find DBA identifier 0 in >> /var/www/html/bobs/inc/class_db.php on line 308 >> No files were found in >> ---------- >> I am running bobs 0.6.2 >> Redhat 9.0 >> >> Any suggestions on where to look now? >> >> Thanks. >> >> -- Charles > > > > This is a known issue that will be fixed on the next release. It's > described here: http://us4.php.net/manual/en/function.dba-open.php > The problem is in /var/www/html/bobs/inc/class_db.php. Change the "c" > in both @dba_open functions to "n" and it should work fine. > > 43 // check what dba type we should use > 44 $tmpfile = tempnam("/tmp", "BOBS"); > 45 $dbcheck = @dba_open($tmpfile, "c", "db3"); > 46 if ( $dbcheck === FALSE ) { > 47 $dbcheck = @dba_open($tmpfile, "c", "db4"); > 48 if ( $dbcheck === FALSE ) { > > Cheers, > Joe > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: SourceForge.net Broadband > Sign-up now for SourceForge Broadband and get the fastest > 6.0/768 connection for only $19.95/mo for the first 3 months! > http://ads.osdn.com/?ad_id=2562&alloc_id=6184&op=click > _______________________________________________ > Bobs-devel mailing list > Bob...@li... > https://lists.sourceforge.net/lists/listinfo/bobs-devel > |