Notice (8): Undefined index: Campanya [APP/Controller/AppController.php, line 38]Code Context$this->set('campanyaActual', $this->campanya);
$this->layout = $this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
$url = 'https://inglesmovil.com'AppController::beforeFilter() - APP/Controller/AppController.php, line 38 CampanyasController::beforeFilter() - APP/Controller/CampanyasController.php, line 12 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 669 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 183 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 97
Notice (8): Undefined index: Campanya [APP/Controller/CampanyasController.php, line 18]Code Contextpublic function index($idioma_seleccionado = NULL) {
$this->render('landing_pages/' . $this->campanya['Campanya']['codename']);
$idioma_seleccionado = nullCampanyasController::index() - APP/Controller/CampanyasController.php, line 18 ReflectionMethod::invokeArgs() - [internal], line ?? Controller::invokeAction() - CORE/Cake/Controller/Controller.php, line 485 Dispatcher::_invoke() - CORE/Cake/Routing/Dispatcher.php, line 186 Dispatcher::dispatch() - CORE/Cake/Routing/Dispatcher.php, line 161 [main] - APP/webroot/index.php, line 97
Notice (8): Undefined index: Campanya [APP/Controller/AppController.php, line 38]Code Context$this->set('campanyaActual', $this->campanya);
$this->layout = $this->campanya['Campanya']['layout']; //Layout por defecto (se sobrescribe en algunas paginas, por ej. en campanyas/index)
$url = 'https://inglesmovil.com'AppController::beforeFilter() - APP/Controller/AppController.php, line 38 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 669 ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 155 ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 94 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 125 [main] - [internal], line ??
Notice (8): Undefined index: Campanya [APP/Controller/AppController.php, line 69]Code Contextif ( $this->Auth->User('Usuario.id_usuario') ) $login = $this->Auth->User('Usuario.id_usuario');
else {
if ($this->campanya['Campanya']['por_IP'] == 1) $login = $ip; //Las campanyas con acceso por IP no usan "usuarios", guardamos la IP usada para entrar
$ip = '3.15.148.203' $fecha_actual = '2024-11-20' $hora_actual = '17:25:40'AppController::__guardarVisitas() - APP/Controller/AppController.php, line 69 AppController::beforeFilter() - APP/Controller/AppController.php, line 42 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 669 ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 155 ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 94 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 125 [main] - [internal], line ??
Notice (8): Undefined index: Campanya [APP/Controller/AppController.php, line 80]Code Context'fecha_registro' => $fecha_actual,
'hora_registro' => $hora_actual,
'id_campania' => $this->campanya['Campanya']['id_campanya'],
$ip = '3.15.148.203' $fecha_actual = '2024-11-20' $hora_actual = '17:25:40' $login = '' $desc = 'http://inglesmovil.com/'AppController::__guardarVisitas() - APP/Controller/AppController.php, line 80 AppController::beforeFilter() - APP/Controller/AppController.php, line 42 call_user_func - [internal], line ?? CakeEventManager::dispatch() - CORE/Cake/Event/CakeEventManager.php, line 247 Controller::startupProcess() - CORE/Cake/Controller/Controller.php, line 669 ExceptionRenderer::_getController() - CORE/Cake/Error/ExceptionRenderer.php, line 155 ExceptionRenderer::__construct() - CORE/Cake/Error/ExceptionRenderer.php, line 94 ErrorHandler::handleException() - CORE/Cake/Error/ErrorHandler.php, line 125 [main] - [internal], line ??
Error: The view for CampanyasController::index() was not found.
Error: Confirm you have created the file: /home/columbia/public_html/ecosistema_new/campanyas/inglesmovil_app_promo/app/View/Campanyas/landing_pages/.ctp
Notice: If you want to customize this error message, create app/View/Errors/missing_view.ctp
}
$this->Blocks->set('content', '');
if ($view !== false && $viewFileName = $this->_getViewFileName($view)) {
$this->_currentType = self::TYPE_VIEW;
'landing_pages/'
$this->autoRender = false;
$this->View = $View;
$this->response->body($View->render($view, $layout));
return $this->response;
'landing_pages/' null
public function index($idioma_seleccionado = NULL) {
$this->render('landing_pages/' . $this->campanya['Campanya']['codename']);
}
'landing_pages/'
'action' => $request->params['action']
));
}
return $method->invokeArgs($this, $request->params['pass']);
object(CampanyasController) { name => 'Campanyas' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) campanya => 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) {} Auth => object(AuthComponent) {} Campanya => object(Campanya) {} [protected] _responseClass => 'CakeResponse' [protected] _mergeParent => 'AppController' [protected] _eventManager => object(CakeEventManager) {} } array()
$controller->startupProcess();
$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 => '' }
));
}
$response = $this->_invoke($controller, $request, $response);
if (isset($request->params['return'])) {
object(CampanyasController) { name => 'Campanyas' uses => array( [maximum depth reached] ) components => array( [maximum depth reached] ) helpers => array( [maximum depth reached] ) campanya => 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) {} Auth => object(AuthComponent) {} Campanya => object(Campanya) {} [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 => '' } 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] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }
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] _charset => 'UTF-8' [protected] _cacheDirectives => array([maximum depth reached]) [protected] _cookies => array([maximum depth reached]) }