I tried to test Yii with Postgresql and nothing work.
I set my DB connection in the main.php config file as this :
'db'=>array(
'class'=>'CDbConnection',
'connectionString'=>'pgsql:host=myhost;port=5432;dbname=mydb',
'charset' => 'utf8',
'username'=>'root',
'password'=>'test',
),
When I try to generate the model with : model Languages languages I receive the following error :
Internal Server error
Illegal offset type in isset or empty
I tried this on 2 different servers and get the same error.
Note : I tested PDO within another PHP file and everything work so DBO works.
Any clue ?