|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
Res: Firebird AdapterHi, Open the file Zend/Db/Adapter/Firebird.php Find the line below (near line number 496) public function quoteTableAs($ident, $alias, $auto=false) and replace with: public function quoteTableAs($ident, $alias = null, $auto=false) I think that is the error, but i can't reproduce the error you was reported. Reply me if success or not. This fix was commited to svn. Regards, Luiz Fernando ----- Mensagem original ---- De: Bagus Nugroho <bnugroho@...> Para: Luiz Fernando <kgbfernando@...>; fw-db@... Enviadas: Sábado, 10 de Maio de 2008 21:43:36 Assunto: RE: [fw-db] Firebird Adapter Generally, it was working, but it was raised error like this : """"""""""""""""""""""""""""""""" Strict Standards: Declaration of Zend_Db_Adapter_Firebird::quoteTableAs() should be compatible with that of Zend_Db_Adapter_Abstract::quoteTableAs() in C:\PHP\inc\library\Zend\Db\Adapter\Firebird.php on line 550 """""""""""""""""""""""""""""""" Is any option I'm missing? Thanks an Regards, bn From: Luiz Fernando [mailto:kgbfernando@...] Sent: Sabtu 10-Mei-2008 07:54 To: Bagus Nugroho; fw-db@... Subject: Res: [fw-db] Firebird Adapter Hi, The Firebird Adapter will be included in the 1.6.x release of ZF. You can get these files by the svn. Now, for your convenience I attached a rar file with ther files. Extract to Zend/Db folder. Regards, Luiz Fernando ----- Mensagem original ---- De: Bagus Nugroho <bnugroho@...> Para: Luiz Fernando <kgbfernando@...>; fw-db@... Enviadas: Sexta-feira, 9 de Maio de 2008 21:31:58 Assunto: RE: [fw-db] Firebird Adapter It doesn't work, I think there are no Firebird.php under folder Zend/Db/Adapter, it's mean we have to extends Zend_Db_Adapter_Abstract? Thanks, bn From: Luiz Fernando [mailto:kgbfernando@...] Sent: Jumat 09-Mei-2008 01:11 To: Bagus Nugroho; fw-db@... Subject: Res: [fw-db] Firebird Adapter Hi, Below a exemple to connect: Remender, Firebird is a fork of interbase, you must enable php_interbase extension in your php.ini file. $options = array( Zend_Db::CASE_FOLDING => Zend_Db::CASE_UPPER ); $this->dbconn = new Zend_Db_Adapter_Firebird(array( 'host' => 'localhost', 'username' => 'sysdba', 'password' => 'masterkey', 'dbname' => 'C:\myDatabase.fdb', 'charset' => 'utf-8', 'options' => $options )); $this->dbconn->setFetchMode(Zend_Db::FETCH_ASSOC); If you found any isssues with this adapter, please mail me. Best regards, Luiz Fernando ----- Mensagem original ---- De: Bagus Nugroho <bnugroho@...> Para: fw-db@... Enviadas: Quinta-feira, 8 de Maio de 2008 15:02:23 Assunto: [fw-db] Firebird Adapter Hi, I have project of ERP of automotive that previously desktop based, and proposed to be web based. Unfortunatelly, it was using firebird database, and I'm confuse to understand what the meaning of : =================== This Adapter uses the PHP extension php_interbase. ================= in the manual, can anybody give me a sample how to configure Adapter using php_interbase. Thank In Advance bn Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! |
|
|
Re: Res: Firebird AdapterI think that you can't reproduce it because your error_reporting level isn't correct, you should add E_STRICT to your error_reporting level (is not included in E_ALL). Luiz Fernando schreef:
-- Regards, Pieter Kokx MaakSite.nl Productions PHP Developer |
|
|
RE: Firebird AdapterOk, it work, no error anymore, but ...
When I'm applied this adapter for Zend_Auth refer Darby Felton, Zend Framework and Access Control, it was raised error like this :
""""""""""""""""""""""""""
A table must have a primary key, but none was found """"""""""""""""""""""""""
I have table(USERBASE) that consist ID(primary), USERNAME(unique), PASS.
Is related with this adapter or related with Zend_Auth itself.
Anyway, thank you Luiz
rgds,
bn
From: Luiz Fernando [mailto:kgbfernando@...] Sent: Mon 12-May-2008 02:32 To: Bagus Nugroho; fw-db@... Subject: Res: [fw-db] Firebird Adapter Hi, Open the file Zend/Db/Adapter/Firebird.php Find the line below (near line number 496) public function quoteTableAs($ident, $alias, $auto=false) and replace with: public function quoteTableAs($ident, $alias = null, $auto=false) I think that is the error, but i can't reproduce the error you was reported. Reply me if success or not. This fix was commited to svn. Regards, Luiz Fernando ----- Mensagem original ---- De: Bagus Nugroho <bnugroho@...> Para: Luiz Fernando <kgbfernando@...>; fw-db@... Enviadas: Sábado, 10 de Maio de 2008 21:43:36 Assunto: RE: [fw-db] Firebird Adapter Generally, it was working, but it was raised error like this :
"""""""""""""""""""""""""""""""""
Strict Standards: Declaration of Zend_Db_Adapter_Firebird::quoteTableAs() should be compatible with that of Zend_Db_Adapter_Abstract::quoteTableAs() in C:\PHP\inc\library\Zend\Db\Adapter\Firebird.php on line 550
""""""""""""""""""""""""""""""""
Is any option I'm missing?
Thanks an Regards,
bn
From: Luiz Fernando [mailto:kgbfernando@...] Sent: Sabtu 10-Mei-2008 07:54 To: Bagus Nugroho; fw-db@... Subject: Res: [fw-db] Firebird Adapter Hi, The Firebird Adapter will be included in the 1.6.x release of ZF. You can get these files by the svn. Now, for your convenience I attached a rar file with ther files. Extract to Zend/Db folder. Regards, Luiz Fernando ----- Mensagem original ---- De: Bagus Nugroho <bnugroho@...> Para: Luiz Fernando <kgbfernando@...>; fw-db@... Enviadas: Sexta-feira, 9 de Maio de 2008 21:31:58 Assunto: RE: [fw-db] Firebird Adapter It doesn't work,
I think there are no Firebird.php under folder Zend/Db/Adapter, it's mean we have to extends Zend_Db_Adapter_Abstract?
Thanks,
bn From: Luiz Fernando [mailto:kgbfernando@...] Sent: Jumat 09-Mei-2008 01:11 To: Bagus Nugroho; fw-db@... Subject: Res: [fw-db] Firebird Adapter Hi, Below a exemple to connect: Remender, Firebird is a fork of interbase, you must enable php_interbase extension in your php.ini file. $options = array( Zend_Db::CASE_FOLDING => Zend_Db::CASE_UPPER ); $this->dbconn = new Zend_Db_Adapter_Firebird(array( 'host' => 'localhost', 'username' => 'sysdba', 'password' => 'masterkey', 'dbname' => 'C:\myDatabase.fdb', 'charset' => 'utf-8', 'options' => $options )); $this->dbconn->setFetchMode(Zend_Db::FETCH_ASSOC); If you found any isssues with this adapter, please mail me. Best regards, Luiz Fernando ----- Mensagem original ---- De: Bagus Nugroho <bnugroho@...> Para: fw-db@... Enviadas: Quinta-feira, 8 de Maio de 2008 15:02:23 Assunto: [fw-db] Firebird Adapter Hi,
I have project of ERP of automotive that previously desktop based, and proposed to be web based. Unfortunatelly, it was using firebird database, and I'm confuse to understand what the meaning of :
===================
This Adapter uses the PHP extension php_interbase.
=================
in the manual, can anybody give me a sample how to configure Adapter using php_interbase.
Thank In Advance
bn Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! |
| Free Forum Powered by Nabble | Forum Help |