Code Context <meta charset="utf-8" />
<title><?php echo $title_for_layout; ?></title>
<meta name="description" content="<?php echo $meta_for_layout ?>" />
$___viewFn = "/home/opure/ltp/www/csb/app/View/Layouts/default.ctp"
$___dataForView = array(
"code" => "500",
"url" => "/gallerie/sciage-beton-1",
"name" => "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Gallery.filel' in 'field list'",
"error" => PDOException
PDOException::$errorInfo = array
PDOException::$queryString = "SELECT `Gallery`.`id`, `Gallery`.`name`, `Gallery`.`file`, `Gallery`.`files`, `Gallery`.`filem`, `Gallery`.`filel`, `Gallery`.`rubrique_id`, `Gallery`.`type`, `Gallery`.`content`, `Gallery`.`numero`, `Rubrique`.`id`, `Rubrique`.`name`, `Rubrique`.`slug`, `Rubrique`.`content` FROM `galleries` AS `Gallery` LEFT JOIN `rubriques` AS `Rubrique` ON (`Gallery`.`rubrique_id` = `Rubrique`.`id`) WHERE `Gallery`.`rubrique_id` = 1",
"content_for_layout" => "<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Gallery.filel' in 'field list'</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT `Gallery`.`id`, `Gallery`.`name`, `Gallery`.`file`, `Gallery`.`files`, `Gallery`.`filem`, `Gallery`.`filel`, `Gallery`.`rubrique_id`, `Gallery`.`type`, `Gallery`.`content`, `Gallery`.`numero`, `Rubrique`.`id`, `Rubrique`.`name`, `Rubrique`.`slug`, `Rubrique`.`content` FROM `galleries` AS `Gallery` LEFT JOIN `rubriques` AS `Rubrique` ON (`Gallery`.`rubrique_id` = `Rubrique`.`id`) WHERE `Gallery`.`rubrique_id` = 1 </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h4>Stack Trace</h4>
<pre>
#0 /home/opure/musee/lib/Cake/Model/Datasource/DboSource.php(436): PDOStatement->execute(Array)
#1 /home/opure/musee/lib/Cake/Model/Datasource/DboSource.php(403): DboSource->_execute('SELECT `Gallery...', Array)
#2 /home/opure/musee/lib/Cake/Model/Datasource/DboSource.php(645): DboSource->execute('SELECT `Gallery...', Array, Array)
#3 /home/opure/musee/lib/Cake/Model/Datasource/DboSource.php(1040): DboSource->fetchAll('SELECT `Gallery...', false)
#4 /home/opure/musee/lib/Cake/Model/Model.php(2458): DboSource->read(Object(Gallery), Array)
#5 /home/opure/musee/app/Controller/RubriquesController.php(38): Model->find('all', Array)
#6 [internal function]: RubriquesController->show('1', 'sciage-beton')
#7 /home/opure/musee/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(RubriquesController), Array)
#8 /home/opure/musee/lib/Cake/Routing/Dispatcher.php(107): Controller->invokeAction(Object(CakeRequest))
#9 /home/opure/musee/lib/Cake/Routing/Dispatcher.php(89): Dispatcher->_invoke(Object(RubriquesController), Object(CakeRequest), Object(CakeResponse))
#10 /home/opure/ltp/www/csb/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#11 {main}</pre>
",
"scripts_for_layout" => "",
"title_for_layout" => "Errors"
)
$code = "500"
$url = "/gallerie/sciage-beton-1"
$name = "SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Gallery.filel' in 'field list'"
$error = PDOException
PDOException::$errorInfo = array
PDOException::$queryString = "SELECT `Gallery`.`id`, `Gallery`.`name`, `Gallery`.`file`, `Gallery`.`files`, `Gallery`.`filem`, `Gallery`.`filel`, `Gallery`.`rubrique_id`, `Gallery`.`type`, `Gallery`.`content`, `Gallery`.`numero`, `Rubrique`.`id`, `Rubrique`.`name`, `Rubrique`.`slug`, `Rubrique`.`content` FROM `galleries` AS `Gallery` LEFT JOIN `rubriques` AS `Rubrique` ON (`Gallery`.`rubrique_id` = `Rubrique`.`id`) WHERE `Gallery`.`rubrique_id` = 1"
$content_for_layout = "<h2>Database Error</h2>
<p class="error">
<strong>Error: </strong>
SQLSTATE[42S22]: Column not found: 1054 Unknown column 'Gallery.filel' in 'field list'</p>
<p class="notice">
<strong>SQL Query: </strong>
SELECT `Gallery`.`id`, `Gallery`.`name`, `Gallery`.`file`, `Gallery`.`files`, `Gallery`.`filem`, `Gallery`.`filel`, `Gallery`.`rubrique_id`, `Gallery`.`type`, `Gallery`.`content`, `Gallery`.`numero`, `Rubrique`.`id`, `Rubrique`.`name`, `Rubrique`.`slug`, `Rubrique`.`content` FROM `galleries` AS `Gallery` LEFT JOIN `rubriques` AS `Rubrique` ON (`Gallery`.`rubrique_id` = `Rubrique`.`id`) WHERE `Gallery`.`rubrique_id` = 1 </p>
<p class="notice">
<strong>Notice: </strong>
If you want to customize this error message, create app/View/Errors/pdo_error.ctp</p>
<h4>Stack Trace</h4>
<pre>
#0 /home/opure/musee/lib/Cake/Model/Datasource/DboSource.php(436): PDOStatement->execute(Array)
#1 /home/opure/musee/lib/Cake/Model/Datasource/DboSource.php(403): DboSource->_execute('SELECT `Gallery...', Array)
#2 /home/opure/musee/lib/Cake/Model/Datasource/DboSource.php(645): DboSource->execute('SELECT `Gallery...', Array, Array)
#3 /home/opure/musee/lib/Cake/Model/Datasource/DboSource.php(1040): DboSource->fetchAll('SELECT `Gallery...', false)
#4 /home/opure/musee/lib/Cake/Model/Model.php(2458): DboSource->read(Object(Gallery), Array)
#5 /home/opure/musee/app/Controller/RubriquesController.php(38): Model->find('all', Array)
#6 [internal function]: RubriquesController->show('1', 'sciage-beton')
#7 /home/opure/musee/lib/Cake/Controller/Controller.php(473): ReflectionMethod->invokeArgs(Object(RubriquesController), Array)
#8 /home/opure/musee/lib/Cake/Routing/Dispatcher.php(107): Controller->invokeAction(Object(CakeRequest))
#9 /home/opure/musee/lib/Cake/Routing/Dispatcher.php(89): Dispatcher->_invoke(Object(RubriquesController), Object(CakeRequest), Object(CakeResponse))
#10 /home/opure/ltp/www/csb/app/webroot/index.php(96): Dispatcher->dispatch(Object(CakeRequest), Object(CakeResponse))
#11 {main}</pre>
"
$scripts_for_layout = ""
$title_for_layout = "Errors"
include - APP/View/Layouts/default.ctp, line 7
View::_render() - /home/opure/musee/lib/Cake/View/View.php, line 598
View::renderLayout() - /home/opure/musee/lib/Cake/View/View.php, line 414
View::render() - /home/opure/musee/lib/Cake/View/View.php, line 376
Controller::render() - /home/opure/musee/lib/Cake/Controller/Controller.php, line 898
ExceptionRenderer::_outputMessage() - CORE/Cake/Error/ExceptionRenderer.php, line 267
ExceptionRenderer::pdoError() - CORE/Cake/Error/ExceptionRenderer.php, line 254
ExceptionRenderer::render() - CORE/Cake/Error/ExceptionRenderer.php, line 170
ErrorHandler::handleException() - /home/opure/musee/lib/Cake/Error/ErrorHandler.php, line 127
[main] - [internal], line ??
" />