' . "\n"; echo '

INTERNAL ERROR:

' . "\n"; echo '

' . $message . '

' . "\n"; echo '

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

' . "\n"; // Print out the entire stack trace echo '
' . "\nStack Trace:\n"; echo '
    ' . "\n"; $trace = array_slice(debug_backtrace(false), $drop); 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 '
' . "\nHTTP Request:\n"; echo '

' . "\n";
  print_r($_REQUEST);
  echo "\n
\n"; echo ''; if ($exit) 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 ?>