setLayout('error'); if (Configure::read('debug')) : $this->setLayout('dev_error'); $this->assign('title', $message); $this->assign('templateName', 'error500.php'); $this->start('file'); if (!empty($error->queryString)) : ?>

SQL Query: queryString) ?>

params)) : ?> SQL Query Params: params) ?> getFile(); $line = $error->getLine(); ?> Error in: Html->link(sprintf('%s, line %s', Debugger::trimPath($file), $line), Debugger::editorUrl($file, $line)); ?> element('auto_table_warning'); $this->end(); endif; $this->assign('title', __('Fehler')); ?>