cancel
Showing results for 
Search instead for 
Did you mean: 

Share - Firefox - File Upload Issue

sthurrott
Champ in-the-making
Champ in-the-making
We have installed Share on Linux, we have setup Apache Reverse Proxy with Self Signed Certificate and run into a couple of problems:

1.  We can't connect using Webdav, error says the folder is unavailable (my connection is as follows:  https://myserver/alfresco/)
2.  We can't upload files using Firefox 3 through the web client in Share.  I can upload files on the Alfresco side using Firefox as well as upload files using IE for both Share and Alfresco.

I suspect we have a configuration error but I'm not sure where to look as sys-admin is not my area of expertise.  Any insight into this would be helpful?

Thanks
50 REPLIES 50

calle
Champ in-the-making
Champ in-the-making
Hi
I have the exact same problems with Alfresco enterprise 3 SP1. Have you found anyway to complete a file upload in Share with https?
//Carl

calle
Champ in-the-making
Champ in-the-making
I found that there is a JIRA ticket for this https://issues.alfresco.com/jira/browse/ETHREEOH-884 and that it is depending on an issue with Adobe Flash player.

The only solution I can think of to allow https upload in Share is then to use the non-flash upload, until the bug in Flash is resolved.

/Carl

ehasting
Champ in-the-making
Champ in-the-making
How can i turn on http upload? and turn off flash upload?

mikeh
Star Contributor
Star Contributor
The code auto-detect whether you have Flash installed or not.

The only way to disable the Flash uploader without uninstalling Flash would be to edit file-upload.js and look for:
this.hasRequiredFlashPlayer = Alfresco.util.hasRequiredFlashPlayer(9, 0, 45)
and change it to:
this.hasRequiredFlashPlayer = false
Thanks,
Mike

ivan_plestina
Champ in-the-making
Champ in-the-making
The code auto-detect whether you have Flash installed or not.

The only way to disable the Flash uploader without uninstalling Flash would be to edit file-upload.js and look for:
this.hasRequiredFlashPlayer = Alfresco.util.hasRequiredFlashPlayer(9, 0, 45)
and change it to:
this.hasRequiredFlashPlayer = false
Thanks,
Mike

I'm getting "Could not load html upload template" after modifying this. Any thoughts?

alexis
Champ in-the-making
Champ in-the-making
The code auto-detect whether you have Flash installed or not.

The only way to disable the Flash uploader without uninstalling Flash would be to edit file-upload.js and look for:
this.hasRequiredFlashPlayer = Alfresco.util.hasRequiredFlashPlayer(9, 0, 45)
and change it to:
this.hasRequiredFlashPlayer = false
Thanks,
Mike

I'm getting "Could not load html upload template" after modifying this. Any thoughts?
in file html-upload.js, you have to correct line 219


    216           // If it hasn't load the gui (template) from the server
    217             Alfresco.util.Ajax.request(
    218             {
    219                url: Alfresco.constants.URL_SERVICECONTEXT + "components/upload/html-upload?htmlid=" + this.id,
    220                successCallback:


"modules/html-upload?htmlid=" replaced by  "components/upload/html-upload?htmlid="

But, … html component is still no displayed, maybe a css issue, i don't know …..

sylvain_d
Champ in-the-making
Champ in-the-making
in file html-upload.js, you have to correct line 219


    216           // If it hasn't load the gui (template) from the server
    217             Alfresco.util.Ajax.request(
    218             {
    219                url: Alfresco.constants.URL_SERVICECONTEXT + "components/upload/html-upload?htmlid=" + this.id,
    220                successCallback:


"modules/html-upload?htmlid=" replaced by  "components/upload/html-upload?htmlid="

But, … html component is still no displayed, maybe a css issue, i don't know …..

In fact there is a problem with the css propertie "hidden". In html-upload.js this propertie is not removed so the panel won't show.

To correct that you have to add something after the call to panel.render line 265 in html-upload.js


260         /**
261          * Render the server reponse so the contents get inserted in the Dom.
262          * Scripts in the template, such as setMessage(),  will also get run
263          * at this moment.
264         */
265         this.widgets.panel.render(document.body);
266        
267         //Remove the class hidden to display the panel
268         Dom.removeClass(this.id + "-dialog", "hidden");

With that the panel will show after clicking the upload button 

Hope it will help

I'm still trying to "stabilize" the flash upload, without success, once it's working, once not. I'm going crazy

dc41
Champ in-the-making
Champ in-the-making
Any luck with get it stabilized? I'm supposed to evaluate Alfresco, but Firefox 3 is our standard browser. So this could pose a problem.

Thanks!

mikeh
Star Contributor
Star Contributor
Any luck with get it stabilized? I'm supposed to evaluate Alfresco, but Firefox 3 is our standard browser. So this could pose a problem.
Try HEAD, which is now running YUI 2.7.0.

The bug lives somewhere between Adobe and Mozilla, so it's out of our hands unfortunately.

Mike