ID:               25090
 Updated by:       [EMAIL PROTECTED]
 Reported By:      fabio_heller at yahoo dot it
-Status:           Open
+Status:           Bogus
 Bug Type:         DBM/DBA related
 Operating System: win 2000 sp3
 PHP Version:      4.3.3RC4-dev
-Assigned To:      
+Assigned To:      helly
 New Comment:

Please do not submit the same bug more than once. An existing
bug report already describes this very problem. Even if you feel
that your issue is somewhat different, the resolution is likely
to be the same. Because of this, we hope you add your comments
to the existing bug instead.

Thank you for your interest in PHP.

Duplicate of #23975 
Use 'l' or '-' modifier on open.


Previous Comments:
------------------------------------------------------------------------

[2003-08-15 08:50:46] [EMAIL PROTECTED]

Isn't this same bug as #23975 ?

------------------------------------------------------------------------

[2003-08-14 04:26:34] fabio_heller at yahoo dot it

Same problem with snapshot version unfortunately

------------------------------------------------------------------------

[2003-08-14 02:09:40] [EMAIL PROTECTED]

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

------------------------------------------------------------------------

[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

Reply via email to