21/07/2025 09:33:12 - TYPE ERROR:CDbException 21/07/2025 09:33:12 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 21/07/2025 09:33:12 - Error File LINE: 21/07/2025 09:33:12 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 21/07/2025 09:33:12 - Error SOURCE CODE: 21/07/2025 09:33:12 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
21/07/2025 09:33:12 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 21/07/2025 17:17:05 - TYPE ERROR:CDbException 21/07/2025 17:17:05 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 21/07/2025 17:17:05 - Error File LINE: 21/07/2025 17:17:05 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 21/07/2025 17:17:05 - Error SOURCE CODE: 21/07/2025 17:17:05 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
21/07/2025 17:17:05 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 24/07/2025 02:22:32 - TYPE ERROR:CDbException 24/07/2025 02:22:32 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 24/07/2025 02:22:32 - Error File LINE: 24/07/2025 02:22:32 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 24/07/2025 02:22:32 - Error SOURCE CODE: 24/07/2025 02:22:32 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
24/07/2025 02:22:32 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 24/07/2025 02:37:21 - TYPE ERROR:CDbException 24/07/2025 02:37:21 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 24/07/2025 02:37:21 - Error File LINE: 24/07/2025 02:37:21 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 24/07/2025 02:37:21 - Error SOURCE CODE: 24/07/2025 02:37:21 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
24/07/2025 02:37:21 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 24/07/2025 05:55:48 - TYPE ERROR:CDbException 24/07/2025 05:55:48 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 24/07/2025 05:55:48 - Error File LINE: 24/07/2025 05:55:48 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 24/07/2025 05:55:48 - Error SOURCE CODE: 24/07/2025 05:55:48 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
24/07/2025 05:55:48 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 03:11:25 - TYPE ERROR:CDbException 28/07/2025 03:11:25 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 28/07/2025 03:11:25 - Error File LINE: 28/07/2025 03:11:25 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 03:11:25 - Error SOURCE CODE: 28/07/2025 03:11:25 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 03:11:25 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 15:12:11 - TYPE ERROR:CDbException 28/07/2025 15:12:11 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 28/07/2025 15:12:11 - Error File LINE: 28/07/2025 15:12:11 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 15:12:11 - Error SOURCE CODE: 28/07/2025 15:12:11 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 15:12:11 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 15:12:18 - TYPE ERROR:CDbException 28/07/2025 15:12:18 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 28/07/2025 15:12:18 - Error File LINE: 28/07/2025 15:12:18 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 15:12:18 - Error SOURCE CODE: 28/07/2025 15:12:18 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 15:12:18 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 15:14:30 - TYPE ERROR:CDbException 28/07/2025 15:14:30 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 28/07/2025 15:14:30 - Error File LINE: 28/07/2025 15:14:30 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 15:14:30 - Error SOURCE CODE: 28/07/2025 15:14:30 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 15:14:30 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 15:16:26 - TYPE ERROR:CDbException 28/07/2025 15:16:26 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 28/07/2025 15:16:26 - Error File LINE: 28/07/2025 15:16:26 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 15:16:26 - Error SOURCE CODE: 28/07/2025 15:16:26 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 15:16:26 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 15:16:28 - TYPE ERROR:CDbException 28/07/2025 15:16:28 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 28/07/2025 15:16:28 - Error File LINE: 28/07/2025 15:16:28 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 15:16:28 - Error SOURCE CODE: 28/07/2025 15:16:28 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 15:16:28 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 15:16:30 - TYPE ERROR:CDbException 28/07/2025 15:16:30 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES) 28/07/2025 15:16:30 - Error File LINE: 28/07/2025 15:16:30 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 15:16:30 - Error SOURCE CODE: 28/07/2025 15:16:30 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 15:16:30 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 16:59:05 - TYPE ERROR:CDbException 28/07/2025 16:59:05 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory 28/07/2025 16:59:05 - Error File LINE: 28/07/2025 16:59:05 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 16:59:05 - Error SOURCE CODE: 28/07/2025 16:59:05 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 16:59:05 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/components/Controller.php [line] => 34 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => Controller [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => FrmAnaUtenti/update ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 16:59:05 - TYPE ERROR:CDbException 28/07/2025 16:59:05 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory 28/07/2025 16:59:05 - Error File LINE: 28/07/2025 16:59:05 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 16:59:05 - Error SOURCE CODE: 28/07/2025 16:59:05 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 16:59:05 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/modules/cruge/controllers/UiController.php [line] => 52 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => UiController [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [9] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 16:59:05 - TYPE ERROR:CDbException 28/07/2025 16:59:05 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory 28/07/2025 16:59:05 - Error File LINE: 28/07/2025 16:59:05 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 16:59:05 - Error SOURCE CODE: 28/07/2025 16:59:05 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 16:59:05 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/components/Controller.php [line] => 34 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/controllers/frm/SiteController.php [line] => 93 [function] => init [class] => Controller [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => SiteController [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => site/index ) ) [9] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [10] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 16:59:05 - TYPE ERROR:CDbException 28/07/2025 16:59:05 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory 28/07/2025 16:59:05 - Error File LINE: 28/07/2025 16:59:05 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 16:59:05 - Error SOURCE CODE: 28/07/2025 16:59:05 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 16:59:05 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/components/Controller.php [line] => 34 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/controllers/frm/SiteController.php [line] => 93 [function] => init [class] => Controller [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => SiteController [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => site/index ) ) [9] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [10] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) ) 28/07/2025 16:59:05 - TYPE ERROR:CDbException 28/07/2025 16:59:05 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [2002] No such file or directory 28/07/2025 16:59:05 - Error File LINE: 28/07/2025 16:59:05 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61) 28/07/2025 16:59:05 - Error SOURCE CODE: 28/07/2025 16:59:05 -
49  * errore nel caricamento costanti corretto
50  *
51  * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
52  * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per 
53  * l'utente loggato 
54  */
55 
56 //20180412 - TICKET:0002605
57 //recupero caratteri da sostituire
58 $charactersToReplace = getArrayCharactersToReplace();
59 
60 $query_costanti = 'select * from frm_sys_costanti UNION select * from frm_sys_costanti_applicazione';
61 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
62 foreach ($res_costanti as $costante) {
63   define("".$costante['nome'], $costante['value']);
64   
65   //20151030 - TICKET:0000635
66   define("".$costante['nome'].'_label', $costante['label']);
67 }
68 define("VERSION","2.2_55");
69 
70 //20141007 - TICKET:0000155
71 if(defined('FRM_VERSION')){
72     if(FRM_VERSION!=VERSION){
73         $q_update = 'UPDATE frm_sys_costanti SET value='.VERSION.' '
28/07/2025 16:59:05 - Stack Trace:Array ( [0] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 347 [function] => open [class] => CDbConnection [type] => -> [args] => Array ( ) ) [1] => Array ( [file] => /var/www/html/dev/yii/framework/db/CDbConnection.php [line] => 325 [function] => setActive [class] => CDbConnection [type] => -> [args] => Array ( [0] => 1 ) ) [2] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 394 [function] => init [class] => CDbConnection [type] => -> [args] => Array ( ) ) [3] => Array ( [file] => /var/www/html/dev/yii/framework/base/CModule.php [line] => 103 [function] => getComponent [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [4] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php [line] => 61 [function] => __get [class] => CModule [type] => -> [args] => Array ( [0] => db ) ) [5] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/components/Controller.php [line] => 34 [args] => Array ( [0] => /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php ) [function] => require_once ) [6] => Array ( [file] => /var/www/html/dev/registroattrezzature/protected/controllers/frm/SiteController.php [line] => 93 [function] => init [class] => Controller [type] => -> [args] => Array ( ) ) [7] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 281 [function] => init [class] => SiteController [type] => -> [args] => Array ( ) ) [8] => Array ( [file] => /var/www/html/dev/yii/framework/web/CWebApplication.php [line] => 141 [function] => runController [class] => CWebApplication [type] => -> [args] => Array ( [0] => site/index ) ) [9] => Array ( [file] => /var/www/html/dev/yii/framework/base/CApplication.php [line] => 185 [function] => processRequest [class] => CWebApplication [type] => -> [args] => Array ( ) ) [10] => Array ( [file] => /var/www/html/dev/registroattrezzature/index.php [line] => 46 [function] => run [class] => CApplication [type] => -> [args] => Array ( ) ) )