php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #3429 Warning: Unable to open database...
Submitted: 2000-02-08 13:50 UTC Modified: 2005-03-31 16:13 UTC
Votes:3
Avg. Score:3.0 ± 1.6
Reproduced:1 of 2 (50.0%)
Same Version:0 (0.0%)
Same OS:0 (0.0%)
From: padilha at totaldigital dot com dot br Assigned:
Status: Wont fix Package: dBase related
PHP Version: 3.0.12 OS: Linux Slackware 7.0
Private report: No CVE-ID: None
Have you experienced this issue?
Rate the importance of this bug to you:

 [2000-02-08 13:50 UTC] padilha at totaldigital dot com dot br
I give acess to all database DBF files to all users and put them on path.
This path is correct. It's possible open the database files to read only on dbase_open() function, but to open it on read-write or write only modes, it return an Warning like that:
Warning: Unable to open Database...

Path file is /tmp/test.dbf.

Example:
<?php
 $db = "/tmp/test.dbf";
 $handle = dbase_open($db,1)
?>

It return:
Warning: Unable to open database /tmp/test.dbf online 3 

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2000-08-04 22:24 UTC] hholzgra@php.net
moved to dbase related
 [2005-03-31 16:13 UTC] php-bugs at lists dot php dot net
We are sorry, but we do not support PHP 3 related problems anymore.
 
PHP Copyright © 2001-2020 The PHP Group
All rights reserved.
Last updated: Thu Dec 03 11:01:23 2020 UTC