#31183 [Fbk->NoF]: exit status 128 when printing something before header()

From: Date: Mon, 31 Jan 2005 21:30:43 +0000
Subject: #31183 [Fbk->NoF]: exit status 128 when printing something before header()
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-73143@lists.php.net to get a copy of this message
 ID:               31183
 Updated by:       sniper@php.net
 Reported By:      marco-glatz at web dot de
-Status:           Feedback
+Status:           No Feedback
 Bug Type:         Apache2 related
 Operating System: WinXP
 PHP Version:      5.0.2
 New Comment:

No feedback was provided. The bug is being suspended because
we assume that you are no longer experiencing the problem.
If this is not the case and you are able to provide the
information that was requested earlier, please do so and
change the status of the bug back to "Open". Thank you.




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

[2005-01-18 14:03:00] jorton@php.net

Please try using this CVS snapshot:

  http://snaps.php.net/php5-STABLE-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php5.0-win32-latest.zip

Can't reproduce with 5.0.4-dev here, can you try 5.0.3 or a CVS
snapshot of 5.0?

...
string(2) "de"
<br />
<b>Warning</b>:  Cannot modify header information - headers already
sent by (output started at

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

[2004-12-19 01:14:55] marco-glatz at web dot de

Description:
------------
when i print for example some debugging-informations before i call the
header()-function apache says:

Parent: child process exited with status 128 -- Restarting.

Reproduce code:
---------------
$language = 'de';
$charset  = 'iso-8859-1';

var_dump($language);


header('Content-language: '. $language);
header('Content-type: text/html; charset='. $charset);

Expected result:
----------------
something like "cannot send headers, output already started at ...."



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


-- 
Edit this bug report at http://bugs.php.net/?id=31183&edit=1


Thread (3 messages)

« previous php.bugs (#73143) next »