Re: Can't get Save() to save certain fields

2008-05-19 Thread Joe
a i didn't know cakephp did caching of that sort! thank you so much, that was what fixed it. On May 16, 7:47 pm, francky06l [EMAIL PROTECTED] wrote: As Marcin think, to me it's caching problem . Delete files in tmp/ cache/models or set debug 0 in core.php :-) On May 17, 12:55 am,

Can't get Save() to save certain fields

2008-05-16 Thread Joe
Hi, I'm having trouble with save() and was wondering if anyone could shed some light on the problem. I inherited a project that has a page with a form on it which updates information to a database upon submission. It uses the save() method to update the data in the table, and it works fine for

Re: Can't get Save() to save certain fields

2008-05-16 Thread Marcin Domanski
set debug to 1 so cake can refresh the cache, you _should_ debug with debug 0 :) On Fri, May 16, 2008 at 11:17 PM, Joe [EMAIL PROTECTED] wrote: Hi, I'm having trouble with save() and was wondering if anyone could shed some light on the problem. I inherited a project that has a page with a

Re: Can't get Save() to save certain fields

2008-05-16 Thread Stephen Orr
I think it depends which Cake version you're using, but I'm pretty sure now the preferred method of saving is: $this-Model-create($this-data); $this-Model-save(); I'm not sure if this changed between 1.1 and 1.2, but I'm using 1.2 and this technique works perfectly. I usually wrap it in a

Re: Can't get Save() to save certain fields

2008-05-16 Thread francky06l
As Marcin think, to me it's caching problem . Delete files in tmp/ cache/models or set debug 0 in core.php :-) On May 17, 12:55 am, Stephen Orr [EMAIL PROTECTED] wrote: I think it depends which Cake version you're using, but I'm pretty sure now the preferred method of saving is: