Subversion Repositories SmartDukaan

Rev

Details | Last modification | View Log | RSS feed

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