* @param string $alias : slug*/public function display($alias) {
PagesController::display() - APP/Controller/PagesController.php, line 100
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
Notice (8): Undefined variable: alias [APP/Controller/PagesController.php, line 104]
// Informations sur la page $conditions = array('Page.i18n_alias' => $alias,
PagesController::display() - APP/Controller/PagesController.php, line 104
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
Notice (8): Undefined index: Page [APP/Controller/AppController.php, line 120]
AppController::constructPage() - APP/Controller/AppController.php, line 120
PagesController::display() - APP/Controller/PagesController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
Notice (8): Undefined index: Page [APP/Controller/AppController.php, line 121]
AppController::constructPage() - APP/Controller/AppController.php, line 121
PagesController::display() - APP/Controller/PagesController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
Notice (8): Undefined index: Page [APP/Controller/AppController.php, line 125]
AppController::constructPage() - APP/Controller/AppController.php, line 125
PagesController::display() - APP/Controller/PagesController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
Notice (8): Undefined index: Page [APP/Controller/AppController.php, line 128]
AppController::constructPage() - APP/Controller/AppController.php, line 128
PagesController::display() - APP/Controller/PagesController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
Notice (8): Undefined index: aliasTranslations [APP/Controller/AppController.php, line 149]
AppController::constructPage() - APP/Controller/AppController.php, line 149
PagesController::display() - APP/Controller/PagesController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
Warning (2): Invalid argument supplied for foreach() [APP/Controller/AppController.php, line 248]
$versions = array();foreach($translations as $translation):
$translations = null
$versions = array()
AppController::formatVersions() - APP/Controller/AppController.php, line 248
AppController::constructPage() - APP/Controller/AppController.php, line 149
PagesController::display() - APP/Controller/PagesController.php, line 108
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
Notice (8): Undefined index: Layout [APP/Controller/PagesController.php, line 110]
PagesController::display() - APP/Controller/PagesController.php, line 110
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 188
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 162
[main] - APP/webroot/index.php, line 114
CakePHP: the rapid development php framework:
Errors
SELECT `Page`.`id`, `Page`.`parent_id`, `Page`.`home`, `Page`.`specific_url`, `Layout`.`name`, (`I18n__alias`.`content`) AS `Page__i18n_alias`, (`I18n__meta_title`.`content`) AS `Page__i18n_meta_title`, (`I18n__meta_description`.`content`) AS `Page__i18n_meta_description` FROM `altec`.`pages` AS `Page` INNER JOIN `altec`.`i18n` AS `I18n__alias` ON (`Page`.`id` = `I18n__alias`.`foreign_key` AND `I18n__alias`.`model` = 'Page' AND `I18n__alias`.`field` = 'alias' AND `I18n__alias`.`locale` = 'fra') INNER JOIN `altec`.`i18n` AS `I18n__meta_title` ON (`Page`.`id` = `I18n__meta_title`.`foreign_key` AND `I18n__meta_title`.`model` = 'Page' AND `I18n__meta_title`.`field` = 'meta_title' AND `I18n__meta_title`.`locale` = 'fra') INNER JOIN `altec`.`i18n` AS `I18n__meta_description` ON (`Page`.`id` = `I18n__meta_description`.`foreign_key` AND `I18n__meta_description`.`model` = 'Page' AND `I18n__meta_description`.`field` = 'meta_description' AND `I18n__meta_description`.`locale` = 'fra') LEFT JOIN `altec`.`layouts` AS `Layout` ON (`Page`.`layout_id` = `Layout`.`id`) WHERE (`I18n__alias`.`content`) IS NULL AND `Page`.`active` = '1' AND `Page`.`home` = '0' LIMIT 1
0
0
2
2
SELECT `Page`.`parent_id`, `Page`.`home`, `Page`.`specific_url`, (`I18n__name`.`content`) AS `Page__i18n_name`, (`I18n__alias`.`content`) AS `Page__i18n_alias`, `Page`.`id` FROM `altec`.`pages` AS `Page` INNER JOIN `altec`.`i18n` AS `I18n__name` ON (`Page`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'Page' AND `I18n__name`.`field` = 'name' AND `I18n__name`.`locale` = 'fra') INNER JOIN `altec`.`i18n` AS `I18n__alias` ON (`Page`.`id` = `I18n__alias`.`foreign_key` AND `I18n__alias`.`model` = 'Page' AND `I18n__alias`.`field` = 'alias' AND `I18n__alias`.`locale` = 'fra') LEFT JOIN `altec`.`layouts` AS `Layout` ON (`Page`.`layout_id` = `Layout`.`id`) WHERE `Page`.`active` = '1' AND `Page`.`menu` = '1' ORDER BY `Page`.`lft` ASC
8
8
0
3
SELECT `Page`.`lft`, `Page`.`rght` FROM `altec`.`pages` AS `Page` WHERE `Page`.`id` = '' LIMIT 1
0
0
0
4
SELECT `Page`.`lft`, `Page`.`rght` FROM `altec`.`pages` AS `Page` WHERE `Page`.`id` = '' LIMIT 1
0
0
0
5
SELECT `Page`.`specific_url`, `Page`.`home`, (`I18n__name`.`content`) AS `Page__i18n_name`, (`I18n__alias`.`content`) AS `Page__i18n_alias` FROM `altec`.`pages` AS `Page` INNER JOIN `altec`.`i18n` AS `I18n__name` ON (`Page`.`id` = `I18n__name`.`foreign_key` AND `I18n__name`.`model` = 'Page' AND `I18n__name`.`field` = 'name' AND `I18n__name`.`locale` = 'fra') INNER JOIN `altec`.`i18n` AS `I18n__alias` ON (`Page`.`id` = `I18n__alias`.`foreign_key` AND `I18n__alias`.`model` = 'Page' AND `I18n__alias`.`field` = 'alias' AND `I18n__alias`.`locale` = 'fra') WHERE ((((`Page`.`menu` = '0') AND (`Page`.`active` = '1'))) OR (`Page`.`alias` = 'contact')) ORDER BY `Page`.`lft` ASC