Hai,
Did you managed to solve it?I am also having exact proble.I am
trying to save image string to i18n table but it's not saving but
other fileds like title,content are saved in i18n.
On Nov 23, 2:05 pm, "Constantin.FF" <[email protected]> wrote:
> My Attachment model actAs Translate to be able to translate the image
> titles, I get the attachment saved in it's attachments table, but
> nothing goes to the i18n table. This is the beforeSave model data:
>
> Array
> (
> [Attachment] => Array
> (
> [parent_id] => 0
> [type] => Attachment
> [status] => 1
> [promoted] => 0
> [attachment] => Array
> (
> [name] => bla-bla-picture.gif
> [type] => image/gif
> [tmp_name] => /tmp/phpVTolMj
> [error] => 0
> [size] => 26886
> )
>
> [updated] => 2011-11-22 18:20:49
> [created] => 2011-11-22 18:20:49
> [lft] => 33
> [rght] => 34
> [body] => bla-bla-picture.gif
> [title] => Bla Bla Picture
> [mime_type] => image/gif
> [attachmentSize] => 26886
> [path] => /img/attachments/
> )
>
> )
>
> How to debug and see what is the data before inserting in the model
> and i18n tables? Any ideas for the error?
--
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