Hi!

I know it, but my field body is not null!

Here my array :

Array ( [Topic] => Array ( [subject] => ZEZEEZ [user_id] => 3 ) [Message] 
=> Array ( * [body] => QSDDDDDDDDDDD * [user_id] => 3 ) [Belong] => Array ( 
[user_id] => 3 ) )

Thanks


Le mercredi 1 août 2012 18:39:01 UTC+2, Jamie a écrit :
>
> Did you look at the clear-as-day MySQL error you were given?
>
> "SQLSTATE[23502]: Not null violation: 7 ERROR: null value in column "body" 
> violates not-null constraint"
>
> You are entering in a null value into the "body" column which does not 
> allow null values. So either change the table so that "body" DOES accept 
> null values, or ensure that the data you're saving has a non-null "body" 
> value.
>
> On Tuesday, July 31, 2012 3:12:03 AM UTC-7, TWEESTY wrote:
>>
>> Up. 
>>
>> Thanks ! 
>>
>

-- 
Our newest site for the community: CakePHP Video Tutorials 
http://tv.cakephp.org 
Check out the new CakePHP Questions site http://ask.cakephp.org and help others 
with their CakePHP related questions.


To unsubscribe from this group, send email to
[email protected] For more options, visit this group at 
http://groups.google.com/group/cake-php

Reply via email to