Notice (8): Undefined index: slug [APP/controllers/posts_controller.php, line 274]
Code {
// make each one safe
$slug = Sanitize::escape($this->params['slug']);
PostsController::view() - APP/controllers/posts_controller.php, line 274
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 93
Warning (2): Cannot modify header information - headers already sent by (output started at /home/whiteduck/libs/cake_1.2.6/cake/basics.php:109) [CORE/cake/libs/controller/controller.php, line 647]
Code |
Context$status = "Location: http://www.whiteduckscreenprint.co.uk/blog"
header - [internal], line ??
Controller::header() - CORE/cake/libs/controller/controller.php, line 647
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 628
PostsController::view() - APP/controllers/posts_controller.php, line 279
Object::dispatchMethod() - CORE/cake/libs/object.php, line 118
Dispatcher::_invoke() - CORE/cake/dispatcher.php, line 227
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 194
[main] - APP/webroot/index.php, line 93