25/11/2025 12:00:57 - TYPE ERROR:ParseError
25/11/2025 12:00:57 - MESSAGE:syntax error, unexpected '$attribute_name' (T_VARIABLE)
25/11/2025 12:00:57 - Error File LINE:
25/11/2025 12:00:57 - /var/www/html/dev/gestionale/protected/controllers/frm/FrmClientiController.php(127)
25/11/2025 12:00:57 - Error SOURCE CODE:
25/11/2025 12:00:57 -
115 ),
116 'events' => array('change' => "js:function(e) {toggleprovincianaz($(this));}"),
117 ),
118 true
119 ),
120 'col_width'=>3,
121 //'order'=>6,
122 'new_row'=>true,
123 );
124 }
125 sscc
126 //Indirizzo ----------------------------------------------------------------
127 $attribute_name = 'indirizzo';
128 if(in_array('renderform', $rendertype)){
129 $model->RenderSettings->$attribute_name->renderform = array('label'=>CHtml::activeLabelEx($model,$attribute_name,array('class'=>'col-md-1 control-label')),
130 'html'=>CHtml::activeTextField($model,$attribute_name,array('size'=>200,'maxlength'=>200,'class'=>'form-control','style'=>'',)),
131 'col_width'=>5,
132 //'order'=>10,
133 'new_row'=>true,
134 );
135 }
136 //Provincia ------------------------------------------------------------------
137 $attribute_name = 'provincia';
138 if(in_array('renderform', $rendertype)){
139
25/11/2025 12:00:57 - Stack Trace:Array
(
[0] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => FrmClientiController
)
[file] => unknown
[line] => 0
)
[1] => Array
(
[file] => /var/www/html/dev/gestionale/protected/controllers/app/AppClientiController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => FrmClientiController
)
)
[2] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/gestionale/protected/controllers/app/AppClientiController.php
)
[function] => include
)
[3] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => AppClientiController
)
[file] => unknown
[line] => 0
)
[4] => Array
(
[file] => /var/www/html/dev/gestionale/protected/controllers/cli/CliClientiController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => AppClientiController
)
)
[5] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 328
[args] => Array
(
[0] => /var/www/html/dev/gestionale/protected/controllers/cli/CliClientiController.php
)
[function] => require
)
[6] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 204
[function] => import
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => application.controllers.cli.CliClientiController
[1] => 1
)
)
[7] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 332
[function] => createComponent
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => Array
(
)
[1] => FrmClienti
[2] =>
)
)
[8] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 276
[function] => createController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => admin/
)
)
[9] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 141
[function] => runController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => FrmClienti/admin
)
)
[10] => Array
(
[file] => /var/www/html/dev/yii/framework/base/CApplication.php
[line] => 185
[function] => processRequest
[class] => CWebApplication
[type] => ->
[args] => Array
(
)
)
[11] => Array
(
[file] => /var/www/html/dev/gestionale/index.php
[line] => 46
[function] => run
[class] => CApplication
[type] => ->
[args] => Array
(
)
)
)
01/12/2025 14:02:15 - TYPE ERROR:ParseError
01/12/2025 14:02:15 - MESSAGE:syntax error, unexpected 'public' (T_PUBLIC)
01/12/2025 14:02:15 - Error File LINE:
01/12/2025 14:02:15 - /var/www/html/dev/gestionale/protected/controllers/frm/FrmAnaSocietaUtenteController.php(1972)
01/12/2025 14:02:15 - Error SOURCE CODE:
01/12/2025 14:02:15 - 1960 }
1961 }
1962
1963 /**
1964 * Action per caricamento via ajax delle combo in cascata
1965 * Recuperiamo le societa utente collegate a quella passata come parametro sulla frm_ana_societa_utente_rel
1966 *
1967 * Modifiche
1968 * 20200618 - TICKET: - fabio.cantamessa@sophiainformatica.it
1969 * Creazione
1970 *
1971 */
1972 public function actionCaricaComboSocietaUtenteRel(){
1973
1974 //recupero parametri da GET e POST
1975 $idsocietautente = Yii::app()->request->getParam('id');
1976
1977 //creazione array per combo
1978 $array_soc_ute = $this->className::model()->getArraySocietaUtenteRel($idsocietautente);
1979
1980 //loop sulle soc ute per generare le options della combo
1981 echo "<option value=''></option>";
1982 if(!empty($array_soc_ute)){
1983 foreach($array_soc_ute as $key=>$soc_ute){
1984 echo CHtml::tag('option',
01/12/2025 14:02:15 - Stack Trace:Array
(
[0] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => FrmAnaSocietaUtenteController
)
[file] => unknown
[line] => 0
)
[1] => Array
(
[file] => /var/www/html/dev/gestionale/protected/controllers/app/AppAnaSocietaUtenteController.php
[line] => 9
[function] => spl_autoload_call
[args] => Array
(
[0] => FrmAnaSocietaUtenteController
)
)
[2] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/gestionale/protected/controllers/app/AppAnaSocietaUtenteController.php
)
[function] => include
)
[3] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => AppAnaSocietaUtenteController
)
[file] => unknown
[line] => 0
)
[4] => Array
(
[file] => /var/www/html/dev/gestionale/protected/controllers/cli/CliAnaSocietaUtenteController.php
[line] => 9
[function] => spl_autoload_call
[args] => Array
(
[0] => AppAnaSocietaUtenteController
)
)
[5] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/gestionale/protected/controllers/cli/CliAnaSocietaUtenteController.php
)
[function] => include
)
[6] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => CliAnaSocietaUtenteController
)
[file] => unknown
[line] => 0
)
[7] => Array
(
[file] => /var/www/html/dev/gestionale/protected/controllers/frm/FrmClientiController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => CliAnaSocietaUtenteController
)
)
[8] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/gestionale/protected/controllers/frm/FrmClientiController.php
)
[function] => include
)
[9] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => FrmClientiController
)
[file] => unknown
[line] => 0
)
[10] => Array
(
[file] => /var/www/html/dev/gestionale/protected/controllers/app/AppClientiController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => FrmClientiController
)
)
[11] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 435
[args] => Array
(
[0] => /var/www/html/dev/gestionale/protected/controllers/app/AppClientiController.php
)
[function] => include
)
[12] => Array
(
[function] => autoload
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => AppClientiController
)
[file] => unknown
[line] => 0
)
[13] => Array
(
[file] => /var/www/html/dev/gestionale/protected/controllers/cli/CliClientiController.php
[line] => 8
[function] => spl_autoload_call
[args] => Array
(
[0] => AppClientiController
)
)
[14] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 328
[args] => Array
(
[0] => /var/www/html/dev/gestionale/protected/controllers/cli/CliClientiController.php
)
[function] => require
)
[15] => Array
(
[file] => /var/www/html/dev/yii/framework/YiiBase.php
[line] => 204
[function] => import
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => application.controllers.cli.CliClientiController
[1] => 1
)
)
[16] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 332
[function] => createComponent
[class] => YiiBase
[type] => ::
[args] => Array
(
[0] => Array
(
)
[1] => FrmClienti
[2] =>
)
)
[17] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 276
[function] => createController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => update/
)
)
[18] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 141
[function] => runController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => FrmClienti/update
)
)
[19] => Array
(
[file] => /var/www/html/dev/yii/framework/base/CApplication.php
[line] => 185
[function] => processRequest
[class] => CWebApplication
[type] => ->
[args] => Array
(
)
)
[20] => Array
(
[file] => /var/www/html/dev/gestionale/index.php
[line] => 46
[function] => run
[class] => CApplication
[type] => ->
[args] => Array
(
)
)
)