adding example apps, fixing powerup issues
[feisty_meow.git] / production / example_apps / shared_calendar / src / Template / Error / error400.ctp
1 <?php
2 use Cake\Core\Configure;
3 use Cake\Error\Debugger;
4
5 $this->layout = 'error';
6
7 if (Configure::read('debug')):
8     $this->layout = 'dev_error';
9
10     $this->assign('title', $message);
11     $this->assign('templateName', 'error400.ctp');
12
13     $this->start('file');
14 ?>
15 <?php if (!empty($error->queryString)) : ?>
16     <p class="notice">
17         <strong>SQL Query: </strong>
18         <?= h($error->queryString) ?>
19     </p>
20 <?php endif; ?>
21 <?php if (!empty($error->params)) : ?>
22         <strong>SQL Query Params: </strong>
23         <?php Debugger::dump($error->params) ?>
24 <?php endif; ?>
25 <?= $this->element('auto_table_warning') ?>
26 <?php
27     if (extension_loaded('xdebug')):
28         xdebug_print_function_stack();
29     endif;
30
31     $this->end();
32 endif;
33 ?>
34 <h2><?= h($message) ?></h2>
35 <p class="error">
36     <strong><?= __d('cake', 'Error') ?>: </strong>
37     <?= __d('cake', 'The requested address {0} was not found on this server.', "<strong>'{$url}'</strong>") ?>
38 </p>