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

Let's try again: Provide a script that we can actually RUN.
(the one you posted has functions I don't have defined..)

Also, max 20 lines.



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

[2003-09-11 11:11:23] boccara at netvision dot net dot il

<?

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++;
                }
?>

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

[2003-09-11 10:49:50] [EMAIL PROTECTED]

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 PROTECTED]

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

Reply via email to