05/06/2025 15:56:19 - TYPE ERROR:CDbException
05/06/2025 15:56:19 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 15:56:19 - Error File LINE:
05/06/2025 15:56:19 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 15:56:19 - Error SOURCE CODE:
05/06/2025 15:56:19 -
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.' '
05/06/2025 15:56:19 - 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
(
)
)
)
05/06/2025 17:14:24 - TYPE ERROR:CDbException
05/06/2025 17:14:24 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 17:14:24 - Error File LINE:
05/06/2025 17:14:24 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 17:14:24 - Error SOURCE CODE:
05/06/2025 17:14:24 - 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.' '
05/06/2025 17:14:24 - 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
(
)
)
)
05/06/2025 17:14:24 - TYPE ERROR:CDbException
05/06/2025 17:14:24 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 17:14:24 - Error File LINE:
05/06/2025 17:14:24 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 17:14:24 - Error SOURCE CODE:
05/06/2025 17:14:24 - 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.' '
05/06/2025 17:14:24 - 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
(
)
)
)
05/06/2025 17:14:24 - TYPE ERROR:CDbException
05/06/2025 17:14:24 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 17:14:24 - Error File LINE:
05/06/2025 17:14:24 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 17:14:24 - Error SOURCE CODE:
05/06/2025 17:14:24 - 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.' '
05/06/2025 17:14:24 - 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
(
)
)
)
05/06/2025 17:14:24 - TYPE ERROR:CDbException
05/06/2025 17:14:24 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 17:14:24 - Error File LINE:
05/06/2025 17:14:24 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 17:14:24 - Error SOURCE CODE:
05/06/2025 17:14:24 - 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.' '
05/06/2025 17:14:24 - 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
(
)
)
)
05/06/2025 18:01:43 - TYPE ERROR:CDbException
05/06/2025 18:01:43 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 18:01:43 - Error File LINE:
05/06/2025 18:01:43 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 18:01:43 - Error SOURCE CODE:
05/06/2025 18:01:43 - 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.' '
05/06/2025 18:01:43 - 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
(
)
)
)
05/06/2025 19:52:57 - TYPE ERROR:CDbException
05/06/2025 19:52:57 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 19:52:57 - Error File LINE:
05/06/2025 19:52:57 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 19:52:57 - Error SOURCE CODE:
05/06/2025 19:52:57 - 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.' '
05/06/2025 19:52:57 - 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
(
)
)
)
05/06/2025 22:06:55 - TYPE ERROR:CDbException
05/06/2025 22:06:55 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 22:06:55 - Error File LINE:
05/06/2025 22:06:55 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 22:06:55 - Error SOURCE CODE:
05/06/2025 22:06:55 - 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.' '
05/06/2025 22:06:55 - 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
(
)
)
)
05/06/2025 22:08:54 - TYPE ERROR:CDbException
05/06/2025 22:08:54 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 22:08:54 - Error File LINE:
05/06/2025 22:08:54 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 22:08:54 - Error SOURCE CODE:
05/06/2025 22:08:54 - 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.' '
05/06/2025 22:08:54 - 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
(
)
)
)
05/06/2025 23:41:09 - TYPE ERROR:CDbException
05/06/2025 23:41:09 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 23:41:09 - Error File LINE:
05/06/2025 23:41:09 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 23:41:09 - Error SOURCE CODE:
05/06/2025 23:41:09 - 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.' '
05/06/2025 23:41:09 - 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
(
)
)
)
05/06/2025 23:44:56 - TYPE ERROR:CDbException
05/06/2025 23:44:56 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
05/06/2025 23:44:56 - Error File LINE:
05/06/2025 23:44:56 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
05/06/2025 23:44:56 - Error SOURCE CODE:
05/06/2025 23:44:56 - 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.' '
05/06/2025 23:44:56 - 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
(
)
)
)
06/06/2025 04:25:34 - TYPE ERROR:CDbException
06/06/2025 04:25:34 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
06/06/2025 04:25:34 - Error File LINE:
06/06/2025 04:25:34 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
06/06/2025 04:25:34 - Error SOURCE CODE:
06/06/2025 04:25:34 - 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.' '
06/06/2025 04:25:34 - 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
(
)
)
)
06/06/2025 06:30:22 - TYPE ERROR:CDbException
06/06/2025 06:30:22 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
06/06/2025 06:30:22 - Error File LINE:
06/06/2025 06:30:22 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
06/06/2025 06:30:22 - Error SOURCE CODE:
06/06/2025 06:30:22 - 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.' '
06/06/2025 06:30:22 - 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
(
)
)
)
06/06/2025 07:12:47 - TYPE ERROR:CDbException
06/06/2025 07:12:47 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
06/06/2025 07:12:47 - Error File LINE:
06/06/2025 07:12:47 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
06/06/2025 07:12:47 - Error SOURCE CODE:
06/06/2025 07:12:47 - 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.' '
06/06/2025 07:12:47 - 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
(
)
)
)
06/06/2025 07:39:39 - TYPE ERROR:CDbException
06/06/2025 07:39:39 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
06/06/2025 07:39:39 - Error File LINE:
06/06/2025 07:39:39 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
06/06/2025 07:39:39 - Error SOURCE CODE:
06/06/2025 07:39:39 - 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.' '
06/06/2025 07:39:39 - 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
(
)
)
)
06/06/2025 09:12:25 - TYPE ERROR:CDbException
06/06/2025 09:12:25 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
06/06/2025 09:12:25 - Error File LINE:
06/06/2025 09:12:25 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
06/06/2025 09:12:25 - Error SOURCE CODE:
06/06/2025 09:12: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.' '
06/06/2025 09:12: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
(
)
)
)
06/06/2025 18:55:14 - TYPE ERROR:CDbException
06/06/2025 18:55:14 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
06/06/2025 18:55:14 - Error File LINE:
06/06/2025 18:55:14 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
06/06/2025 18:55:14 - Error SOURCE CODE:
06/06/2025 18:55:14 - 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.' '
06/06/2025 18:55:14 - 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
(
)
)
)
06/06/2025 22:53:05 - TYPE ERROR:CDbException
06/06/2025 22:53:05 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
06/06/2025 22:53:05 - Error File LINE:
06/06/2025 22:53:05 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
06/06/2025 22:53:05 - Error SOURCE CODE:
06/06/2025 22:53: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.' '
06/06/2025 22:53: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
(
)
)
)
07/06/2025 07:54:46 - TYPE ERROR:CDbException
07/06/2025 07:54:46 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
07/06/2025 07:54:46 - Error File LINE:
07/06/2025 07:54:46 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
07/06/2025 07:54:46 - Error SOURCE CODE:
07/06/2025 07:54:46 - 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.' '
07/06/2025 07:54:46 - 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
(
)
)
)
07/06/2025 14:28:30 - TYPE ERROR:CDbException
07/06/2025 14:28:30 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
07/06/2025 14:28:30 - Error File LINE:
07/06/2025 14:28:30 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
07/06/2025 14:28:30 - Error SOURCE CODE:
07/06/2025 14:28: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.' '
07/06/2025 14:28: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
(
)
)
)
07/06/2025 14:32:50 - TYPE ERROR:CDbException
07/06/2025 14:32:50 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
07/06/2025 14:32:50 - Error File LINE:
07/06/2025 14:32:50 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
07/06/2025 14:32:50 - Error SOURCE CODE:
07/06/2025 14:32:50 - 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.' '
07/06/2025 14:32:50 - 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
(
)
)
)
07/06/2025 22:31:44 - TYPE ERROR:CDbException
07/06/2025 22:31:44 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
07/06/2025 22:31:44 - Error File LINE:
07/06/2025 22:31:44 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
07/06/2025 22:31:44 - Error SOURCE CODE:
07/06/2025 22:31:44 - 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.' '
07/06/2025 22:31:44 - 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
(
)
)
)
07/06/2025 23:08:03 - TYPE ERROR:CDbException
07/06/2025 23:08:03 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
07/06/2025 23:08:03 - Error File LINE:
07/06/2025 23:08:03 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
07/06/2025 23:08:03 - Error SOURCE CODE:
07/06/2025 23:08:03 - 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.' '
07/06/2025 23:08:03 - 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
(
)
)
)
07/06/2025 23:08:04 - TYPE ERROR:CDbException
07/06/2025 23:08:04 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
07/06/2025 23:08:04 - Error File LINE:
07/06/2025 23:08:04 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
07/06/2025 23:08:04 - Error SOURCE CODE:
07/06/2025 23:08:04 - 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.' '
07/06/2025 23:08:04 - 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
(
)
)
)
08/06/2025 05:40:38 - TYPE ERROR:CDbException
08/06/2025 05:40:38 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
08/06/2025 05:40:38 - Error File LINE:
08/06/2025 05:40:38 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
08/06/2025 05:40:38 - Error SOURCE CODE:
08/06/2025 05:40:38 - 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.' '
08/06/2025 05:40:38 - 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
(
)
)
)
08/06/2025 11:35:14 - TYPE ERROR:CDbException
08/06/2025 11:35:14 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
08/06/2025 11:35:14 - Error File LINE:
08/06/2025 11:35:14 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
08/06/2025 11:35:14 - Error SOURCE CODE:
08/06/2025 11:35:14 - 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.' '
08/06/2025 11:35:14 - 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
(
)
)
)
08/06/2025 15:27:05 - TYPE ERROR:CDbException
08/06/2025 15:27:05 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
08/06/2025 15:27:05 - Error File LINE:
08/06/2025 15:27:05 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
08/06/2025 15:27:05 - Error SOURCE CODE:
08/06/2025 15:27: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.' '
08/06/2025 15:27: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
(
)
)
)
08/06/2025 17:32:53 - TYPE ERROR:CDbException
08/06/2025 17:32:53 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
08/06/2025 17:32:53 - Error File LINE:
08/06/2025 17:32:53 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
08/06/2025 17:32:53 - Error SOURCE CODE:
08/06/2025 17:32:53 - 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.' '
08/06/2025 17:32:53 - 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
(
)
)
)
09/06/2025 01:40:47 - TYPE ERROR:CDbException
09/06/2025 01:40:47 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
09/06/2025 01:40:47 - Error File LINE:
09/06/2025 01:40:47 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
09/06/2025 01:40:47 - Error SOURCE CODE:
09/06/2025 01:40:47 - 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.' '
09/06/2025 01:40:47 - 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
(
)
)
)
09/06/2025 01:40:49 - TYPE ERROR:CDbException
09/06/2025 01:40:49 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
09/06/2025 01:40:49 - Error File LINE:
09/06/2025 01:40:49 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
09/06/2025 01:40:49 - Error SOURCE CODE:
09/06/2025 01:40:49 - 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.' '
09/06/2025 01:40:49 - 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
(
)
)
)
09/06/2025 01:40:54 - TYPE ERROR:CDbException
09/06/2025 01:40:54 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
09/06/2025 01:40:54 - Error File LINE:
09/06/2025 01:40:54 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
09/06/2025 01:40:54 - Error SOURCE CODE:
09/06/2025 01:40:54 - 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.' '
09/06/2025 01:40:54 - 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
(
)
)
)
09/06/2025 01:41:03 - TYPE ERROR:CDbException
09/06/2025 01:41:03 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
09/06/2025 01:41:03 - Error File LINE:
09/06/2025 01:41:03 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
09/06/2025 01:41:03 - Error SOURCE CODE:
09/06/2025 01:41:03 - 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.' '
09/06/2025 01:41:03 - 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
(
)
)
)
09/06/2025 01:41:20 - TYPE ERROR:CDbException
09/06/2025 01:41:20 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
09/06/2025 01:41:20 - Error File LINE:
09/06/2025 01:41:20 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
09/06/2025 01:41:20 - Error SOURCE CODE:
09/06/2025 01:41:20 - 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.' '
09/06/2025 01:41:20 - 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
(
)
)
)
09/06/2025 13:23:49 - TYPE ERROR:CDbException
09/06/2025 13:23:49 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'root'@'localhost' (using password: YES)
09/06/2025 13:23:49 - Error File LINE:
09/06/2025 13:23:49 - /var/www/html/dev/registroattrezzature/protected/extensions/costanti.php(61)
09/06/2025 13:23:49 - Error SOURCE CODE:
09/06/2025 13:23:49 - 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.' '
09/06/2025 13:23:49 - 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
(
)
)
)