Start from the View and move towards the Model:
1) Ensure that your input field is named "password" in your view.
Better yet, show us the form creation code!
2) In your controller, before you save, insert "debug($this->data);"
and watch for the password value! Make sure that the resulting array
looks something like:
array( 'Member' => array('password') ...
Check it and tell us if you found something wrong :)
Enjoy,
John
On Apr 24, 7:11 am, Malcolm Krugger <[email protected]>
wrote:
> INSERT INTO `Member` (`username`, `password`, `firstname`, `lastname`,
> `emailid`) VALUES ('user34', NULL, 'sdafas', 'fasfa', 'sfasfas')
>
> Yes the password field is null in the SQL too
>
> Am I missing any configuration directive ?
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups
"CakePHP" 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
-~----------~----~----~----~------~----~------~--~---