Notice (8): Undefined index: Campanya [APP/Controller/AppController.php, line 40]Code Context //Guardamos la pagina visitada (si el usuario esta logeado). Usamos "entregas" para adaptar al formato usado en el component GestionUsuarios
$info_entrega = array();
$info_entrega['Entrega']['id_campania'] = $this->campanya['Campanya']['id_campania'];
$info_entrega = array()
AppController::beforeFilter() - APP/Controller/AppController.php, line 40
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 155
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 92
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 119
[main] - [internal], line ??
Notice (8): Undefined index: Campanya [APP/Controller/AppController.php, line 43]Code Context $this->GestionUsuarios->guardarAccesoUsuario($info_entrega, $this->Auth->user());
$this->layout = $this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
$info_entrega = array(
'Entrega' => array(
'id_campania' => null
)
)
AppController::beforeFilter() - APP/Controller/AppController.php, line 43
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 155
ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 92
ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 119
[main] - [internal], line ??
Missing Controller
Error:
Sitemap.xmlController could not be found.
Error:
Create the class Sitemap.xmlController below in file: app/Controller/Sitemap.xmlController.php
<?php
class Sitemap.xmlController extends AppController {
}
Notice:
If you want to customize this error message, create app/View/Errors/missing_controller.ctp
Stack Trace
- APP/webroot/index.php line 98 → Dispatcher->dispatch(CakeRequest, CakeResponse)
App::uses('Dispatcher', 'Routing');
$Dispatcher = new Dispatcher();
$Dispatcher->dispatch(new CakeRequest(), new CakeResponse());
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => 'sitemap.xml'
base => ''
webroot => '/'
here => '/sitemap.xml'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
object(CakeResponse) {
[protected] _statusCodes => array(
[maximum depth reached]
)
[protected] _mimeTypes => array(
[maximum depth reached]
)
[protected] _protocol => 'HTTP/1.1'
[protected] _status => (int) 200
[protected] _contentType => 'text/html'
[protected] _headers => array([maximum depth reached])
[protected] _body => null
[protected] _file => null
[protected] _fileRange => null
[protected] _charset => 'UTF-8'
[protected] _cacheDirectives => array([maximum depth reached])
[protected] _cookies => array([maximum depth reached])
}