Professional Web Applications Themes

#25478 [Fbk->Opn]: zlib.output_compression = on - PHP Development

ID: 25478 User updated by: boccara at netvision dot net dot il Reported By: boccara at netvision dot net dot il -Status: Feedback +Status: Open Bug Type: Output Control Operating System: Win2k SBS SP4 Apache 2.0.47 PHP Version: 4.3.3 New Comment: I tried the 4.3.4-dev version and it still crash !. Really sorry. Previous Comments: ------------------------------------------------------------------------ [2003-09-10 20:10:11] [email]sniperphp.net[/email] Please try using this CVS snapshot: [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url] For Windows: [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url] This should be fixed already. ------------------------------------------------------------------------ [2003-09-10 16:55:11] boccara at netvision dot net dot il Description: ------------ With Microsoft SQL server 2000 ******************************************* * when using zlib.output_compression = on * ******************************************* ...

  1. #1

    Default #25478 [Fbk->Opn]: zlib.output_compression = on

    ID: 25478
    User updated by: boccara at netvision dot net dot il
    Reported By: boccara at netvision dot net dot il
    -Status: Feedback
    +Status: Open
    Bug Type: Output Control
    Operating System: Win2k SBS SP4 Apache 2.0.47
    PHP Version: 4.3.3
    New Comment:

    I tried the 4.3.4-dev version and it still crash !.
    Really sorry.


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

    [2003-09-10 20:10:11] [email]sniperphp.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]

    This should be fixed already.


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

    [2003-09-10 16:55:11] boccara at netvision dot net dot il

    Description:
    ------------
    With Microsoft SQL server 2000

    *******************************************
    * when using zlib.output_compression = on *
    *******************************************

    I've got this bug since older version of php and apache ( this is NOT a
    new bug ).

    When doing a while ( fetch ) of a query, it cause a crash at the same
    time.

    By Ex: If I make a query that should return 78 results,
    when I make my while ( fetch ), it cause the system to crash at the
    result number 49.
    For another query , it wont't crash.
    and for another query it will crash at the result 62 ( of 98 results by
    ex.)

    rem: All the query works.

    rem: when using zlib.output_compression = OFF

    evrything works thine.


    Reproduce code:
    ---------------
    QUERY

    WHILE ( FETCH )

    ECHO RESULT;

    ENDWHILE


    Expected result:
    ----------------
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11

    Actual result:
    --------------
    NO OUTPUT !!!



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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=25478&edit=1[/url]
    boccara at netvision dot net dot il Guest

  2. #2

    Default #25478 [Fbk->Opn]: zlib.output_compression = on

    ID: 25478
    User updated by: boccara at netvision dot net dot il
    Reported By: boccara at netvision dot net dot il
    -Status: Feedback
    +Status: Open
    Bug Type: Output Control
    Operating System: Win2k SBS SP4 Apache 2.0.47
    PHP Version: 4.3.4-dev (20030911)
    New Comment:

    <?

    while (dbFetch($iQuery, $tabCol))
    {
    if (isset($LastRef) && $LastRef == $tabCol[0] && $tri !=
    "designation")
    {
    $ShowRef = false;
    }
    else
    {
    $ShowRef = true;
    }

    $LastRef = $tabCol[0];

    ?>
    <tr bgcolor=<?
    if ($flagcolor)
    {
    echo ("\"#CCCCFF\">");
    $flagcolor=false;
    }
    else
    {
    echo ("\"#FFFFFF\">");
    $flagcolor=true;
    }?>

    <td nowrap class="listproduitsref" ><? if ($ShowRef) { echo
    $tabCol[0];} else { echo"&nbsp;"; }?></td>
    <td class="listproduitsdes"><? echo $tabCol[1]; ?></td>
    <td nowrap >
    <input type="text" size="3" value="1" align="right">
    <a class='plus' href="javascript:addLine('<? echo
    $tabCol[0]; ?>','<? echo EncodeData(ApostropheSql($tabCol[1])); ?>','<?
    echo $tabCol[2];?>',<? echo $index; ?>)">&nbsp;+&nbsp;</a>
    <a class="moins" href="javascript:minusLine('<? echo
    $tabCol[0]; ?>','<? echo EncodeData(ApostropheSql($tabCol[1])); ?>','<?
    echo "$tabCol[2]";?>',<? echo $index; ?>)">&nbsp;-&nbsp;</a>
    </td>
    </tr>
    <?
    $index++;
    }
    ?>


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

    [2003-09-11 10:49:50] [email]sniperphp.net[/email]

    Please provide a complete BUT SHORT example script.


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

    [2003-09-11 08:12:22] boccara at netvision dot net dot il

    I tried the 4.3.4-dev version and it still crash !.
    Really sorry.

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

    [2003-09-10 20:10:11] [email]sniperphp.net[/email]

    Please try using this CVS snapshot:

    [url]http://snaps.php.net/php4-STABLE-latest.tar.gz[/url]

    For Windows:

    [url]http://snaps.php.net/win32/php4-win32-STABLE-latest.zip[/url]

    This should be fixed already.


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

    [2003-09-10 16:55:11] boccara at netvision dot net dot il

    Description:
    ------------
    With Microsoft SQL server 2000

    *******************************************
    * when using zlib.output_compression = on *
    *******************************************

    I've got this bug since older version of php and apache ( this is NOT a
    new bug ).

    When doing a while ( fetch ) of a query, it cause a crash at the same
    time.

    By Ex: If I make a query that should return 78 results,
    when I make my while ( fetch ), it cause the system to crash at the
    result number 49.
    For another query , it wont't crash.
    and for another query it will crash at the result 62 ( of 98 results by
    ex.)

    rem: All the query works.

    rem: when using zlib.output_compression = OFF

    evrything works thine.


    Reproduce code:
    ---------------
    QUERY

    WHILE ( FETCH )

    ECHO RESULT;

    ENDWHILE


    Expected result:
    ----------------
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11

    Actual result:
    --------------
    NO OUTPUT !!!



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


    --
    Edit this bug report at [url]http://bugs.php.net/?id=25478&edit=1[/url]
    boccara at netvision dot net dot il Guest

Similar Threads

  1. #21139 [Com]: zlib.output_compression + windows failure
    By selfman at netax dot sk in forum PHP Development
    Replies: 0
    Last Post: October 21st, 11:40 PM
  2. #19436 [Opn]: zlib.output_compression causing corruption
    By steveh at brendata dot co dot uk in forum PHP Development
    Replies: 0
    Last Post: September 17th, 04:00 PM
  3. #19436 [NoF->Opn]: zlib.output_compression causing corruption
    By steveh at brendata dot co dot uk in forum PHP Development
    Replies: 0
    Last Post: September 17th, 03:59 PM
  4. #25478 [Opn->Bgs]: zlib.output_compression = on
    By sniper@php.net in forum PHP Development
    Replies: 0
    Last Post: September 11th, 06:23 PM
  5. #25478 [Opn->Fbk]: zlib.output_compression = on
    By sniper@php.net in forum PHP Development
    Replies: 1
    Last Post: September 11th, 02:51 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