PHP notice

Undefined index: URLCONTACTO_es

/home/aplixuss/public_html/protected/controllers/SiteController.php(242)

230             // si no llama al proceso que las carga
231             $nombre_plantilla_actual = $this->layout;
232             if (!isset($_SESSION['globalcontainer' . $this->apxkey][$nombre_plantilla_actual])) {
233                 //invoca la funcion que saca los elementos globales de la plantilla que se esta usando
234                 $this->GlobalLayoutSetup($this->paginaActual['idTemplate'], $this->language);
235 
236                 //se asigna a la variable del contenedor global de las partes del layout
237                 $_SESSION['globalcontainer' . $this->apxkey][$nombre_plantilla_actual] = $this->layoutpartes;
238             }
239             else
240                 $this->layoutpartes = $_SESSION['globalcontainer' . $this->apxkey][$nombre_plantilla_actual];
241 
242             if ($customurl == $this->textglobal['URLCONTACTO_' . $this->language]) {
243                 if (!empty($_POST)) { // Form posted?
244                     // Get a safe-sanitized version of the posted data
245                     $sFromEmail = filter_input(INPUT_POST, 'email', FILTER_SANITIZE_EMAIL);
246                     $sFromName = filter_input(INPUT_POST, 'name', FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW);
247                     $sTelefono = filter_input(INPUT_POST, 'telefono', FILTER_SANITIZE_STRING, FILTER_FLAG_STRIP_LOW);
248                 }
249                 $this->render($this->paginaActual['archivoVista'], array('Email' => $sFromEmail, 'Name' => $sFromName, 'Phone' => $sTelefono));
250             }
251             else
252             //se llama la vista para esta p�gina segun la definicion del template
253                $this->render($this->paginaActual['archivoVista'], array('texto' => $indicadorsesion . ' entrando por acci�n XXX' . $language . ' y url ' . $customurl
254                ));

Stack Trace

#9
+
 /home/aplixuss/public_html/index.php(13): CApplication->run()
08 defined('YII_DEBUG') or define('YII_DEBUG',true);
09 // specify how many levels of call stack should be shown in each log message
10 defined('YII_TRACE_LEVEL') or define('YII_TRACE_LEVEL',3);
11 
12 require_once($yii);
13 Yii::createWebApplication($config)->run();
2024-03-28 06:18:42 Apache Yii Framework/1.1.9