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

Reply via email to