Welcome Guest, Not a member yet? Register   Sign In
Displaying PHP Errors - Blank Screen
#9

[eluser]cheungj[/eluser]
Also realise this is an old thread but this would have saved me a lot of time if I found it earlier.

moopa explains the answer.
My way to implement this was to go to the index.php which is a sibling to the 'application' folder.

At the top of the file, I have set the instance to development:
Code:
define('ENVIRONMENT', 'development');

Then lower in the same file, use
Code:
ini_set("display_errors", 1);
to set error messages on:

Code:
case 'development': {
   error_reporting(E_ALL);
   ini_set("display_errors", 1);
   break;
  }


Messages In This Thread
Displaying PHP Errors - Blank Screen - by El Forum - 11-26-2009, 12:08 PM
Displaying PHP Errors - Blank Screen - by El Forum - 11-26-2009, 12:19 PM
Displaying PHP Errors - Blank Screen - by El Forum - 11-26-2009, 12:28 PM
Displaying PHP Errors - Blank Screen - by El Forum - 11-26-2009, 12:34 PM
Displaying PHP Errors - Blank Screen - by El Forum - 11-26-2009, 12:52 PM
Displaying PHP Errors - Blank Screen - by El Forum - 11-26-2009, 01:28 PM
Displaying PHP Errors - Blank Screen - by El Forum - 11-26-2009, 01:39 PM
Displaying PHP Errors - Blank Screen - by El Forum - 02-02-2010, 06:49 PM
Displaying PHP Errors - Blank Screen - by El Forum - 08-04-2012, 05:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB