|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
[2003-09-16 10:27 UTC] dsherron at nbc dot edu
Description: ------------ As seen in Version 4.3.3 Changelog: Fixed bug 23463 (added Dbase2 version check). (Vlad Krupin) We are reading from many dbase files, all version 3, and one of them has a memo field. Prior to version 4.3.2, all of these tables were readable, but with the addition of the version check on 4.3.3, I now recieve the following error when opening the v3 file with memo fields: -----------snip----------- Warning: This file appears to be dbase ver. -117. Only version 3 and above is supported. in D:\inetpub\onlineroot\bin\inc_lib_online.php on line 862 Warning: unable to open database D:\inetpub\FPDBF\evaluate.dbf in D:\inetpub\onlineroot\bin\inc_lib_online.php on line 862 Cannot open Unable to get header -----------snip----------- In versions from 4.1.1 - 4.3.2 these database files worked flawlessly. The memo fields are not important to me, since I am merely checking other fields in the database, but the ability to open and read the other fields has always been there. This functionality has now been broken with 4.3.3 I would be glad to send an empty database with these properties to help reproduce the problem. --Dave Reproduce code: --------------- if ( !$fp = dbase_open("D:\\inetpub\\FPDBF\\evaluate.dbf",0) ) { echo "Cannot open database\n"; exit; } Expected result: ---------------- <no warning messages, has a usable file handle ($fp)> Actual result: -------------- Warning: This file appears to be dbase ver. -117. Only version 3 and above is supported. in D:\inetpub\onlineroot\testing\bug_rep.php on line 1 Warning: unable to open database D:\inetpub\FPDBF\evaluate.dbf in D:\inetpub\onlineroot\testing\bug_rep.php on line 1 Cannot open Unable to get header <please note the db file handle is not usable at this point ($fp)> PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
|
|||||||||||||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Sat Oct 25 16:00:02 2025 UTC |
rolled back the change ("fix" for bug #23463) that broke this.