I’ve updated the firebird adapter originally created by idle sign.
I’d say it is now beta quality. And it works with gii, at least as far as model generation and CRUD form generation are concerned.
One of the problems with supporting Firebird was a limitation in the PDO_Firebird driver itself. There was no support for retrieving rows affected by a DML operation. I submitted a patch for this and it is now supported in PHP 5.3.4.
‘firebird’ => ‘CFirebirdSchema’, to the driverMap. This is a new technique in > yii-1.1.6.
But i have another, interesting problem. I get this error message:
Fatal error: Access level to CFirebirdSchema::createTable() must be public (as in class CDbSchema) in /var/www/yii-1.1.8/framework/db/schema/firebird/CFirebirdSchema.php on line 16
When setting the function to public, i get this error message:
Declaration of CFirebirdSchema::createTable() should be compatible with that of CDbSchema::createTable()
Now - WHO of them is right? How to fix this curious bug?
UPDATE:
I downgraded to yii-1.1.5 and EVERYTHING is working FINE now. Thanks for this
great Firebird Schema!! Maybe i try to port it to yii-1.1.8 the next days. Keep the good work up, guys!
Thanks for this informative discussion about Yii and Firebird,
However when i try to generate a model, i get this error 'Column names that does not follow PHP variable naming convention:.I use .FDB extension for firebird.anybody who can help me fix this