04/06/2025 08:49:46 - TYPE ERROR:ParseError
04/06/2025 08:49:46 - MESSAGE:syntax error, unexpected '$gridviewbuttons' (T_VARIABLE), expecting function (T_FUNCTION) or const (T_CONST)
04/06/2025 08:49:46 - Error File LINE:
04/06/2025 08:49:46 - /var/www/html/dev/gestioneinterventi/protected/controllers/app/AppInterventiTController.php(368)
04/06/2025 08:49:46 - Error SOURCE CODE:
04/06/2025 08:49:46 -
356 )
357 );
358 },
359 'headerHtmlOptions'=>array('style'=>'width: 20px'),
360 'htmlOptions'=>array('style'=>'width: 30px',
361 'order'=>7,
362 ),
363 );
364 }
365 }
366
367 //Pulsanti -----------------------------------------------------------------
368 $gridviewbuttons = $this->getgridviewbuttons($model);
369 $model->RenderSettings->buttons = new stdClass();
370 $model->RenderSettings->buttons->visible = true;
371 if(in_array('renderadmin', $rendertype)){
372 $model->RenderSettings->buttons->renderadmin = array('header'=>CHtml::tag('span'),
373 'htmlOptions'=>array('class'=>'gridButtons', 'style'=>'width:60px !important; white-space:nowrap;','order'=>8),
374 'class'=>'booster.widgets.TbButtonColumn',
375 'template'=>$gridviewbuttons['template'],
376 'buttons'=>$gridviewbuttons['buttons'],
377 );
378 }
379
380 //Pulsanti MenĂ¹ Griglia ----------------------------------------------------
04/06/2025 08:49:46 - 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.app.AppInterventiTController
[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] => AppInterventiT
[2] =>
)
)
[2] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 276
[function] => createController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => admin/
)
)
[3] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 141
[function] => runController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => AppInterventiT/admin
)
)
[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/gestioneinterventi/index.php
[line] => 46
[function] => run
[class] => CApplication
[type] => ->
[args] => Array
(
)
)
)
09/06/2025 12:23:00 - TYPE ERROR:ParseError
09/06/2025 12:23:00 - MESSAGE:syntax error, unexpected ''html'' (T_CONSTANT_ENCAPSED_STRING), expecting ')'
09/06/2025 12:23:00 - Error File LINE:
09/06/2025 12:23:00 - /var/www/html/dev/gestioneinterventi/protected/controllers/FrmAppuntamentiController.php(86)
09/06/2025 12:23:00 - Error SOURCE CODE:
09/06/2025 12:23:00 - 74 $model->RenderSettings->idappuntamento->renderform = array(
75 'label' => '',
76 'html' => CHtml::activeHiddenField($model, 'idappuntamento'),
77 'col_width' => 0,
78 'order' => 0,
79 );
80
81 // Cliente
82 $model->RenderSettings->idsocietautente = new stdClass();
83 $model->RenderSettings->idsocietautente->visible = true;
84 $model->RenderSettings->idsocietautente->renderform = array(
85 'label' => CHtml::activeLabel($model,'idsocietautente',array('class'=>'col-md-1 col-sm-1 control-label')
86 'html' => $this->widget('booster.widgets.TbSelect2', array(
87 'asDropDownList' => true,
88 'name' => get_class($model) . '[idsocietautente]',
89 'value' => $model->idsocietautente,
90 'data' => FrmAnaSocietaUtente::model()->getComboSocietaUtenteByTipo(),
91 'options' => array('placeholder' => '-', 'allowClear' => true),
92 'htmlOptions' => array('style' => 'width:100%;'),
93 ), true),
94 'col_width' => 6,
95 'order' => 1,
96 );
97
98 // Data e ora
09/06/2025 12:23:00 - Stack Trace:Array
(
[0] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 276
[function] => createController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => create/
)
)
[1] => Array
(
[file] => /var/www/html/dev/yii/framework/web/CWebApplication.php
[line] => 141
[function] => runController
[class] => CWebApplication
[type] => ->
[args] => Array
(
[0] => frmAppuntamenti/create
)
)
[2] => Array
(
[file] => /var/www/html/dev/yii/framework/base/CApplication.php
[line] => 185
[function] => processRequest
[class] => CWebApplication
[type] => ->
[args] => Array
(
)
)
[3] => Array
(
[file] => /var/www/html/dev/gestioneinterventi/index.php
[line] => 46
[function] => run
[class] => CApplication
[type] => ->
[args] => Array
(
)
)
)