CodeIgniter Forums
Header already sent error after creating custom library (MY_Cart.php) in library folder - 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: Header already sent error after creating custom library (MY_Cart.php) in library folder (/showthread.php?tid=39569)



Header already sent error after creating custom library (MY_Cart.php) in library folder - El Forum - 03-14-2011

[eluser]tkaw220[/eluser]
Hi,

I am getting this error message: Cannot modify header information - headers already sent by ... after I had put a custom library inside my application/library folder. When I tested it in localhost environment, it works perfectly. But it breaks in live server. Any idea how to fix it?

Thank you.

Best regards,
Edwin