weird AR problem

this is a really weird problem, and i can’t solve it by myself.

i have an admın page-gridview (generated via gii CRUD), and i’ve modified this according to my needs.

Everything seems ok running on localhost, but when i upload to my server, the page generated is blank and firefox tries to download it.




		array(

            'name' => 'application_id',

            'filter' => CHtml::listData(Applications::model()->findAll('dealer_id=:dealer_id', array(':dealer_id'=>Yii::app()->user->id)), 'id', 'company_name'), // fields from country table

           'value' => 'Applications::Model()->FindByPk($data->application_id)->company_name',

        ),

this works ok on both server and localhost

but this code, only added an order command runs ok on localhost but on server produces an empty page and tries to download the php page.




	array(

            'name' => 'application_id',

            'filter' => CHtml::listData(Applications::model()->findAll(array('order'=>'company_name'),'dealer_id=:dealer_id', array(':dealer_id'=>Yii::app()->user->id)), 'id', 'company_name'), // fields from country table

           'value' => 'Applications::Model()->FindByPk($data->application_id)->company_name',

        ),	

i’ve encountered this problem with different combinations.

please help.

thanks in advance

alp