CodeIgniter Forums
Why i cant see errors messages? - 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: Why i cant see errors messages? (/showthread.php?tid=9829)



Why i cant see errors messages? - El Forum - 07-09-2008

[eluser]Asinox[/eluser]
Hi, i want to know why i cant see php errors , just CI errors

i need to do some settings?

Thanks


Why i cant see errors messages? - El Forum - 07-10-2008

[eluser]Pascal Kriete[/eluser]
CI registers it's own error handler. So you are seeing PHP errors. They just have some pretty html around them.

If you want sytnax errors and such, make sure display_errors is turned on. Adding this to your index.php file works on a lot of setups:
Code:
ini_set('display_errors', 1);



Why i cant see errors messages? - El Forum - 07-10-2008

[eluser]Asinox[/eluser]
Thanks again Smile