Bug #65848 [Opn->Dup]: output from php error
Edit report at https://bugs.php.net/bug.php?id=65848&edit=1
ID: 65848
Updated by: mike@php.net
Reported by: wisans at gmail dot com
Summary: output from php error
-Status: Open
+Status: Duplicate
Type: Bug
Package: *General Issues
Operating System: Linux 2.6.32-279.el6.x86_64
PHP Version: 5.5.4
Block user comment: N
Private report: N
Previous Comments:
------------------------------------------------------------------------
[2013-10-07 15:39:00] wisans at gmail dot com
if i set php.ini output_buffering = On error not happen
if i set php.ini output_buffering = Off error happen
------------------------------------------------------------------------
[2013-10-07 14:27:43] wisans at gmail dot com
Error random happen in sometime. i capture some error into file outputError01.htm and
outputError02.htm
you can get setChartAccountFrame.php
https://www.dropbox.com/sh/gaxjefvab208ohs/wA1GtAdJIb
or here my code
<?php
function html($s){
return $s;
}
$aD = array();
for($i=0; $i<=470; $i++){
$a = array
(
"accCodeId" => "441",
"code" => "5-12-25-00-00",
"name" => "",
"nameE" => "",
"refAccCodeId" => 487,
"drCr" => "",
"active" => "",
"rowOrder" => "",
"accTypeName" => "",
"accTypeId" => 5,
"pcAccCodeRefName" => "",
"deep" => 2
);
$aD[] = $a;
}
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-874"
/>
</head>
<body topmargin="0" leftmargin="0" scroll="no"
class="popSubDetail">
<div style="width:100%; height:100%; overflow-y:scroll;">
<?=date("Y-m-d H:i:s")?>
<table width="100%" border="0" cellspacing="0"
cellpadding="0" id="tbList">
<?php
$line = 0;
foreach($aD as $v){
$line++;
?>
<tr class="txtBlack" onMouseOver="" onMouseOut=""
style="padding-left:3; cursor:pointer;">
<td width="8%" height="25" class="tdGreenDetail" >
<table width="100%" border="0" cellspacing="0"
cellpadding="0">
<tr class="txtBlack">
<td align="center"> </td>
<td align="center" width="60%"><input
type="hidden" name="accCodeId"
value="<?=($v["accCodeId"])?>"><input type="hidden"
name="refAccCodeId"
value="<?=($v["refAccCodeId"])?>"><span
id="runNo"><?=$line?></span><span
id="spanMark"></span></td>
</tr>
</table></td>
<td width="21%" class="tdGreenDetail"
id="code"><?=str_repeat(" ",
$v["deep"]*4).($v["code"])?></td>
<td width="25%" class="tdGreenDetail" id="name"
onClick="addItem(this.parentNode)"><?=($v["name"])?> </td>
<td width="8%" class="tdGreenDetail" id="nameE"
onClick="addItem(this.parentNode)"><?=($v["nameE"])?> </td>
<td class="tdGreenDetail" id="accTypeName"
onClick="addItem(this.parentNode)"><?=($v["accTypeName"])?> </td>
<td width="4%" class="tdGreenDetail" align="center"
id="rowOrder"
onClick="addItem(this.parentNode)"><?=($v["rowOrder"])?> </td>
<td width="5%" class="tdGreenDetail" align="center"
id="drCr"
onClick="addItem(this.parentNode)"><?=($v["drCr"])?> </td>
<td width="14%" class="tdGreenDetail"
id="pcAccCodeRefName"
onClick="addItem(this.parentNode)"><?=($v["pcAccCodeRefName"])?> </td>
<td width="5%" class="tdGreenDetail" align="center"
id="activeName"
onClick="addItem(this.parentNode)"><?=($v["active"]=="T" ?
"Active" : "Cancel")?> </td>
</tr>
<?php
}
?>
</table></div>
</body>
</html>
------------------------------------------------------------------------
[2013-10-07 12:48:37] johannes@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a short but complete example script to be able to reproduce
this bug ourselves.
A proper reproducing script starts with <?php and ends with ?>,
is max. 10-20 lines long and does not require any external
resources such as databases, etc. If the script requires a
database to demonstrate the issue, please make sure it creates
all necessary tables, stored procedures etc.
Please avoid embedding huge scripts into the report.
I do not understand to which error you are referring. Please provide a simple reproducible script
and a clear error description.
------------------------------------------------------------------------
[2013-10-07 04:06:44] wisans at gmail dot com
Description:
------------
this error it happen random.
i attach file you can see image output and some my source code in zip file.
now i use ob_start to prevent this error
i share file in
https://www.dropbox.com/sh/3hckbmog2y1mtem/aM_6FkbqpC
please help me
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=65848&edit=1
Thread (5 messages)