#29313 [Opn->Bgs]: session_start
| From: | iliaa@php.net | Date: | Thu, 22 Jul 2004 23:08:10 +0000 |
| Subject: | #29313 [Opn->Bgs]: session_start | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-63377@lists.php.net to get a copy of this message | ||
ID: 29313
Updated by: iliaa@php.net
Reported By: webmaster at behzad-m dot net
-Status: Open
+Status: Bogus
Bug Type: Session related
Operating System: redhat
PHP Version: 4.3.8
New Comment:
Sorry, but your problem does not imply a bug in PHP itself. For a
list of more appropriate places to ask for help using PHP, please
visit http://www.php.net/support.php as this bug system
is not the
appropriate forum for asking support questions.
Thank you for your interest in PHP.
You probably have some spaces or new lines before the <?
Previous Comments:
------------------------------------------------------------------------
[2004-07-22 02:26:11] webmaster at behzad-m dot net
Description:
------------
hi ,
when i use only this code :
<?php session_start();?>
i get this error : "Warning: session_start(): Cannot send session
cookie - headers already sent by (output started at
/home/novin/public_html/admin/test.php:1) in
/home/novin/public_html/admin/test.php on line 1
"
http://www.9vin.com/admin/test.php
i have the same problem on an other domain of my server
Reproduce code:
---------------
<?php session_start();?>
Expected result:
----------------
no error page !!
Actual result:
--------------
Warning: session_start(): Cannot send session cookie - headers already
sent by (output started at /home/novin/public_html/admin/test.php:1) in
/home/novin/public_html/admin/test.php on line 1
------------------------------------------------------------------------
--
Edit this bug report at http://bugs.php.net/?id=29313&edit=1