#30372 [NEW]: dba_open() fails when using the db3 handler
| From: | spame at pobox dot sk | Date: | Sat, 09 Oct 2004 10:43:34 +0000 |
| Subject: | #30372 [NEW]: dba_open() fails when using the db3 handler | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-67332@lists.php.net to get a copy of this message | ||
From: spame at pobox dot sk
Operating system: win xp sp1
PHP version: 4.3.9
PHP Bug Type: DBM/DBA related
Bug description: dba_open() fails when using the db3 handler
Description:
------------
my os: win xp sp1
my php: 4.3.9
my web server: apache/1.3.29 (win32) php/4.3.9
i have the same problem as was described in bug #17559 or #28122 (but with
other os ond/or higher php version). i followed all steps to solve my
problem with dba_open() function with db3 handler, but nothing helps me...
of course, i have php_dba.dll included as an extension (specified in
php.ini), and phpinfo()'s dba section shows that dba is enabled and the
db3 handler is available handler
of course, the path to dba file is correct.
of course, all user hava are able to access dba file.
if i change db3 handler for inifile or flatfile handler, everithing
working.
thanks in advance
Reproduce code:
---------------
$fp = dba_open(PATH_TO_FILE.'/qui2id', 'c', 'db3')
Expected result:
----------------
create 'qui2id' file and return a valid dba identifier resource
Actual result:
--------------
Notice: dba_open(): read: 0x173f47c, 256: Permission denied in
e:\www\index.php on line 92
Notice: dba_open(): e:/www/cache/qui2id: Permission denied in
e:\www\index.php on line 92
Warning: dba_open(e:/www/cache/qui2id,c): Driver initialization failed for
handler: db3: Permission denied in e:\www\index.php on line 92
--
Edit bug report at http://bugs.php.net/?id=30372&edit=1
--
Try a CVS snapshot (php4): http://bugs.php.net/fix.php?id=30372&r=trysnapshot4
Try a CVS snapshot (php5.0): http://bugs.php.net/fix.php?id=30372&r=trysnapshot50
Try a CVS snapshot (php5.1): http://bugs.php.net/fix.php?id=30372&r=trysnapshot51
Fixed in CVS: http://bugs.php.net/fix.php?id=30372&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=30372&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=30372&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=30372&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=30372&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=30372&r=support
Expected behavior: http://bugs.php.net/fix.php?id=30372&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=30372&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=30372&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=30372&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=30372&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=30372&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=30372&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=30372&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=30372&r=float
MySQL Configuration Error: http://bugs.php.net/fix.php?id=30372&r=mysqlcfg