Zend Framework -> Zend_Log via application.ini => insert() on a non-object error

Posted by TaMeR on Stack Overflow See other posts from Stack Overflow or by TaMeR
Published on 2010-03-20T22:18:08Z Indexed on 2010/03/20 22:21 UTC
Read the original article Hit count: 451

Filed under:
|
|

I am trying to get logging via the application.ini file going and I am getting stuck with an error.

resources.log.db.writerName = "Db"
resources.log.db.writerParams.db.adapter = "PDO_SQLITE"
resources.log.db.writerParams.db.dbname = ROOT "/data/tmp.db3"
resources.log.db.writerParams.db.table = "logs"
resources.log.db.writerParams.db.columnMap.priority = "priority"
resources.log.db.writerParams.db.columnMap.message  = "message"

Fatal error: Call to a member function insert() on a non-object in /var/www/libs/zend/library/Zend/Log/Writer/Db.php on line 137

© Stack Overflow or respective owner

Related posts about zend

Related posts about zend-framework