On Sat, Nov 13, 2010 at 6:08 AM, dtemes <[email protected]> wrote:
> just playing by ear here, but are you certain that your database field
> is defined with the right type and length to hold the data you are
> trying to put in?
I was just thinking the same. Check the column.
Also, set debug to 2 and comment out your redirect inside the action
so that you can see Cake's SQL log. Maybe it'll show something.
Alternatively (because MySQL is generally pretty silent about f*cking
with one's data), put this line in your action:
die(Security::cipher($this->data['Message']['msg'],
Configure::read('Security.cipherSeed')));
Then open a new db session in a terminal and:
UPDATE messages SET msg = 'THE_CIPHERED_MSG' WHERE id = x;
SHOW WARNINGS;
Check out the new CakePHP Questions site http://cakeqs.org and help others with
their CakePHP related questions.
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