Notice (8): Undefined index: Campanya [APP/Controller/AppController.php, line 45]Code Context //pr($this->campanya);
$this->layout = $this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
AppController::beforeFilter() - APP/Controller/AppController.php, line 45
CampanyasController::beforeFilter() - APP/Controller/CampanyasController.php, line 12
call_user_func - [internal], line ??
CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 244
Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 674
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 187
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 98
Notice (8): Undefined index: Campanya [APP/Controller/CampanyasController.php, line 20]Code Context $this->set('grades', $this->grades);
$this->render('landing_pages/' . $this->campanya['Campanya']['codename']);
CampanyasController::index() - APP/Controller/CampanyasController.php, line 20
ReflectionMethod::invokeArgs() - [internal], line ??
Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 490
Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 191
Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 165
[main] - APP/webroot/index.php, line 98
Notice (8): Undefined index: Campanya [APP/Controller/AppController.php, line 45]Code Context //pr($this->campanya);
$this->layout = $this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
AppController::beforeFilter() - APP/Controller/AppController.php, line 45
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 View
Error:
The view for CampanyasController::index() was not found.
Error:
Confirm you have created the file: /home/columbia/public_html/ecosistema_2014/websites/activatuingles_kids/app/View/Campanyas/landing_pages/.ctp
Notice:
If you want to customize this error message, create app/View/Errors/missing_view.ctp
Stack Trace
- CORE/Cake/View/View.php line 468 → View->_getViewFileName(string)
return;
}
if ($view !== false && $viewFileName = $this->_getViewFileName($view)) {
$this->_currentType = self::TYPE_VIEW;
- CORE/Cake/Controller/Controller.php line 954 → View->render(string, null)
}
$this->autoRender = false;
$this->response->body($this->View->render($view, $layout));
return $this->response;
- APP/Controller/CampanyasController.php line 20 → Controller->render(string)
$this->set('grades', $this->grades);
$this->render('landing_pages/' . $this->campanya['Campanya']['codename']);
}
- [internal function] → CampanyasController->index()
- CORE/Cake/Controller/Controller.php line 490 → ReflectionMethod->invokeArgs(CampanyasController, array)
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(CampanyasController) {
name => 'Campanyas'
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
campanya => array([maximum depth reached])
grades => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Campanyas'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => null
autoRender => false
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => object(View) {}
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Campanya'
modelKey => 'campanya'
validationErrors => null
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Auth => object(AuthComponent) {}
GestionCampanyas => object(GestionCampanyasComponent) {}
GestionUsuarios => object(GestionUsuariosComponent) {}
GestionEntregas => object(GestionEntregasComponent) {}
Herramientas => object(HerramientasComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
array()
- CORE/Cake/Routing/Dispatcher.php line 191 → Controller->invokeAction(CakeRequest)
$response = $controller->response;
$render = true;
$result = $controller->invokeAction($request);
if ($result instanceof CakeResponse) {
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => false
base => ''
webroot => '/'
here => '/'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
- CORE/Cake/Routing/Dispatcher.php line 165 → Dispatcher->_invoke(CampanyasController, CakeRequest)
));
}
$response = $this->_invoke($controller, $request);
if (isset($request->params['return'])) {
object(CampanyasController) {
name => 'Campanyas'
components => array(
[maximum depth reached]
)
helpers => array(
[maximum depth reached]
)
uses => array(
[maximum depth reached]
)
campanya => array([maximum depth reached])
grades => array(
[maximum depth reached]
)
request => object(CakeRequest) {}
response => object(CakeResponse) {}
viewPath => 'Campanyas'
layoutPath => null
viewVars => array(
[maximum depth reached]
)
view => 'index'
layout => null
autoRender => false
autoLayout => true
Components => object(ComponentCollection) {}
viewClass => 'View'
View => object(View) {}
ext => '.ctp'
plugin => null
cacheAction => false
passedArgs => array([maximum depth reached])
scaffold => false
methods => array(
[maximum depth reached]
)
modelClass => 'Campanya'
modelKey => 'campanya'
validationErrors => null
Session => object(SessionComponent) {}
RequestHandler => object(RequestHandlerComponent) {}
Auth => object(AuthComponent) {}
GestionCampanyas => object(GestionCampanyasComponent) {}
GestionUsuarios => object(GestionUsuariosComponent) {}
GestionEntregas => object(GestionEntregasComponent) {}
Herramientas => object(HerramientasComponent) {}
[protected] _responseClass => 'CakeResponse'
[protected] _mergeParent => 'AppController'
[protected] _eventManager => object(CakeEventManager) {}
}
object(CakeRequest) {
params => array(
[maximum depth reached]
)
data => array([maximum depth reached])
query => array([maximum depth reached])
url => false
base => ''
webroot => '/'
here => '/'
[protected] _detectors => array(
[maximum depth reached]
)
[protected] _input => ''
}
- 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 => false
base => ''
webroot => '/'
here => '/'
[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])
}