CodeIgniter Forums
How do I fix this Header Problem ? - 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: How do I fix this Header Problem ? (/showthread.php?tid=52784)

Pages: 1 2


How do I fix this Header Problem ? - El Forum - 06-27-2012

[eluser]CroNiX[/eluser]
Yes. Whatever is triggering the error that is then in turn triggering the output error because of the Exceptions class outputting the error to the screen.

The problem is not the Exceptions class as I tried to explain. The Exceptions class only gets called when there is a error. Find the error. There shouldn't ever be a case of undefined offset error messages in production code. You shouldn't be triggering ANY error messages in production code, and if you are, it's not "production ready" by definition.


How do I fix this Header Problem ? - El Forum - 06-27-2012

[eluser]vincej[/eluser]
Well I fixed the undefined index and Presto .. header problem disappeared with it. Thank you for the coaching !

I totally understood that the the exception class was not to blame - I included it so that people did not have to look it up.

I totally respect your point about production code being error free. This is my goal, hence I have it loaded in a test environment on the ISP. I still have 4 weeks to get it all perfect... now onto the next issue.

Many Thanks !