CakePHP and “Headers already sent… on session.php”
April 25, 2007 § 10 Comments
O boy… I’m in trouble now…
CakePHP project is probably the easiest project I’ve ever done in my life. Until I have to debug it…
Why all the sudden I got “Headers already sent… on session.php”?
Folks at Google Group had lots of talk about it. Most suggested that I have strange character or spaces before or after <?php ?> tag.
Nada… No such problem here in my code, double checked it three times.
Man, not even Google Group can help me this time.
Anyone of you kind souls out there willing to help this poor lad?
Ahsan comments make me to double check my cake’s php files. It turns out that i have a SINGLE white space on my /app/webroot/index.php. Man… a single whitespace… This is why I shouldn’t do initial development on Windoze machine.