#22735 [NEW]: phpweb/my.php tries to set cookie after headers has been sent
| From: | toni dot viemero at iki dot fi | Date: | Sun, 16 Mar 2003 10:47:37 +0000 |
| Subject: | #22735 [NEW]: phpweb/my.php tries to set cookie after headers has been sent | ||
| Groups: | php.mirrors | ||
| Request: | Send a blank email to php-mirrors+get-16384@lists.php.net to get a copy of this message | ||
From: toni dot viemero at iki dot fi
Operating system: Windows 2000
PHP version: 4.3.1
PHP Bug Type: Website problem
Bug description: phpweb/my.php tries to set cookie after headers has been sent
I don't know if this is public yet, just spotted the file exists in
php-mirrors list.
When trying to set default language:
Warning: Cannot add header information - headers already sent by (output
started at /home/toni/www/fi.php.net/include/layout.inc:204) in
/home/toni/www/fi.php.net/my.php on line 12
commonHeader("My PHP.net") is now sent before setcookie(), maybe move
commonHeader() after all cookie stuff.
--
Edit bug report at http://bugs.php.net/?id=22735&edit=1
--
Try a CVS snapshot: http://bugs.php.net/fix.php?id=22735&r=trysnapshot
Fixed in CVS: http://bugs.php.net/fix.php?id=22735&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=22735&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=22735&r=needtrace
Try newer version: http://bugs.php.net/fix.php?id=22735&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=22735&r=support
Expected behavior: http://bugs.php.net/fix.php?id=22735&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=22735&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=22735&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=22735&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=22735&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=22735&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=22735&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=22735&r=gnused