• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Showing a white page but i want to see the error!

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 ?


Add this as the first lines of the controller, before declaring the class...
If you still get a white page, then you're missing a semi-colon or curly brace somewhere.

Be sure to REMOVE THOSE LINES before going live with your project.

ok thanks a lot !

Important update!

The parameter for error_reporting should probably be E_ALL. So, use this instead of the above version...
It looks like my previous setting was suppressing CI's own error reporting (it was not showing "Notice" errors).

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2021 MyBB Group.