![]() |
Error- Cannot modify header information - headers already sent - 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: Error- Cannot modify header information - headers already sent (/showthread.php?tid=50736) |
Error- Cannot modify header information - headers already sent - El Forum - 04-06-2012 [eluser]bleu[/eluser] I am getting this error when I use this Code: header("Location: /"); Code: A PHP Error was encountered Error- Cannot modify header information - headers already sent - El Forum - 04-06-2012 [eluser]Samus[/eluser] Code: redirect("/"); ?? Error- Cannot modify header information - headers already sent - El Forum - 04-06-2012 [eluser]bleu[/eluser] [quote author="Samus" date="1333729033"] Code: redirect("/"); ??[/quote] This does not solve the issue as it is the same as php header Error- Cannot modify header information - headers already sent - El Forum - 04-08-2012 [eluser]bleu[/eluser] [quote author="bleu" date="1333730720"][quote author="Samus" date="1333729033"] Code: redirect("/"); ??[/quote] This does not solve the issue as it is the same as php header[/quote] Any Ideas as to how I may solve it? Error- Cannot modify header information - headers already sent - El Forum - 04-08-2012 [eluser]InsiteFX[/eluser] Check for white space before the opening PHP tags and do not use ending PHP tags! Also make sure that you are not saving your files with the BOM! View your html source file and see if there are strange characters in the top left size! |