php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #30300 "Permission denied" with db3
Submitted: 2004-10-01 10:44 UTC Modified: 2004-10-01 11:18 UTC
From: mail at dbCF dot de Assigned:
Status: Not a bug Package: DBM/DBA related
PHP Version: 5.0.1 OS: Windows 2000 Pro
Private report: No CVE-ID: None
View Add Comment Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
You can add a comment by following this link or if you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: mail at dbCF dot de
New email:
PHP Version: OS:

 

 [2004-10-01 10:44 UTC] mail at dbCF dot de
Description:
------------
My system:
PHP: 5.0.1
httpd: Apache/2.0.50 (Win32) mod_ssl/2.0.50 OpenSSL/0.9.7c PHP/5.0.1 mod_autoindex/color
OS: Windows 2000 Pro

Take a look on bug #28122 I've the same problem with a different (more actual) system.

Reproduce code:
---------------
$dbh = dba_open('products', 'n', 'db3') or die('No DB! :(');
  dba_insert('Sonic Screwdriver', '23.20', $dbh);
dba_close($dbh);


Expected result:
----------------
No visible output. A file called products should be created.

Actual result:
--------------
Notice: dba_open() [function.dba-open]: read: 0x50df8b8, 256: Permission denied in C:\xampplite\htdocs\dbm.php on line 6

Notice: dba_open() [function.dba-open]: C:\xampplite\htdocs\products: Permission denied in C:\xampplite\htdocs\dbm.php on line 6

Warning: dba_open(products,n) [function.dba-open]: Driver initialization failed for handler: db3: Permission denied in C:\xampplite\htdocs\dbm.php on line 6
No DB! :(

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-10-01 11:18 UTC] derick@php.net
Thank you for taking the time to write to us, but this is not
a bug. Please double-check the documentation available at
http://www.php.net/manual/ and the instructions on how to report
a bug at http://bugs.php.net/how-to-report.php

.
 
PHP Copyright © 2001-2019 The PHP Group
All rights reserved.
Last updated: Wed Mar 27 00:01:27 2019 UTC