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

From: Date: Thu, 11 Sep 2003 15:11:24 +0000
Subject: #25478 [Fbk->Opn]: zlib.output_compression = on
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-47453@lists.php.net to get a copy of this message
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] sniper@php.net 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] sniper@php.net Please try using this CVS snapshot: http://snaps.php.net/php4-STABLE-latest.tar.gz For Windows: http://snaps.php.net/win32/php4-win32-STABLE-latest.zip 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 http://bugs.php.net/?id=25478&edit=1

« previous php.bugs (#47453) next »