Welcome Guest, Not a member yet? Register   Sign In
500 with simple syntax errors...
#2

[eluser]kb1ibh[/eluser]
Fixed it... just have to add one of these:

Code:
ini_set('display_errors','On');
As in...
Code:
// index.php
if (defined('ENVIRONMENT'))
{
switch (ENVIRONMENT)
{
  case 'development':
   ini_set('display_errors','On');
   error_reporting(E_ALL);
  break;

  case 'testing':
   error_reporting(0);
  break;
  
  case 'production':
   error_reporting(0);
  break;

  default:
   exit('The application environment is not set correctly.');
}
}


Messages In This Thread
500 with simple syntax errors... - by El Forum - 05-29-2012, 12:57 PM
500 with simple syntax errors... - by El Forum - 05-29-2012, 05:56 PM
500 with simple syntax errors... - by El Forum - 05-29-2012, 06:08 PM
500 with simple syntax errors... - by El Forum - 05-29-2012, 06:27 PM
500 with simple syntax errors... - by El Forum - 05-29-2012, 07:06 PM
500 with simple syntax errors... - by El Forum - 05-29-2012, 09:42 PM
500 with simple syntax errors... - by El Forum - 05-29-2012, 10:27 PM



Theme © iAndrew 2016 - Forum software by © MyBB