#37173 [Opn->Fbk]: dba_open gives an error about uncompatible modifiers when they aren't.
| From: | tony2001@php.net | Date: | Sun, 23 Apr 2006 15:29:13 +0000 |
| Subject: | #37173 [Opn->Fbk]: dba_open gives an error about uncompatible modifiers when they aren't. | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-96127@lists.php.net to get a copy of this message | ||
ID: 37173
Updated by: tony2001@php.net
Reported By: myckel at sdf dot lonestar dot org
-Status: Open
+Status: Feedback
Bug Type: DBM/DBA related
Operating System: Gentoo Linux
PHP Version: 5.1.2
New Comment:
Please try using this CVS snapshot:
http://snaps.php.net/php5.1-latest.tar.gz
For Windows:
http://snaps.php.net/win32/php5.1-win32-latest.zip
Previous Comments:
------------------------------------------------------------------------
[2006-04-23 15:21:58] myckel at sdf dot lonestar dot org
Description:
------------
Since my last distro php upgrade I can't open a DBA file with the "rdt"
modifier (on a non-opened file). It gives an error on a n incompatible
modifier combo. The PHP version is: PHP Version 5.1.2-pl1-gentoo
Reproduce code:
---------------
<?php
/* config.db4 exists, but isn't opened */
dba_open("config.db4",rdt,db4);
?>
Expected result:
----------------
Empty page, no errors.
Actual result:
--------------
HTTP server returns the following error:
Warning: dba_open(config.db4,rdt) [function.dba-open]: You cannot
combine modifiers - (no lock) and t (test lock) in
/var/www/localhost/htdocs/test.php on line 4
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=37173&edit=1