Silly question, but do you have the rest of the parameters set?
Minimally these two:
resources.db.adapter = ?
resources.db.params.dbname = ?
Also, what version of ZF is this?
-ralph
Terre Porter wrote:
Hey all,
I seem to not be able to get the default table adapter to load when
accessing my dbtable class.
A added the line in my config, "resources.db.isDefaultTableAdapter = true".
I'm using this,
http://framework.zend.com/docs/quickstart/create-a-model-and-database-table,
just the dbtable related stuff.
I took the following classes and added them in to my setup. (names adjusted
for the path changes)
class Models_DbTable_Guestbook extends Zend_Db_Table_Abstract
class Models_GuestbookMapper
class Models_Guestbook
They are loading but I always get the error, "No adapter found for
Models_DbTable_Guestbook"
Was there something else I needed to do other than the
"resources.db.isDefaultTableAdapter = true" in the ini in order to use the
db adapter?
I'm using ZF version 1.8.
Thank
Terre