Internal Server Error Ather Publish App In Website


I have a problem since have published my app in a host. and I have never seen this problem in my local.


I extend my model classes from general model classes in another folder and these are my related codes


In my config to load all models:



I my general model classes

class Category extends CActiveRecord


	public function tableName()


		return '{{category}}';



I my using models

class JTCategory extends Category{ ...

and I use these codes to run my models.

$model = new JTContentbank('getdatagrid');


$categories = new JTCategory();

But some times I get this error which disappears after 2 or 3 browser refresh

[color="#FF0000"][size="5"]Internal Server Error[/size][/color]

[color="#8B0000"]The table "{{category}}" for active record class "JTCategory" cannot be found in the database.[/color]