I recently started using Uploadify and I need some help with error reporting.
I am using Uploadify the upload company logo's, I have added the validation into the php file and when there is an error it may echo (depending on the error) something like "File to big" and the file will not be moved to its permanent location
Regardless of this on screen the upload bar still shows and when it gets to the end the progress bar disappears and my error message is know where to be seen.
Is there a way I can get these errors to display.
Also I would like to name the image the name of the organisation, so I need a way to pass my own variable to the uploadify.php script, is this possible as I cannot see anything like this in the documentation.
I would like to know a solution too, has the exact same problem as mrbinky3000.
SimonJ's solution is not that good for me, cause it will return the number 1 too, so if you have 20 uploads you have 20 alerts you gonna take care off.
a better solution would be: if the php script has a response that isn't 1 then it should show the response same way uploadify handles files larger than "fileSize".
The problem is that onError only is triggered when there is an error in the flash part, an onBackendError or a modification of the onError would be very useful.
There's a onAllComplete callback. But i don't trust it. Even when i return 1 for some upload and any other message for errors, they all are contemplated as successful uploads.