I am saving a Rate record and an associated image using the Media plugin (https://github.com/davidpersson/media). Everything works fine when an image is added, when an image isn't added the Rate record gets corrupted.
The array is as follows: Array ( [Rate] => Array ( [enabled] => 0 [is_corporate] => 0 [special_offer] => 0 [list_no] => 0 [id_ref] => 43564566 [title] => rate7 [price_quote_as] => 0 [adult_supplement] => 0 [child_supplement] => 0 [supplement] => 0 [short_description] => rate7 [description] => rate7 [available] => Array ( [0] => 2 ) [minimum_stay] => 0 [maximum_stay] => 0 [valid_from] => 2012-02-24 [valid_to] => 2012-02-25 [file] => Array ( [name] => [type] => [tmp_name] => [error] => 4 [size] => 0 ) ) [Room] => Array ( [Room] => Array ( [0] => 16 ) ) ) Note the 'file' array with the error 4. Any help would be greatly appreciated. -- 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
