Message: Cannot modify header information - headers already sent by - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: Message: Cannot modify header information - headers already sent by (/showthread.php?tid=53036) |
Message: Cannot modify header information - headers already sent by - El Forum - 07-08-2012 [eluser]Yakow[/eluser] Hi. Anyone can help me ? My controller is this: Code: <?php defined('BASEPATH') OR exit('No direct script access allowed'); i deleted all other files (model, views etc...) so when I run this aplication on localhost i dont recive this warning. When i put on a internet, i recived this message: Code: A PHP Error was encountered Why? I just have this controller. In my AUTOLOAD in put 'session', is right? Message: Cannot modify header information - headers already sent by - El Forum - 07-08-2012 [eluser]Yakow[/eluser] I found the fix. is a hidden signs utf 8 in r code, u just need scan the .php files using BOM REMOVER http://sourceforge.net/projects/bomremover/ Enjoy if u need this help!! |