2008年10月2日星期四

Re: [fw-db] No adapter found error

I have a table that has been defined with a primary key and I even added it
to the class , but I am getting the error:

Message: Primary key column(s) (id) are not columns in this table ()

How can I verify what table it is looking at?


411161 wrote:
>
> I a doing something really simple:
>
> Oracle table is sessiondata
>
> class name Sessiondata.php
> class Sessiondata extends Zend_Db_Table_Abstract
> {
> // table name matches class name
> }
>
> In my controller I have:
> $t = new Sessiondata();
>
> The error I get is:
> Message: No adapter found for Sessiondata
>
> And I am also having the hardest time with table names with underscores.
>

--
View this message in context: http://www.nabble.com/No-adapter-found-error-tp19769901p19782597.html
Sent from the Zend DB mailing list archive at Nabble.com.

没有评论: