ID: 16807
Updated by: yohgaki@php.net
Reported By: martin_jones@bigfoot.com
Status: Feedback
Bug Type: Session related
Operating System: Windows 2000 SP2
PHP Version: 4.2.0
New Comment:
And output bufferring setting?
(zlib.output_compression and output_buffer)
Previous Comments:
------------------------------------------------------------------------
[2002-04-25 03:26:11] yohgaki@php.net
Ok.
You really have 3 line script that causes this error message.
What is your session ini setting?
------------------------------------------------------------------------
[2002-04-25 02:04:13] martin_jones@bigfoot.com
I wasn't aware that this was a support question.
The session_start function used to work fine. Now I get the warnings as
stated above.
I have looked at the support and the only things I could see was about
not putting anything before the session_start. In this case, I have
tried the following:
<?php
session_start();
?>
and I still get the warnings. These three lines are the only things in
the script. There is no HTML above it.
Since this used to work, I disagree that it is a bogus issue and feel
that it should still be a bug.
------------------------------------------------------------------------
[2002-04-24 19:15:10] yohgaki@php.net
The bug system is not the appropriate forum for asking support
questions. For a list of a range of more appropriate places to ask
for help using PHP, please visit http://www.php.net/support.php
------------------------------------------------------------------------
[2002-04-24 16:21:41] martin_jones@bigfoot.com
When running PHP 4.2.0 on Windows 2000, IIS 5, the following code
causes problems:
<?php
session_start();
?>
I get the message:
Warning: Cannot send session cache limiter - headers already sent in
D:\Development\test.php on line 2
PHP Warning: Cannot send session cookie - headers already sent in
D:\Development\test.php on line 2
PHP Warning: Cannot send session cache limiter - headers already sent
in D:\Development\test.php on line 2
It appears that sessions are still not working (they weren't working in
4.1.2 either)
--
Martin
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=16807&edit=1