I have a problem using CAutoComplete or CJuiAutoComplete. When I do as so:
<?php $this->widget(‘CAutoComplete’, array(
'model' => $model,
'attribute' => 'username',
'data' => $usernames,
'multiple' => false,
'htmlOptions' => array('size' => 25),
My page blanks out. When I use another widget, and lets say forget to provide all neccesary parameters the least i should get is an error page with a stacktrace, but there is no output at all.
I am calling this from inside a CActiveForm widget with Yii 1.1.12.
Any suggestions are greatly appreciated.
(Maurizio Domba Cerin)
If the above is a direct copy/paste… then the problem is in the closing parenthesis - you are missing one!
Most probably you have disabled the option to show PHP errors, for the development it would be most helpful for you to enable it.
many thanks Maurizio… of course its my bad