It seems that you have
`client_id` field (or something else for primary key) in your clients
table rather than `id` that is expected according to cake conventions.
You can update you Client model with

var $primaryKey = 'client_id';

like this:

class Client extends Appmodel {

var $primaryKey = 'client_id';
....

Or you can change your clients table primary key field name to 'id' if
it won't break anything else.


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Cake 
PHP" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

  • Re: Edit cake_learner
    • Re: Edit Eugene Bolshakov

Reply via email to