I am creating multiple instances on a page by using php to output the js which creates the swfupload object.
I have successfully created the multiple instances of the uploader, but when I choose a file to upload, the progress bar just says Pending... this is happening on all the instances.
Many Thanks
Jeremy
March 10, 2010 - 12:47pm
Try this:
Click upload. Choose a file. (you get the "stuck" pending). Then click upload cancel out. Your upload starts.
You are getting an error in fileDialogComplete which prevents startUpload from being called. It's not really stuck, it just never started.
You don't see the error because it's wrapped in a try...catch. But you also get an error when the upload completes that is related.
The lines referencing "this.customSettings.cancelButtonId" are throwing the errors.
I recommend enabled SWFUpload Debugging and using a JavaScript debugger like Firebug or one included in IE8, Safari or Chrome.