![]() |
Showing a white page but i want to see 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: Showing a white page but i want to see the error! (/showthread.php?tid=11108) |
Showing a white page but i want to see the error! - El Forum - 08-26-2008 [eluser]jeanv[/eluser] Hi everyone, i would like to know what to do to see the error message, because for the moment i just see white pages and i can't see the php error message that is normally produced? Can anyone help me please ? thanks Showing a white page but i want to see the error! - El Forum - 08-26-2008 [eluser]fesweb[/eluser] Add this as the first lines of the controller, before declaring the class... Code: ini_set('display_errors',1); Be sure to REMOVE THOSE LINES before going live with your project. Showing a white page but i want to see the error! - El Forum - 08-26-2008 [eluser]jeanv[/eluser] ok thanks a lot ! Showing a white page but i want to see the error! - El Forum - 08-27-2008 [eluser]fesweb[/eluser] Important update! The parameter for error_reporting should probably be E_ALL. So, use this instead of the above version... Code: ini_set('display_errors',1); |