layout = 'error'; if (Configure::read('debug')) : $this->layout = 'dev_error'; $this->assign('title', $message); $this->assign('templateName', 'error500.php'); $this->start('file'); ?> getFile() ?> getLine() ?> Error in: = $this->Html->link(sprintf('%s, line %s', Debugger::trimPath($file), $line), Debugger::editorUrl($file, $line)); ?> element('auto_table_warning'); $this->end(); endif; ?>
= __d('cake', 'Error') ?>: = h($message) ?>