Bug #74514 [NEW]: PHP Warning: session_name(): Cannot change session name when headers already

From: Date: Sat, 29 Apr 2017 22:32:25 +0000
Subject: Bug #74514 [NEW]: PHP Warning: session_name(): Cannot change session name when headers already
Groups: php.bugs 
Request: Send a blank email to php-bugs+get-208856@lists.php.net to get a copy of this message
From:             spam2 at rhsoft dot net
Operating system: Linux
PHP version:      master-Git-2017-04-29 (Git)
Package:          Session related
Bug Type:         Bug
Bug description: PHP Warning:  session_name(): Cannot change session name when headers already 

Description:
------------
[30-Apr-2017 00:16:55 Europe/Vienna] PHP Warning:  session_name():
Cannot change session name when headers already sent in
/Volumes/dune/www-servers/cms/cms/autotests/suite/backend.php on line
40

for *sure* not

line 40 is "$session_name = session_name();"

nobody is asking here for any change


-- 
Edit bug report at https://bugs.php.net/bug.php?id=74514&edit=1
-- 
Try a snapshot (PHP 5.4):   https://bugs.php.net/fix.php?id=74514&r=trysnapshot54
Try a snapshot (PHP 5.5):   https://bugs.php.net/fix.php?id=74514&r=trysnapshot55
Try a snapshot (trunk):     https://bugs.php.net/fix.php?id=74514&r=trysnapshottrunk
Fixed in SVN:               https://bugs.php.net/fix.php?id=74514&r=fixed
Fixed in release:           https://bugs.php.net/fix.php?id=74514&r=alreadyfixed
Need backtrace:             https://bugs.php.net/fix.php?id=74514&r=needtrace
Need Reproduce Script:      https://bugs.php.net/fix.php?id=74514&r=needscript
Try newer version:          https://bugs.php.net/fix.php?id=74514&r=oldversion
Not developer issue:        https://bugs.php.net/fix.php?id=74514&r=support
Expected behavior:          https://bugs.php.net/fix.php?id=74514&r=notwrong
Not enough info:            https://bugs.php.net/fix.php?id=74514&r=notenoughinfo
Submitted twice:            https://bugs.php.net/fix.php?id=74514&r=submittedtwice
register_globals:           https://bugs.php.net/fix.php?id=74514&r=globals
PHP 4 support discontinued: https://bugs.php.net/fix.php?id=74514&r=php4
Daylight Savings:           https://bugs.php.net/fix.php?id=74514&r=dst
IIS Stability:              https://bugs.php.net/fix.php?id=74514&r=isapi
Install GNU Sed:            https://bugs.php.net/fix.php?id=74514&r=gnused
Floating point limitations: https://bugs.php.net/fix.php?id=74514&r=float
No Zend Extensions:         https://bugs.php.net/fix.php?id=74514&r=nozend
MySQL Configuration Error:  https://bugs.php.net/fix.php?id=74514&r=mysqlcfg



Thread (9 messages)

« previous php.bugs (#208856) next »