php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #20002 Lose auf HTML-Code at session_start()
Submitted: 2002-10-20 15:04 UTC Modified: 2002-11-14 01:48 UTC
From: prohm at cypos dot de Assigned:
Status: No Feedback Package: Session related
PHP Version: 4.2.1 OS: Linux
Private report: No CVE-ID: None
 [2002-10-20 15:04 UTC] prohm at cypos dot de
I have find the problem, that if I call a Site where I have a session-start as first then I lose any charcters from the PHP-HTML-Output. If I reload the page then anythink ist okay.

I have found, if I call session_wirte_close() directly after the session_start() then I do not become this error.

For example this error I have on the page http://ttvn.de

A phpinfo()-Output can you find at http://ttvn.de/test.php4

Thank you.

Kind Regards,
 Michael

Patches

Pull Requests

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2002-10-20 15:16 UTC] sander@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip
 [2002-10-20 15:36 UTC] prohm at cypos dot de
I have download the last Snapshot, but is not able to compile.

Than I have download the last Stable version and in this version I have the same bug.

Michael
 [2002-10-20 18:40 UTC] sniper@php.net
Would be nice to know why the latest snapshot didn't compile...what was the error?

 [2002-10-21 06:55 UTC] prohm at cypos dot de
I become the message:

ext/mysql/libmysql/my_tempnam.o: In function `my_tempnam':
/usr/src/p/php4-200210210300/ext/mysql/libmysql/my_tempnam.c:103: the use of `tempnam' is dangerous, better use `mkstemp'
 [2002-10-21 14:58 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


And ignore all _warnings_. (that 'error' you had is only a warning)

 [2002-10-21 15:08 UTC] hholzgra@php.net
are you loosing *all* your output
or only small pieces of it

(feel free to talk to my directly in german mailto:hartmut@six.de )

PS: a simple warning doesn't imply the build is broken
 [2002-10-23 11:19 UTC] prohm at cypos dot de
I missing only single chars from the htmlcode.
For example a '<'.
 [2002-10-27 22:16 UTC] sterling@php.net
most likely a mis-configuration, not a bug... 
 [2002-10-28 14:19 UTC] prohm at cypos dot de
And what for a mis-configuration ?
 [2002-10-28 17:38 UTC] sniper@php.net
Please try using this CVS snapshot:

  http://snaps.php.net/php4-latest.tar.gz
 
For Windows:
 
  http://snaps.php.net/win32/php4-win32-latest.zip


 [2002-11-14 01:48 UTC] sniper@php.net
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.


 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Dec 26 15:01:32 2024 UTC