Re: Uploads problem: Bad Data Not an array
Dave Taylor <[email protected]>
| Newsgroups | gmane.comp.cms.xaraya.user |
|---|---|
| Organization | Phatcom.net, LLC |
| Message-ID | <[email protected]> |
Dave Taylor wrote: > Happy Holidays, > > I have a problem with the File Uploads dynamicdata field. I have > several dynamicdata filed hooked to the user's role info and would like > to attach signed documents to their account, so I added a File Upload > field, status Display Only, blank validation and default fields. When I > attempt to modify a role by uploading a document Xaraya fails with: > > > Bad Data > > Not an array: "" > > > Problem: > > Solution provided by Warren: The solution to your problem is to change the "enctype" attribute in your upload form. Wrong: enctype="application/x-www-form-urlencoded" Right: enctype="multipart/form-data" Hope that helps... Warren Dodd Melbourne, FL