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

From: Date: Thu, 14 Aug 2003 07:09:41 +0000
Subject: #25090 [Opn->Fbk]: Driver initialization failed for handler: db3 - not a permission problem
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-45920@lists.php.net to get a copy of this message
ID: 25090 Updated by: sniper@php.net Reported By: fabio_heller at yahoo dot it -Status: Open +Status: Feedback Bug Type: DBM/DBA related Operating System: win 2000 sp3 PHP Version: 4.3.2 New Comment: Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip Previous Comments: ------------------------------------------------------------------------ [2003-08-14 01:57:42] fabio_heller at yahoo dot it 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 this bug report at http://bugs.php.net/?id=25090&edit=1

« previous php.bugs (#45920) next »