Notice (8): Undefined index: id [APP/app_controller.php, line 84]Code |
Context }elseif($this -> params['controller'] == 'news' && $this -> params['action'] == 'show'){
$news_id = $this -> News -> find('first', array('conditions' => array('News.url' => $this -> params['id']), 'fields' => array('News.id', 'News.name', 'News.url')));
$path = array()
AppController::breadcrumbs() - APP/app_controller.php, line 84
AppController::beforeFilter() - APP/app_controller.php, line 23
NewsController::beforeFilter() - APP/controllers/news_controller.php, line 6
Controller::startupProcess() - CORE/cake/libs/controller/controller.php, line 526
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 187
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83
Warning (2): Cannot modify header information - headers already sent by (output started at /home/aa11377/public_html/cake/libs/debugger.php:673) [CORE/cake/libs/controller/controller.php, line 746]Code |
Context$status = "Location: http://www.prettyone.pl/"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 746
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 725
NewsController::show() - APP/controllers/news_controller.php, line 155
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 204
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 171
[main] - APP/webroot/index.php, line 83