[fw-general] RE: Zend_Log DB writer error

2007-04-07 Thread Fábio T . da Costa
> $writerDB = new Zend_Log_Writer_Db($dbAdapter, ... > > That is, use the Zend_Log_Writer_Db class instead of the > Zend_Log_Writer_Stream class. > > I've opened issue http://framework.zend.com/issues/browse/ZF-1220 to > correct this in the documentation. > > Regards, > Bill K

[fw-general] Zend_Log DB writer error

2007-04-07 Thread Fábio T . da Costa
In my bootstrap file // Setup database $dbAdapter = Zend_Db::factory($config->db->adapter, $config->db->config->asArray()); Zend_Db_Table::setDefaultAdapter($dbAdapter); Zend_Registry::set('dbAdapter', $dbAdapter); // Logger $writerFile = new Zend_Log_Writer_Stream('./application/log.txt'); $wri

Re: [fw-general] Controller URL question

2007-03-30 Thread Fábio T . da Costa
Thanks Fred, Regards, Fábio TC dogo wrote: > > Fábio T. da Costa a écrit : >> My directory structure: >> >> application/ >> albuns/ >> controllers/ >> IndexController.php (named Albuns_IndexController.php) >>

[fw-general] Controller URL question

2007-03-30 Thread Fábio T . da Costa
My directory structure: application/ albuns/ controllers/ IndexController.php (named Albuns_IndexController.php) models/ views/ My bootstrap file: $frontController->setControllerDirectory(array( 'default' => './application/controllers', 'albuns' => './a

Re: [fw-general] Registry object

2006-12-18 Thread Fábio T . da Costa
Zend_Registry :: getInstance() not work in 0.6. The tutorial " AJAX Chat Tutorial" not work: http://devzone.zend.com/node/view/id/1387 Bill Karwin wrote: > > Yann Nave wrote: >> I would like to use Registry object, But it seems not in 0.6 preview. > Zend_Registry moved from incubator to core in