php.net |  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
Votes:1
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
View Developer Edit
Welcome! If you don't have a Git account, you can't do anything here.
If you reported this bug, you can edit this bug over here.
(description)
Block user comment
Status: Assign to:
Package:
Bug Type:
Summary:
From: jabc at moz dot com dot mx
New email:
PHP Version: OS:

 

 [2006-10-31 22:05 UTC] jabc at moz dot com dot mx
Description:
------------
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

Patches

Pull Requests

History

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

http://148.223.129.153/soporte/complete.zip

thanks
 [2006-11-08 14:21 UTC] tony2001@php.net
T fields are not supported.
The list of supported field types can be found here: http://php.net/dbase
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Sat Dec 21 17:01:58 2024 UTC