These forums are read-only and considered to be an archive. Please use the new Community for future interaction and posts.

Firefox 2.0.0.20 upload fails

Upgraded from FV 3.0 to 3.5, which went OK. We use FileVista also as a transfer medium between older platforms (even W98 and WNT4.0) and the most recent ones. In FileVista 3.0 the upload worked on all these platforms. In Filevista 3.5 the upload in FF 2.0.0.20 keeps the upload dialog open without any feedback. The file however, seems to be uploaded. 

Please advise.
Herman 1/12/2009 4:43 AM
This seems to be browser caching issue. Can you please try refreshing the upload page? You can do this by right-clicking just below "Add" button and open browser's context menu for Refresh command (in Firefox This frame > Reload Frame). Another way is to browse directly to 
http://xxxx/filevistacontrol/upload.aspx 
and use CTRL + F5 to clear browser cache and then returning to FileVista main page and opening the upload dialog.

If there is still a problem, please open Error Console in Firefox and let me know if there are any JS errors after you click upload button.
Cem Alacayir 1/13/2009 6:04 PM
In FF 2.0.0.20 This frame > reload Frame shows the initial Upload Dialog again without any status of completed etc.

I forgot to tell, that during the upload there is no feedback either (no progress indication at all).

In the Error Console of FF there are no errors at all.

Is it maybe a Flash related problem ?
Herman 1/14/2009 1:41 AM
Checked Flash version. Was version 9, so upgraded to latest version of Flash (10.0.12.36). Still same behaviour of upload dialog. However, after logging in into a FV site, the error console shows the message "Error: Component returned failure code: 0x80004005 (NS_ERROR_FAILURE) [nsIChannel.open]
Source File: 
Line: 659".

Hope this helps to figure out what's going on.
Herman 1/14/2009 2:27 AM
Same problem Herman reported :(

I tried with the new swfupload you sent me (2.2.0 alpha) and also with 2.2.0 beta 4.1, but with FF it does not want work at all! :((
Filippo 1/23/2009 4:27 AM
My js error is:
Errore: uncaught exception: Call to SetUploadURL failed
Filippo 1/23/2009 4:31 AM
Herman,
I have tested with Firefox 2.0.0.20 and I confirm the problem (hidden progress indication). This problem is only specific to Firefox 2 and not Firefox 3 or IE. It seems while we recently updated the code for Flash 10 compatibility in v3.5, we broke backward compability with Firefox 2 unintentionally. Anyway we determined the problem and fixed it. I have sent you the updated files via email. After you replace the files with the updated ones, please force refresh of the upload page as described above before trying to upload any file. Browsers may be stubborn about keeping the old copy of files so you may need to try restarting the browser or clearing the cache from Options > Advanced > Network.

Filippo,
Your problem is about Flash 10 (due to "Call to SetUploadURL failed" message) and different than Firefox 2 problem that Herman had. I previously sent you 2 files (upload.aspx and upload.js along with swfupload 2.2.0a) that will make your v3.2.4 compatible with Flash 10 because you didn't want to upgrade to v3.5. If you are sure you replaced all the files I sent, then please force refresh as I noted to Herman just above. I am sending you the latest update in case you also have Firefox 2 problem.
Cem Alacayir 1/26/2009 8:13 AM
Thanks Cem, this solves our issue with Firefox 2.0.0.20. Now the progressbar is visible and final status is displayed.

However, on systems that do not have Flash (so the old upload method is used), the Upload dialog opens, but the "Add..." button is gone. Only a white area is displayed. Is this also fixable ?
Herman 1/27/2009 5:32 AM
I couldn't reproduce the same behaviour, i.e I couldn't see a white area over the Add button in Firefox 2 when I uninstalled Flash. However, I have sent you an updated file which I think, will fix your issue.
Cem Alacayir 1/27/2009 9:04 AM
Thanks for your quick response. Yes, that was the missing piece. Now the "Add ... " button is also visible for the "non-Flash" way of uploading in Firefox 2.x. 

You have probably noticed too that there is no progress feedback during larger uploads in Firefox 2.x (using the "non-Flash" way of uploading). I believe this always has been an issue in the past. The upload starts and only after the upload is completely finished, the correct status is shown. For me this is a minor issue, since technically uploading works.
Herman 1/28/2009 1:05 AM
Actually there is not a known issue with large upload progress feedback in Firefox 2.x. Can you provide more information on this? For instance what size of files do you see this issue with? Do you see any error messages in Firefox Error Console?
Cem Alacayir 3/10/2009 4:48 AM
For test we used a 7MB file. The progress feedback issue only seems to happen with FF2.x on old W98SE machines which do not have Flash. We can live with it, because the final result is a correctly uploaded file (mission accomplished).
Herman 3/11/2009 1:43 AM
FYI, in v3.6 the above fixes were included:

- Fixed: Optimized the clickable area of the Add button in browser mode for cross-browser compability.
- Fixed: Upload dialog missing progress indication in Firefox 2.
Cem Alacayir 6/8/2009 1:56 AM