Hi Paul, Thanks for the reply, got it fixed.
It was a simple error in that I should have been using: $this->data['Photo']['attachmentName'] = $_FILES['Filedata']['name']; rather than... $this->data[$this->postType]['Photo']['title'] = $_FILES['Filedata'] ['name']; $this->postType referred to the ClientAlbum model rather then the Photo model which I needed. Cheers :) On Apr 6, 11:17 am, WebbedIT <[email protected]> wrote: > I would imagine your jquery plugin does an ajax request of some sort. > If so how is it passing the data? Typically this would be serialized > and passed as a parameter. > > Are you using FireBug or something similar to be able to see the Ajax > requests and diagnose what data is being passed to the controller? > > HTH > > Paul 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 To unsubscribe, reply using "remove me" as the subject.
