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
cake-php+unsubscribe@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php
No comments:
Post a Comment