Re: save 'modified' field doesn't update
On 08/07/07, Contrid <[EMAIL PROTECTED]> wrote: > I'm executing the save() method on my model, but the 'modified' field > in the database table simply doesn't update. It should update > automatically, right? If so...what could be the cause of this? > Have a look at this, and see does it help with your problem. http://griffinm.wordpress.com/2007/05/28/why-created-and-modified-fields-might-not-save/ Mike. --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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: save 'modified' field doesn't update
Have you turned on debugging and checked what the generated SQL looks like, does it have the correct value? If not, then print out what data array before the save and check that its set. Failing that, post your code here. Winston --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---
save 'modified' field doesn't update
Hey there, I'm executing the save() method on my model, but the 'modified' field in the database table simply doesn't update. It should update automatically, right? If so...what could be the cause of this? I'll be digging into the code shortly. Just want to hear what you have to say. Best, Antonie --~--~-~--~~~---~--~~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com 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 -~--~~~~--~~--~--~---