TPhpErrorException

Description

[Notice] Undefined index: usuario (@line 35 in file /home2/malditos/public_html/edipo/protected/pages/usuarios/LoginUsuario.php).

Source File

/home2/malditos/public_html/edipo/protected/pages/usuarios/LoginUsuario.php (35)

0024:         $this->CombAutores->Items->add($itemAutor);
0025: 
0026:         $sql = "SELECT * from usuarios where 1 order by username";
0027:         foreach ($dbh->query($sql) as $row) 
0028:             {
0029:                 $itemAutor = new TListItem;
0030:                 $itemAutor->Text = $row['username'];
0031:                 $this->CombAutores->Items->add($itemAutor);
0032: 
0033:              }
0034:           }
0035: $quienSoy = $_SESSION['usuario'];
0036: 0037: if ($quienSoy <> "") 0038: { 0039: $this->BorrarPoema->visible = "true"; 0040: $this->btnFinalizarPoema->visible = "true"; 0041: $this->btnPuntuarPoema->visible = "true"; 0042: } 0043: $dbh = abrir_conexion(); 0044: $hay = 0; 0045: $sql = "select count(*) as total from poemas"; 0046: foreach ($dbh->query($sql) as $row) 0047: {

Stack Trace

#0 /home2/malditos/public_html/edipo/protected/pages/usuarios/LoginUsuario.php(35): PradoBase::phpErrorHandler(8, 'Undefined index...', '/home2/malditos...', 35, Array)
#1 /home2/malditos/public_html/prado/framework/Web/UI/TControl.php(1286): LoginUsuario->onLoad(NULL)
#2 /home2/malditos/public_html/prado/framework/Web/UI/TPage.php(210): TControl->loadRecursive()
#3 /home2/malditos/public_html/prado/framework/Web/UI/TPage.php(193): TPage->processNormalRequest(Object(THtmlWriter))
#4 /home2/malditos/public_html/prado/framework/Web/Services/TPageService.php(474): TPage->run(Object(THtmlWriter))
#5 /home2/malditos/public_html/prado/framework/Web/Services/TPageService.php(420): TPageService->runPage(Object(LoginUsuario), Array)
#6 /home2/malditos/public_html/prado/framework/TApplication.php(1095): TPageService->run()
#7 /home2/malditos/public_html/prado/framework/TApplication.php(382): TApplication->runService()
#8 /home2/malditos/public_html/edipo/index.php(36): TApplication->run()
#9 {main}
2024-04-20 02:21 Apache PRADO/3.1.4