|
From: Joe Z. <joe...@za...> - 2004-05-13 20:45:10
|
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 |