CodeIgniter Forums
how to get errors ? - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: how to get errors ? (/showthread.php?tid=32938)



how to get errors ? - El Forum - 08-10-2010

[eluser]kris10[/eluser]
I am developping irregulary with ci ! But I notice that when I have errors, the errors are not displayed and I need to read all my code no idea what kind of error it is I have a white empty page.

I remember in the past I had errors displayed !!!

How to display errors or how to know the kind of error I have.


how to get errors ? - El Forum - 08-10-2010

[eluser]mi6crazyheart[/eluser]
Paste this piece of code in top of the page from where u r getting error...
Code:
<?php
error_reporting(E_ALL);
?>



how to get errors ? - El Forum - 08-10-2010

[eluser]kris10[/eluser]
I past it on the first line on my view but still don't have errors displayed.


how to get errors ? - El Forum - 08-10-2010

[eluser]mi6crazyheart[/eluser]
Show us the code. May be, after seeing we can give any type of help...


how to get errors ? - El Forum - 08-10-2010

[eluser]syklops[/eluser]
where is the code