Tuesday, October 4, 2011

Re: PLEASE HELP ME! Warning (2): Cannot modify header information - headers already sent by cake php

No, what Larry meant was ob_start() is an ugly hack, and you shouldn't use it.

You might want to take a look at the other thread. Most probably, your controller file has a Byte Order Mark (BOM). Use a UTF-8 text editor that doesn't insert BOMs into your file, or if you can disable BOM insertions from your editor, do so.

It's a given fact that BOMs don't work well with PHP.

--
Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org
Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions.
 
 
To unsubscribe from this group, send email to
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php

No comments: