Non puoi selezionare più di 25 argomenti Gli argomenti devono iniziare con una lettera o un numero, possono includere trattini ('-') e possono essere lunghi fino a 35 caratteri.
 
 
 
 
 
 

53 righe
1.6 KiB

<?php
/**
* @var \App\View\AppView $this
* @var \Cake\Database\StatementInterface $error
* @var string $message
* @var string $url
*/
use Cake\Core\Configure;
use Cake\Error\Debugger;
$this->layout = 'default';
if (Configure::read('debug')) :
$this->layout = 'dev_error';
$this->assign('title', $message);
$this->assign('templateName', 'error500.php');
$this->start('file');
?>
<?php if (!empty($error->queryString)) : ?>
<p class="notice">
<strong>SQL Query: </strong>
<?= h($error->queryString) ?>
</p>
<?php endif; ?>
<?php if (!empty($error->params)) : ?>
<strong>SQL Query Params: </strong>
<?php Debugger::dump($error->params) ?>
<?php endif; ?>
<?php if ($error instanceof Error) : ?>
<strong>Error in: </strong>
<?= sprintf('%s, line %s', str_replace(ROOT, 'ROOT', $error->getFile()), $error->getLine()) ?>
<?php endif; ?>
<?php
echo $this->element('auto_table_warning');
$this->end();
endif;
?>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<br>
<center><h1><b><?= Configure::read('Theme.title') ?></b></h1></center>
<center><h3><?= __('Si è verificato un errore interno alla richiesta con url: {0}. Per favore riprovare.', "<strong>'{$url}'</strong>") ?></h2></center>
<center><h3><?= __('Se l\'errore persiste, per favore contattare l\'assistenza via mail all\'indirizzo "{0}" o chiamando il numero "{1}"', Configure::read('App.manufacturer_email'), Configure::read('App.manufacturer_number')) ?></h3></center>
<br>
<center><h3><?= $this->Html->link(__('Torna indietro'), 'javascript:history.back()') ?><h3></center>