Notice: Undefined index: connectionString in /var/www/html/dev/ferrerocit/protected/config/main.php on line 55
CDbException
Warning: Use of undefined constant PATH_LOGS - assumed 'PATH_LOGS' (this will throw an Error in a future version of PHP) in /var/www/html/dev/yii/framework/views/exception.php on line 162

Warning: Use of undefined constant PATH_LOGS - assumed 'PATH_LOGS' (this will throw an Error in a future version of PHP) in /var/www/html/dev/ferrerocit/protected/global.php on line 731

Warning: Use of undefined constant PATH_LOGS - assumed 'PATH_LOGS' (this will throw an Error in a future version of PHP) in /var/www/html/dev/ferrerocit/protected/global.php on line 731

Warning: Use of undefined constant PATH_LOGS - assumed 'PATH_LOGS' (this will throw an Error in a future version of PHP) in /var/www/html/dev/ferrerocit/protected/global.php on line 731

Warning: Use of undefined constant PATH_LOGS - assumed 'PATH_LOGS' (this will throw an Error in a future version of PHP) in /var/www/html/dev/ferrerocit/protected/global.php on line 731

Warning: Use of undefined constant PATH_LOGS - assumed 'PATH_LOGS' (this will throw an Error in a future version of PHP) in /var/www/html/dev/ferrerocit/protected/global.php on line 731

Warning: Use of undefined constant PATH_LOGS - assumed 'PATH_LOGS' (this will throw an Error in a future version of PHP) in /var/www/html/dev/ferrerocit/protected/global.php on line 731

Warning: Use of undefined constant PATH_LOGS - assumed 'PATH_LOGS' (this will throw an Error in a future version of PHP) in /var/www/html/dev/ferrerocit/protected/global.php on line 731

CDbException

CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)

/var/www/html/dev/ferrerocit/protected/costanti.php(17)

05  *  20151030 - TICKET:0000635 - antonio.mattis@sophiainformatica.it
06  *  aggiunta caricamento label dalla tabella delle costanti in costante_label
07  * 
08  *  20141024 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
09  *  errore nel caricamento costanti corretto
10  * 
11  *  20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
12  *  aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
13  *  l'utente loggato 
14  */
15 
16 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
17 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
18 foreach ($res_costanti as $costante) {
19   define("".$costante['nome'], $costante['value']);
20   
21   //20151030 - TICKET:0000635
22   define("".$costante['nome'].'_label', $costante['label']);
23 }
24 define("VERSION","2.2_55");
25 
26 //20141007 - TICKET:0000155
27 if(defined('FRM_VERSION')){
28     if(FRM_VERSION!=VERSION){
29         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '

Stack Trace

#4
+
 /var/www/html/dev/ferrerocit/protected/costanti.php(17): CModule->__get("db")
12  *  aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
13  *  l'utente loggato 
14  */
15 
16 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
17 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
18 foreach ($res_costanti as $costante) {
19   define("".$costante['nome'], $costante['value']);
20   
21   //20151030 - TICKET:0000635
22   define("".$costante['nome'].'_label', $costante['label']);
#5
+
 /var/www/html/dev/ferrerocit/protected/modules/cruge/controllers/UiController.php(53): require_once("/var/www/html/dev/ferrerocit/protected/costanti.php")
48     public $basePath; // usada por CrugeUi::getResource()
49 
50     public function init()
51     {
52         //20140915 - TICKET:0000126 aggiunto il caricamento delle costanti
53         require_once(Yii::app()->getbasePath().'/costanti.php');//20140915 - TICKET:0000126
54         $this->registerScripts();
55         $this->layout = CrugeUtil::config()->generalUserManagementLayout;
56     }
57 
58     public function registerScripts()
#9
+
 /var/www/html/dev/ferrerocit/index.php(46): CApplication->run()
41         throw new Exception('Multibyte function overloading in PHP must be disabled for string functions (2).');
42     }
43     //PHPExcel_Shared_String::buildCharacterSets();
44  
45     
46     $app->run();
2025-06-09 14:25:13 Apache/2.4.58 (Ubuntu) Yii Framework/1.1.23-dev