Professional Web Applications Themes

#25558 [Asn]: Dbase Version Check added in 4.3.3 detecting bad version when using memo fields - PHP Development

ID: 25558 Updated by: [email]vladphp.net[/email] Reported By: dsherron at nbc dot edu Status: Assigned Bug Type: dBase related Operating System: Win 2003 PHP Version: 4.3.3 Assigned To: vlad New Comment: I'll revert my version check, and try to make a dll for you guys, if you still need it. Vlad Previous Comments: ------------------------------------------------------------------------ [2003-10-01 10:28:21] [email]sniperphp.net[/email] Assigned to Vlad who's responsible for adding this check. ------------------------------------------------------------------------ [2003-10-01 08:54:42] clynx at succont dot de Could anyone who has the possibility to compile PHP under Windows create a php_dbase.dll for 4.3.3 without the Version check and upload it to anywhere? It would ...

  1. #1

    Default #25558 [Asn]: Dbase Version Check added in 4.3.3 detecting bad version when using memo fields

    ID: 25558
    Updated by: [email]vladphp.net[/email]
    Reported By: dsherron at nbc dot edu
    Status: Assigned
    Bug Type: dBase related
    Operating System: Win 2003
    PHP Version: 4.3.3
    Assigned To: vlad
    New Comment:

    I'll revert my version check, and try to make a dll for you guys, if
    you still need it.

    Vlad


    Previous Comments:
    ------------------------------------------------------------------------

    [2003-10-01 10:28:21] [email]sniperphp.net[/email]

    Assigned to Vlad who's responsible for adding this check.


    ------------------------------------------------------------------------

    [2003-10-01 08:54:42] clynx at succont dot de

    Could anyone who has the possibility to compile PHP under Windows
    create a php_dbase.dll for 4.3.3 without the Version check and upload
    it to anywhere?

    It would be absolutely nice ;o)

    ------------------------------------------------------------------------

    [2003-09-22 13:24:57] dsherron at nbc dot edu

    I'm sure stripping out the code would work for me as well, but since
    I'm on Windows I depend on the binaries that are posted. Right now I
    have backed up to 4.2.3 so I can still use my tables, but we don't want
    to be left in the past as far as versions go!!!

    ------------------------------------------------------------------------

    [2003-09-22 10:25:08] martijn at hexon dot cx

    We're experiencing the same problem on Linux 2.4.21.
    Our Dbase files are created with the Halcyon component
    for Delphi ([url]www.grifsolu.com[/url]) and don't have any memo
    fields.

    The error here is: "Warning: This file appears to be
    dbase ver. -125. Only version 3 and above is
    supported."
    So that's -125 instead of -117.

    I stripped out the version checking and everything
    works just fine.

    ------------------------------------------------------------------------

    [2003-09-16 10:27:47] 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)>


    ------------------------------------------------------------------------


    --
    Edit this bug report at [url]http://bugs.php.net/?id=25558&edit=1[/url]
    vlad@php.net Guest

  2. #2

    Default #25558 [Asn]: Dbase Version Check added in 4.3.3 detecting bad version when using memo fields

    ID: 25558
    User updated by: dsherron at nbc dot edu
    Reported By: dsherron at nbc dot edu
    Status: Assigned
    Bug Type: dBase related
    Operating System: Win 2003
    PHP Version: 4.3.3
    Assigned To: vlad
    New Comment:

    Yes, we still need it. Where will I be able to get it?

    Will a permanent change be incorporated into future versions, or is
    this just going to be a temporary workaround for 4.2.3?

    -- Dave


    Previous Comments:
    ------------------------------------------------------------------------

    [2003-10-01 12:39:03] [email]vladphp.net[/email]

    I'll revert my version check, and try to make a dll for you guys, if
    you still need it.

    Vlad

    ------------------------------------------------------------------------

    [2003-10-01 10:28:21] [email]sniperphp.net[/email]

    Assigned to Vlad who's responsible for adding this check.


    ------------------------------------------------------------------------

    [2003-10-01 08:54:42] clynx at succont dot de

    Could anyone who has the possibility to compile PHP under Windows
    create a php_dbase.dll for 4.3.3 without the Version check and upload
    it to anywhere?

    It would be absolutely nice ;o)

    ------------------------------------------------------------------------

    [2003-09-22 13:24:57] dsherron at nbc dot edu

    I'm sure stripping out the code would work for me as well, but since
    I'm on Windows I depend on the binaries that are posted. Right now I
    have backed up to 4.2.3 so I can still use my tables, but we don't want
    to be left in the past as far as versions go!!!

    ------------------------------------------------------------------------

    [2003-09-22 10:25:08] martijn at hexon dot cx

    We're experiencing the same problem on Linux 2.4.21.
    Our Dbase files are created with the Halcyon component
    for Delphi ([url]www.grifsolu.com[/url]) and don't have any memo
    fields.

    The error here is: "Warning: This file appears to be
    dbase ver. -125. Only version 3 and above is
    supported."
    So that's -125 instead of -117.

    I stripped out the version checking and everything
    works just fine.

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/25558[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=25558&edit=1[/url]
    dsherron at nbc dot edu Guest

  3. #3

    Default #25558 [Asn]: Dbase Version Check added in 4.3.3 detecting bad version when using memo fields

    ID: 25558
    User updated by: dsherron at nbc dot edu
    Reported By: dsherron at nbc dot edu
    Status: Assigned
    Bug Type: dBase related
    Operating System: Win 2003
    PHP Version: 4.3.3
    Assigned To: vlad
    New Comment:

    Oops, excuse me... I meant 4.3.3!

    --Dave


    Previous Comments:
    ------------------------------------------------------------------------

    [2003-10-02 10:33:00] dsherron at nbc dot edu

    Yes, we still need it. Where will I be able to get it?

    Will a permanent change be incorporated into future versions, or is
    this just going to be a temporary workaround for 4.2.3?

    -- Dave

    ------------------------------------------------------------------------

    [2003-10-01 12:39:03] [email]vladphp.net[/email]

    I'll revert my version check, and try to make a dll for you guys, if
    you still need it.

    Vlad

    ------------------------------------------------------------------------

    [2003-10-01 10:28:21] [email]sniperphp.net[/email]

    Assigned to Vlad who's responsible for adding this check.


    ------------------------------------------------------------------------

    [2003-10-01 08:54:42] clynx at succont dot de

    Could anyone who has the possibility to compile PHP under Windows
    create a php_dbase.dll for 4.3.3 without the Version check and upload
    it to anywhere?

    It would be absolutely nice ;o)

    ------------------------------------------------------------------------

    [2003-09-22 13:24:57] dsherron at nbc dot edu

    I'm sure stripping out the code would work for me as well, but since
    I'm on Windows I depend on the binaries that are posted. Right now I
    have backed up to 4.2.3 so I can still use my tables, but we don't want
    to be left in the past as far as versions go!!!

    ------------------------------------------------------------------------

    The remainder of the comments for this report are too long. To view
    the rest of the comments, please view the bug report online at
    [url]http://bugs.php.net/25558[/url]

    --
    Edit this bug report at [url]http://bugs.php.net/?id=25558&edit=1[/url]
    dsherron at nbc dot edu Guest

Similar Threads

  1. Replies: 0
    Last Post: October 12th, 01:41 AM
  2. Replies: 0
    Last Post: October 12th, 01:14 AM
  3. Replies: 2
    Last Post: October 2nd, 12:17 PM
  4. Replies: 0
    Last Post: October 1st, 02:30 PM
  5. Replies: 0
    Last Post: September 16th, 02:29 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139