Bug #17559: dba_open() fails when using the db3 handler.
| From: | oceanwave-nospam- at linkline-nospam- dot com | Date: | Sun, 02 Jun 2002 03:37:48 +0000 |
| Subject: | Bug #17559: dba_open() fails when using the db3 handler. | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-9129@lists.php.net to get a copy of this message | ||
From: oceanwave-nospam-@linkline-nospam-.com
Operating system: Windows XP Professional
PHP version: 4.2.1
PHP Bug Type: DBM/DBA related
Bug description: dba_open() fails when using the db3 handler.
When calling dba_open on Win32 (Apache version 1.3.24) using the db3
handler, it returns the following:
Warning: driver initialization failed in d:\docroot\dbawrite.php on line
2
The code is as follows (part of a news system):
function loadarticledb() {
return(dba_open("./nnews/articles.dbm", "c", "db3");
}
The function should create articles.dbm if it doesn't exist, as stated in
the docs. 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 the only available handler. I've been working at fixing
this for a very long time, and any help is appreciated.
Thanks in advance!
--
Edit bug report at http://bugs.php.net/?id=17559&edit=1
--
Fixed in CVS: http://bugs.php.net/fix.php?id=17559&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=17559&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=17559&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=17559&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=17559&r=support
Expected behavior: http://bugs.php.net/fix.php?id=17559&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=17559&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=17559&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=17559&r=globals