*
exception.php
;
* error<StatusCode>.php
;
*
* where <StatusCode> stands for the HTTP error code (e.g. error500.php).
* Localized views are named similarly but located under a subdirectory
* whose name is the language code (e.g. zh_cn/error500.php).
*
* Development views are displayed when the application is in debug mode
* (i.e. YII_DEBUG is defined as true). Detailed error information with source code
* are displayed in these views. Production views are meant to be shown
* to end-users and are used when the application is in production mode.
* For security reasons, they only display the error message without any
* sensitive information.
*
* ErrorHandler looks for the view templates from the following locations in order:
* themes/ThemeName/views/system
: when a theme is active.protected/views/system
framework/views
' . $output . '
#$n | ";
echo ' ';
if ($hasCode) {
echo ' ';
if ($hasCode) {
$this->renderSourceCode($t['file'], $t['line'], $this->maxTraceSourceLines);
}
echo "+ - ';
}
echo ' ';
echo $this->htmlEncode($t['file']) . '(' . $t['line'] . '): ';
if (!empty($t['class'])) {
echo '' . $t['class'] . '' . $t['type'];
}
echo '' . $t['function'] . '';
echo '(' . (empty($t['args']) ? '' : $this->htmlEncode($this->argumentsToString($t['args']))) . ')';
echo ' |