CodeIgniter Forums
Development Server Error - Where is the error - 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: Development Server Error - Where is the error (/showthread.php?tid=54468)



Development Server Error - Where is the error - El Forum - 09-10-2012

[eluser]Unknown[/eluser]
Greetings,

I am testing few features before I start migrating my site to codeigniter. Now the main problem am facing is that am not able to know where the error is happening in my controller code. All I get is server error in chrome and then I know I have to go in controller and start messing around until things work again (and they do sometimes). Where/How can I get to know which line throwing error?


Thanks,


Development Server Error - Where is the error - El Forum - 09-10-2012

[eluser]TWP Marketing[/eluser]
Look at your server error log and your php logs.
You may need to edit your php.ini file to activate php error reporting.
In Codeigniter:
Set the error reporting threshold higher in your application/config/config.php
You must have php error reporting turned on in php.ini for this to take effect


Development Server Error - Where is the error - El Forum - 09-10-2012

[eluser]Unknown[/eluser]
Done that already...works greatly! Thank you Big Grin