06/03/2026 14:32:48 - TYPE ERROR:ParseError
06/03/2026 14:32:48 - MESSAGE:syntax error, unexpected '$wscall' (T_VARIABLE)
06/03/2026 14:32:48 - Error File LINE:
06/03/2026 14:32:48 - /var/www/html/dev/sophia_framework2/protected/controllers/frm/SiteController.php(3067)
06/03/2026 14:32:48 - Error SOURCE CODE:
06/03/2026 14:32:48 -
3055 * @param string $email
3056 *
3057 * @return array $returnarray
3058 * @soap
3059 *
3060 * 20200417 - TICKET:0003562 - francesco.diatto@sophiainformatica.it
3061 * Creazione
3062 */
3063 public function actionWsRemoteLogin($codiceremoteservice, $username, $password)
3064 {
3065 dd("aa")
3066 //inizializzazioni
3067 $wscall = new FrmSysRemotelinksCalls;
3068 $utente = new FrmAnaUtenti;
3069 $returnarray = array();
3070 $returnarray['response'] = false;
3071 $returnarray['message'] = '';
3072 $WSparams = array();
3073 $WSparams['codiceremoteservice'] = $codiceremoteservice;
3074 $WSparams['username'] = $username;
3075 $WSparams['password'] = $password;
3076 //$transaction = Yii::app()->db->beginTransaction();
3077
3078 //VERIFICA PARAMETRI -------------------------------------------------------
3079 $parametermessage = '';
06/03/2026 14:32:48 - Stack Trace:Array
(
[0] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 204
[function] => import
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => application.controllers.frm.SiteController
[1] => 1
)
)
[1] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 332
[function] => createComponent
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => Array
(
)
[1] => site
[2] =>
)
)
[2] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 276
[function] => createController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => WsRemoteLogin/
)
)
[3] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 141
[function] => runController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => site/WsRemoteLogin
)
)
[4] => Array
(
[file] => /var/www/html/dev/yii/framework/base/CApplication.php
[line] => 185
[function] => processRequest
[class] => CWebApplication
[type] => ->
[args] => Array
(
)
)
[5] => Array
(
[file] => /var/www/html/dev/sophia_framework2/index.php
[line] => 49
[function] => run
[class] => CApplication
[type] => ->
[args] => Array
(
)
)
)
06/03/2026 14:49:44 - TYPE ERROR:CDbException
06/03/2026 14:49:44 - MESSAGE:CDbConnection failed to open the DB connection: SQLSTATE[HY000] [1045] Access denied for user 'SOPHIADeveloper'@'localhost' (using password: YES)
06/03/2026 14:49:44 - Error File LINE:
06/03/2026 14:49:44 - /var/www/html/dev/sophia_framework2/protected/costanti.php(35)
06/03/2026 14:49:44 - Error SOURCE CODE:
06/03/2026 14:49:44 - 23 * errore nel caricamento costanti corretto
24 *
25 * 20141007 - TICKET:0000155 - giacomo.gallo@sohpiainformatica.it
26 * aggiunta porzione di codice che definisce FRM_IDSOCIETA e FRM_IDSTABILIMENTO per
27 * l'utente loggato
28 */
29
30 //20180412 - TICKET:0002605
31 //recupero caratteri da sostituire
32 $charactersToReplace = getArrayCharactersToReplace();
33
34 $query_costanti = 'select nome,label,value from frm_sys_costanti UNION select nome,label,value from frm_sys_costanti_applicazione';
35 $res_costanti = Yii::app()->db->createCommand($query_costanti)->queryAll();
36 $query_tabelle = 'show tables';
37 $tabelleDb = Yii::app()->db->createCommand($query_tabelle)->queryColumn();
38 $tabelleNew = '';
39 foreach ($res_costanti as $costante) {
40 define("".$costante['nome'], $costante['value']);
41
42 //20151030 - TICKET:0000635
43 define("".$costante['nome'].'_label', $costante['label']);
44 }
45
46 define("VERSION","2.2_55");
47 define("WEBAPP_VERSION","1.0");
06/03/2026 14:49: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/sophia_framework2/protected/costanti.php
[line] => 35
[function] => __get
[class] => CModule
[type] => ->
[args] => Array
(
[0] => db
)
)
[5] => Array
(
[file] => /var/www/html/dev/sophia_frm_ext_lib/modules/cruge/controllers/UiController.php
[line] => 53
[args] => Array
(
[0] => /var/www/html/dev/sophia_framework2/protected/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/sophia_framework2/index.php
[line] => 49
[function] => run
[class] => CApplication
[type] => ->
[args] => Array
(
)
)
)
06/03/2026 16:45:31 - TYPE ERROR:ParseError
06/03/2026 16:45:31 - MESSAGE:syntax error, unexpected 'if' (T_IF)
06/03/2026 16:45:31 - Error File LINE:
06/03/2026 16:45:31 - /var/www/html/dev/sophia_framework2/protected/components/Controller.php(1444)
06/03/2026 16:45:31 - Error SOURCE CODE:
06/03/2026 16:45:31 - 1432 }
1433
1434 return $msg;
1435 }
1436
1437 protected function beforeAction($action)
1438 {
1439 // Accept GET/POST/body param `isAPI` with tolerant boolean parsing.
1440 $raw = Yii::app()->request->getParam('isAPI', null);
1441
1442 dd($raw)
1443
1444 if ($raw !== null) {
1445 if (is_bool($raw)) {
1446 $this->isAPI = $raw;
1447 } else {
1448 $value = strtolower(trim((string)$raw));
1449 $this->isAPI = in_array($value, array('1', 'true', 'yes', 'on'), true);
1450 }
1451 }
1452
1453 return parent::beforeAction($action);
1454 }
1455
1456 public function render($view, $data = null, $return = false)
06/03/2026 16:45:31 - Stack Trace:Array
(
[0] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => Controller
)
[file] => unknown
[line] => 0
)
[1] => Array
(
[file] => /var/www/html/dev/sophia_framework2/protected/controllers/frm/FrmAnaArticoliController.php
[line] => 12
[function] => spl_autoload_call
[args] => Array
(
[0] => Controller
)
)
[2] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/sophia_framework2/protected/controllers/frm/FrmAnaArticoliController.php
)
[function] => include
)
[3] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => FrmAnaArticoliController
)
[file] => unknown
[line] => 0
)
[4] => Array
(
[file] => /var/www/html/dev/sophia_framework2/protected/controllers/app/AppAnaArticoliController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => FrmAnaArticoliController
)
)
[5] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/sophia_framework2/protected/controllers/app/AppAnaArticoliController.php
)
[function] => include
)
[6] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => AppAnaArticoliController
)
[file] => unknown
[line] => 0
)
[7] => Array
(
[file] => /var/www/html/dev/sophia_framework2/protected/controllers/cli/CliAnaArticoliController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => AppAnaArticoliController
)
)
[8] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/sophia_framework2/protected/controllers/cli/CliAnaArticoliController.php
)
[function] => include
)
[9] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => CliAnaArticoliController
)
[file] => unknown
[line] => 0
)
[10] => Array
(
[file] => /var/www/html/dev/sophia_framework2/protected/controllers/frm/FrmArticoliController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => CliAnaArticoliController
)
)
[11] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/sophia_framework2/protected/controllers/frm/FrmArticoliController.php
)
[function] => include
)
[12] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => FrmArticoliController
)
[file] => unknown
[line] => 0
)
[13] => Array
(
[file] => /var/www/html/dev/sophia_framework2/protected/controllers/app/AppArticoliController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => FrmArticoliController
)
)
[14] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/sophia_framework2/protected/controllers/app/AppArticoliController.php
)
[function] => include
)
[15] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => AppArticoliController
)
[file] => unknown
[line] => 0
)
[16] => Array
(
[file] => /var/www/html/dev/sophia_framework2/protected/controllers/cli/CliArticoliController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => AppArticoliController
)
)
[17] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 328
[args] => Array
(
[0] => /var/www/html/dev/sophia_framework2/protected/controllers/cli/CliArticoliController.php
)
[function] => require
)
[18] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 204
[function] => import
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => application.controllers.cli.CliArticoliController
[1] => 1
)
)
[19] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 332
[function] => createComponent
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => Array
(
)
[1] => FrmArticoli
[2] =>
)
)
[20] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 276
[function] => createController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => admin/
)
)
[21] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 141
[function] => runController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => /FrmArticoli/admin
)
)
[22] => Array
(
[file] => /var/www/html/dev/yii/framework/base/CApplication.php
[line] => 185
[function] => processRequest
[class] => CWebApplication
[type] => ->
[args] => Array
(
)
)
[23] => Array
(
[file] => /var/www/html/dev/sophia_framework2/index.php
[line] => 49
[function] => run
[class] => CApplication
[type] => ->
[args] => Array
(
)
)
)