#25090 [NEW]: Driver initialization failed for handler: db3 - not a permission problem

From: Date: Thu, 14 Aug 2003 06:57:42 +0000
Subject: #25090 [NEW]: Driver initialization failed for handler: db3 - not a permission problem
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45918@lists.php.net to get a copy of this message
From: fabio_heller at yahoo dot it Operating system: win 2000 sp3 PHP version: 4.3.2 PHP Bug Type: DBM/DBA related Bug description: Driver initialization failed for handler: db3 - not a permission problem Description: ------------ Using mod php 4.3.2 on Apache 1.3.27 phpinfo() says thah supported handlers are cdb, cdb_make, db3, flatfile. dba extension enabled. It is not a permission problem as "flatfile" handler works as expected Reproduce code: --------------- <?php $id = dba_open('d:/www_new/xyz.db', 'c', 'db3') ; dba_replace('fookey', 'foovalue', $id) ; dba_close($id) ; ?> Expected result: ---------------- File creation and no driver initialization errors, instead only 'flatfile' works as expected Actual result: -------------- ------------- Warning: dba_open(d:/www_new/xyz.db,c): Driver initialization failed for handler: db3: Permission denied in d:\www_new\sqlite\dba.php on line 5 Warning: dba_replace(): supplied argument is not a valid DBA identifier resource in d:\www_new\sqlite\dba.php on line 7 Warning: dba_close(): supplied argument is not a valid DBA identifier resource in d:\www_new\sqlite\dba.php on line 9 ----------------- Anyway *** file is created *** in spite of errors -- Edit bug report at http://bugs.php.net/?id=25090&edit=1 -- Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=25090&r=trysnapshot4 Try a CVS snapshot (php5): http://bugs.php.net/fix.php?id=25090&r=trysnapshot5 Fixed in CVS: http://bugs.php.net/fix.php?id=25090&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=25090&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=25090&r=needtrace Try newer version: http://bugs.php.net/fix.php?id=25090&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=25090&r=support Expected behavior: http://bugs.php.net/fix.php?id=25090&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=25090&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=25090&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=25090&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=25090&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=25090&r=dst IIS Stability: http://bugs.php.net/fix.php?id=25090&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=25090&r=gnused

« previous php.bugs (#45918) next »