> $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
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
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)
>>
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
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