'; echo '

INTERNAL ERROR:

'; echo '

' . $message . '

'; echo '

This error was not caused by anything that you did wrong.'; echo '
It is a problem within the application itself and should be reported to the administrator.

'; // Print out the entire stack trace echo "\n
Stack Trace:
    \n"; $trace = debug_backtrace(false); for ($i = 0; $i < count($trace); ++$i) { $bline = $trace[$i]['line']; $bfile = $trace[$i]['file']; $bfile = str_replace(ROOT.DS, '', $bfile); $bfile = str_replace(CAKE_CORE_INCLUDE_PATH.DS, '', $bfile); if ($i < count($trace)-1) { $bfunc = $trace[$i+1]['function']; $bclas = $trace[$i+1]['class']; } else { $bfunc = null; $bclas = null; } echo("
  1. $bfile:$bline (" . ($bclas ? "$bclas::$bfunc" : "entry point") . ")
  2. \n"); } echo "
\n"; echo "\n
HTTP Request

\n";
  print_r($_REQUEST);
  echo "\n
\n"; echo ''; die(); } /** * The settings below can be used to set additional paths to models, views and controllers. * This is related to Ticket #470 (https://trac.cakephp.org/ticket/470) * * $modelPaths = array('full path to models', 'second full path to models', 'etc...'); * $viewPaths = array('this path to views', 'second full path to views', 'etc...'); * $controllerPaths = array('this path to controllers', 'second full path to controllers', 'etc...'); * */ //EOF ?>