|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #39326 dbase_open can't open database
Submitted: 2006-10-31 22:05 UTC Modified: 2006-11-08 14:21 UTC
Avg. Score:5.0 ± 0.0
Reproduced:1 of 1 (100.0%)
Same Version:1 (100.0%)
Same OS:1 (100.0%)
From: jabc at moz dot com dot mx Assigned:
Status: Not a bug Package: dBase related
PHP Version: 5.1.6 OS: FreeBSD 6.2-PRERELEASE
Private report: No CVE-ID: None
 [2006-10-31 22:05 UTC] jabc at moz dot com dot mx
when I try to open an database with more than 150 fields can't open it. only If I delete fields under 150 can do it.

on version 4.4 it work very fine.

the error say:  unable to open database

of course STCTRL21.DBF exist and have all permissions.

Reproduce code:
$dbi = dbase_open("/reco/RECO2005/TRAFICO/DATA/STCTRL21.DBF", 0);
if ($dbi === false)
       print "unable to open database";

Expected result:
No errors and the database opened.

Actual result:
unable to open database


Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2006-10-31 23:06 UTC] jabc at moz dot com dot mx
we determine that the problem was the type of fields, we have four fields with type  'date time'  and when we change to type 'date'  it work.

But in version php4.4 it work fine with this type of fields.

try to test with this database that contain the four fields type 'date time' and try to modify this fields to type 'date' for verify that work it

 [2006-11-08 14:21 UTC]
T fields are not supported.
The list of supported field types can be found here:
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Wed Jun 07 18:03:41 2023 UTC