sure, just to point my case:
1st - I’m using the extension RBAC -> http://www.yiiframew…opic,905.0.html
2nd - I've tried to create an AJAX autocomplete with CAutoComplete in a view. All the code was fine, but the result was never returned to the ajax caller.
3rd - I realized that I didn't have permission to execute the action in the controller. So, I used the bypass feature of RBAC, which is meant to avoid permission checks over one or more actions.
class ArtistController extends CController
* @return array action filters
public function filters()
/here I tell Yii to use the permission system I told you above and tell it that no permission is required to perform the autoCompleteLookup action./
public function actionAutoCompleteLookup()
if(Yii::app()->request->isAjaxRequest && isset($_GET['q']))
…here I recover all rows and send to the caller
note that the -autoCompleteLookup option in my filters() action tells the RBAC extension not to check permissions over the specified action, so the action can be called by any user, even the guest
You could try to remove the filters() and accessRules() from you controller just to check if there's something wrong with permissions. If so, try to bypass the actions that don't need permission checks.
please, try this hint and let us know what happens, ok?