View Full Version : Annoying Warning
arttron
08-18-2006, 07:45 AM
Warning: session_start() [function.session-start]: Cannot send session cookie - headers already sent by (output started at /home/nbrjlu/public_html/new/create2.php:1) in /home/nbrjlu/public_html/new/config.php on line 5
It does not affect the way my page works or anything, but how do I fix the problem?
Brandoe85
08-18-2006, 07:49 AM
You can put ob_start() at the top....though I think you should read up on it so you understand what it means. marek has posted this in the faq:
http://www.codingforums.com/showpost.php?p=300877&postcount=6
Good luck;
You sent output to the browser allready in create2.php, while config.php still tries to add header information lateron...which is impossible.
If you didnt do any explicit echo's in create2.php, you might wanna check the first and last line of the script, make sure it doesnt contain spaces, empty lines etc.
vBulletin® v3.8.2, Copyright ©2000-2012, Jelsoft Enterprises Ltd.