Re: Model -> save problem

2009-04-23 Thread Frankaube

I found the problem actually. My form in my view didn't have the same
name as my model so when trying th match the fields it would'nt find
any matches.

Hope it helps anyone if they find this.

thanks

On Apr 23, 11:59 am, fain182  wrote:
> > Hi I'm new to cakephp and have problems saving my data.
>
> > When calling Model->save it never saves to the databases with no
> > errors.
>
> > cake is calling describe on the table but not running any inserts
> > after.
>
> > I have no validation rules and the save function is returning TRUE. I
> > can retreive information with Model->find and it works with the same
> > model.
>
> can you show us the form(in the view) and the code(in the controller)
> that saves data?
--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---



Model -> save problem

2009-04-23 Thread Frankaube

Hi I'm new to cakephp and have problems saving my data.

When calling Model->save it never saves to the databases with no
errors.

cake is calling describe on the table but not running any inserts
after.

I have no validation rules and the save function is returning TRUE. I
can retreive information with Model->find and it works with the same
model.

Thanks for the help
Frank


--~--~-~--~~~---~--~~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~--~~~~--~~--~--~---