TPhpErrorException

Description

[Notice] session_start(): ps_files_cleanup_dir: opendir(/var/lib/php/sessions) failed: Permission denied (13) (@line 134 in file /dados/sites/www/apl/prado/framework/Web/THttpSession.php).

Source File

/dados/sites/www/apl/prado/framework/Web/THttpSession.php (134)

0123:      * Starts the session if it has not started yet.
0124:      */
0125:     public function open()
0126:     {
0127:         if(!$this->_started)
0128:         {
0129:             if($this->_customStorage)
0130:                 session_set_save_handler(array($this,'_open'),array($this,'_close'),array($this,'_read'),array($this,'_write'),array($this,'_destroy'),array($this,'_gc'));
0131:             if($this->_cookie!==null)
0132:                 session_set_cookie_params($this->_cookie->getExpire(),$this->_cookie->getPath(),$this->_cookie->getDomain(),$this->_cookie->getSecure());
0133:             if(ini_get('session.auto_start')!=='1')
0134: session_start();
0135: $this->_started=true; 0136: } 0137: } 0138: 0139: /** 0140: * Ends the current session and store session data. 0141: */ 0142: public function close() 0143: { 0144: if($this->_started) 0145: { 0146: session_write_close();

Stack Trace

#0 [internal function]: PradoBase::phpErrorHandler(8, 'session_start()...', '/dados/sites/ww...', 134, Array)
#1 /dados/sites/www/apl/prado/framework/Web/THttpSession.php(134): session_start()
#2 /dados/sites/www/apl/phi/protected/pages/Inicial.php(9): THttpSession->open()
#3 /dados/sites/www/apl/prado/framework/Web/UI/TControl.php(1270): Inicial->onInit(NULL)
#4 /dados/sites/www/apl/prado/framework/Web/UI/TCompositeControl.php(35): TControl->initRecursive(NULL)
#5 /dados/sites/www/apl/prado/framework/Web/UI/TTemplateControl.php(240): TCompositeControl->initRecursive(NULL)
#6 /dados/sites/www/apl/prado/framework/Web/UI/TPage.php(207): TTemplateControl->initRecursive()
#7 /dados/sites/www/apl/prado/framework/Web/UI/TPage.php(198): TPage->processNormalRequest(Object(THtmlWriter))
#8 /dados/sites/www/apl/prado/framework/Web/Services/TPageService.php(498): TPage->run(Object(THtmlWriter))
#9 /dados/sites/www/apl/prado/framework/Web/Services/TPageService.php(444): TPageService->runPage(Object(Inicial), Array)
#10 /dados/sites/www/apl/prado/framework/TApplication.php(1095): TPageService->run()
#11 /dados/sites/www/apl/prado/framework/TApplication.php(382): TApplication->runService()
#12 /dados/sites/www/apl/phi/index.php(21): TApplication->run()
#13 {main}
2022-06-30 15:45 Apache/2.4.29 (Ubuntu) PRADO/3.1.9