Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
16591 anikendra 1
<?php
2
/**
3
 * CakePHP(tm) : Rapid Development Framework (http://cakephp.org)
4
 * Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
5
 *
6
 * Licensed under The MIT License
7
 * For full copyright and license information, please see the LICENSE.txt
8
 * Redistributions of files must retain the above copyright notice.
9
 *
10
 * @copyright     Copyright (c) Cake Software Foundation, Inc. (http://cakefoundation.org)
11
 * @link          http://cakephp.org CakePHP(tm) Project
12
 * @package       Cake.View.Errors
13
 * @since         CakePHP(tm) v 0.10.0.1076
14
 * @license       http://www.opensource.org/licenses/mit-license.php MIT License
15
 */
16
?>
17
<h2><?php echo __d('cake_dev', 'Database Error'); ?></h2>
18
<p class="error">
19
	<strong><?php echo __d('cake_dev', 'Error'); ?>: </strong>
20
	<?php echo $message; ?>
21
</p>
22
<?php if (!empty($error->queryString)) : ?>
23
	<p class="notice">
24
		<strong><?php echo __d('cake_dev', 'SQL Query'); ?>: </strong>
25
		<?php echo h($error->queryString); ?>
26
	</p>
27
<?php endif; ?>
28
<?php if (!empty($error->params)) : ?>
29
		<strong><?php echo __d('cake_dev', 'SQL Query Params'); ?>: </strong>
30
		<?php echo Debugger::dump($error->params); ?>
31
<?php endif; ?>
32
<p class="notice">
33
	<strong><?php echo __d('cake_dev', 'Notice'); ?>: </strong>
34
	<?php echo __d('cake_dev', 'If you want to customize this error message, create %s', APP_DIR . DS . 'View' . DS . 'Errors' . DS . 'pdo_error.ctp'); ?>
35
</p>
36
<?php echo $this->element('exception_stack_trace'); ?>