Notice (8): Undefined index: controller [CORE/cake/app_controller.php, line 49]
function beforeFilter() {
//if it's a page, check the array for permission
// if it's the main index page (blank url), permit
if($this->params['controller'] == 'pages') {
if(!in_array($this->params['pass'][0], $this->always_allowed_pages))
AppController::beforeFilter() - CORE/cake/app_controller.php, line 49
Dispatcher::start() - CORE/cake/dispatcher.php, line 394
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 81
Object::cakeError() - CORE/cake/libs/object.php, line 172
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 120
[main] - CORE/app/webroot/index.php, line 83
Notice (8): Undefined index: controller [CORE/cake/app_controller.php, line 54]
$this->lock_against_guests();
}
//if it's an action, check the array for permission
else if (!in_array($this->params['controller'] . '/' . $this->action,$this->always_allowed) and
!in_array($this->action, $this->allowed)) {
AppController::beforeFilter() - CORE/cake/app_controller.php, line 54
Dispatcher::start() - CORE/cake/dispatcher.php, line 394
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 81
Object::cakeError() - CORE/cake/libs/object.php, line 172
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 120
[main] - CORE/app/webroot/index.php, line 83
Notice (8): Undefined index: url [CORE/cake/app_controller.php, line 80]
function lock_against_guests() {
if($this->Session->check('User') == false) {
$this->Session->setFlash('The URL you\'ve followed requires you login.');
$this->Session->write('attempted_url', $this->params['url']['url']);
$this->redirect('/users/login');
AppController::lock_against_guests() - CORE/cake/app_controller.php, line 80
AppController::beforeFilter() - CORE/cake/app_controller.php, line 56
Dispatcher::start() - CORE/cake/dispatcher.php, line 394
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 81
Object::cakeError() - CORE/cake/libs/object.php, line 172
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 120
[main] - CORE/app/webroot/index.php, line 83
Warning (2): Cannot modify header information - headers already sent by (output started at /hermes/bosweb/web215/b2157/ez.theglueorg/cake/basics.php:747) [CORE/cake/libs/controller/controller.php, line 511]
Context |
Code$url = "/users/login"
$status = null
$exit = false
header($status);
}
if ($url !== null) {
header('Location: ' . Router::url($url, true));
}
header - [internal], line ??
Controller::redirect() - CORE/cake/libs/controller/controller.php, line 511
AppController::lock_against_guests() - CORE/cake/app_controller.php, line 81
AppController::beforeFilter() - CORE/cake/app_controller.php, line 56
Dispatcher::start() - CORE/cake/dispatcher.php, line 394
ErrorHandler::__construct() - CORE/cake/libs/error.php, line 81
Object::cakeError() - CORE/cake/libs/object.php, line 172
Dispatcher::dispatch() - CORE/cake/dispatcher.php, line 120
[main] - CORE/app/webroot/index.php, line 83