Usage Of Cautocomplete & Cjuiautocomplete Produces Blank Page

Hi all,

I have a problem using CAutoComplete or CJuiAutoComplete. When I do as so:

<?php $this->widget(‘CAutoComplete’, array(

    'model' =&gt; &#036;model,                                         


    'attribute' =&gt; 'username',


    'data' =&gt; &#036;usernames,


    'multiple' =&gt; false,                                       


    'htmlOptions' =&gt; array('size' =&gt; 25),                      


  ); ?&gt;

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. :slight_smile:

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.

Ohhh nooo,

many thanks Maurizio… of course its my bad :rolleyes: