Bug #14222 Updated: PHP Crashes with weird output often
| From: | jregnard at hotmail dot com | Date: | Fri, 11 Jan 2002 13:30:53 +0000 |
| Subject: | Bug #14222 Updated: PHP Crashes with weird output often | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-76641@lists.php.net to get a copy of this message | ||
ID: 14222
Comment by: jregnard@hotmail.com
Old Reported By: mail@seen.ch
Reported By: jregnard@hotmail.com
Status: Open
Bug Type: Apache related
Operating System: Windows XP Pro
PHP Version: 4.0.6
New Comment:
I've a similar probleme with Apache 3.2.22, PHP 4.1.0 and mysql. I
obtain a page correctly generated when i call it from localhost but it
seem that don't work on the net (Cannot display... or the source of page
is not correct some data from mysql database are mixed with the source,
and sometime there's a another HTTP-header in the middle of the page.
I don't understand why because, if i call the page by the internet
address from the server it's work at 100%. I try the same page from a
another computer on the LAN, and it's seem work at 60%, sometime i met
the same mistakes that there was via internet.
So if you can help me !
Thx !
Previous Comments:
------------------------------------------------------------------------
[2001-11-29 14:19:35] mail@seen.ch
I set up my Computer new, this time with XP German (last time XP eng),
still have the problems, but not that hard than last time.
Just as info :)
btw when php 4.1.0 will be released now?
------------------------------------------------------------------------
[2001-11-26 07:30:10] mail@seen.ch
OK, its like i expected.
When you fill out a loop (any kind of one) with enough data it happens
(a overflow??)
<?
//create an array with 100 items with different informations
for($i=0;$i<100;$i++){
srand((double)microtime()*1000000);
$testarray[] = md5(uniqid(rand()));
}
?>
<table>
<?
//output from this array, 3 times for enougth data
for($i=0;$i<100;$i++){
?> <tr>
<td>
<font face="Tahoma, Tahoma, Tahoma" size="1" color="black"
style="text-decoration:none">
<a href="#"
target="top"><?=$testarray[$i]?></a></font>
</td>
<td>
<font face="Tahoma, Tahoma, Tahoma" size="1" color="black"
style="text-decoration:none">
<a href="#"
target="top"><?=$testarray[$i]?></a></font>
</td>
<td>
<font face="Tahoma, Tahoma, Tahoma" size="1" color="black"
style="text-decoration:none">
<a href="#"
target="top"><?=$testarray[$i]?></a></font>
</td>
</tr>
<? };?>
</table>
------------------------------------------------------------------------
[2001-11-26 07:14:15] mail@seen.ch
Its not reproduce able (thats why called weird)
specially the output is always diffrent and irregular...
i'll test it in the office (also with XP)
------------------------------------------------------------------------
[2001-11-26 07:09:14] sniper@php.net
Please include a SHORT example script that can be used to
reproduce this. And also try PHP 4.1.0 (will be released
today/tomorrow)
--Jani
------------------------------------------------------------------------
[2001-11-26 02:48:37] mail@seen.ch
Ah here is an output examle (describet ping ~20).
http://tugs.imp.ch/index.html.2
my localhostoutput:
http://tugs.imp.ch/index.html.3
i cant pate the output of the 3rd test (ping ~60) because its impossible
to get the page.
btw browser issius with this:
ie starts to relaod and relaod the page again and again, sometimes
often, sometimes not. he relaods until he gets a useable document or
used so many http connections that he cant find the document :)
opera just dont stop loading the page or crashes totally :)
------------------------------------------------------------------------
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
http://bugs.php.net/?id=14222
Edit this bug report at http://bugs.php.net/?id=14222&edit=1