# |
Oct 22nd 2009, 07:17 |
dakota |
I'm sure that it is something small and silly, and that you've been trying to figure it out for so long that you just don't see it |
# |
Oct 22nd 2009, 07:17 |
dakota |
jessica-m: While you are at it, can you post the sql structure of the table? |
# |
Oct 22nd 2009, 07:16 |
dakota |
These are the three that cake auto populates: 'created', 'updated', 'modified' |
# |
Oct 22nd 2009, 07:14 |
dogmatic69 |
ACTION dies |
# |
Oct 22nd 2009, 07:14 |
jessica-m |
hold on |
# |
Oct 22nd 2009, 07:14 |
dakota |
dogmatic69: I fink it are because i spend so much time in the ptawug irc server. and they all spoke the code |
# |
Oct 22nd 2009, 07:14 |
dogmatic69 |
jessica-m: you got a bin of your code? |
# |
Oct 22nd 2009, 07:14 |
dogmatic69 |
P |
# |
Oct 22nd 2009, 07:14 |
dogmatic69 |
dakota kan like to wear a jean pant |
# |
Oct 22nd 2009, 07:13 |
jessica-m |
lol |
# |
Oct 22nd 2009, 07:13 |
dakota |
Wow, my english are bad |
# |
Oct 22nd 2009, 07:13 |
dakota |
otherswise?? |
# |
Oct 22nd 2009, 07:13 |
dakota |
otherswise it would work |
# |
Oct 22nd 2009, 07:13 |
jessica-m |
if i manually set the modified, it is fine |
# |
Oct 22nd 2009, 07:13 |
dakota |
but definately something |
# |
Oct 22nd 2009, 07:13 |
dakota |
not necessarly something in the core. |
# |
Oct 22nd 2009, 07:12 |
jessica-m |
i have not touched the core |
# |
Oct 22nd 2009, 07:12 |
dakota |
mmmm |
# |
Oct 22nd 2009, 07:12 |
dakota |
ACTION thinks something is broken |
# |
Oct 22nd 2009, 07:12 |
jessica-m |
yeah |
# |
Oct 22nd 2009, 07:12 |
dakota |
and it is obviously not set |
# |
Oct 22nd 2009, 07:12 |
dakota |
so, you are certain that it is called 'modified' and that it is a datetime field with default = null |
# |
Oct 22nd 2009, 07:12 |
dakota |
odd |
# |
Oct 22nd 2009, 07:11 |
jessica-m |
that didnt do it |
# |
Oct 22nd 2009, 07:10 |
jessica-m |
ok |
# |
Oct 22nd 2009, 07:10 |
jessica-m |
should i unset it? |
# |
Oct 22nd 2009, 07:10 |
dakota |
unset created as well |
# |
Oct 22nd 2009, 07:10 |
jessica-m |
hmm |
# |
Oct 22nd 2009, 07:10 |
dakota |
wonder if that might cause the problem |
# |
Oct 22nd 2009, 07:10 |
dakota |
[created] => 2009-10-21 11:52:53 |
# |
Oct 22nd 2009, 07:09 |
jessica-m |
http://bin.cakephp.org/view/1298578379 |
# |
Oct 22nd 2009, 07:08 |
jessica-m |
ok |
# |
Oct 22nd 2009, 07:08 |
dakota |
just before the save |
# |
Oct 22nd 2009, 07:07 |
jessica-m |
where do you want me to print this->data |
# |
Oct 22nd 2009, 07:07 |
jessica-m |
hang on |
# |
Oct 22nd 2009, 07:07 |
dakota |
and post it here |
# |
Oct 22nd 2009, 07:07 |
dakota |
can you maybe do a pr($this->data) for us? |
# |
Oct 22nd 2009, 07:07 |
dakota |
then my guess is that modified exists |
# |
Oct 22nd 2009, 07:07 |
jessica-m |
when i create a new one it works fine |
# |
Oct 22nd 2009, 07:07 |
dogmatic69 |
jessica-m: if its not there cake should do it... does it do it when you create a new one? |
# |
Oct 22nd 2009, 07:06 |
dogmatic69 |
just before that |