cancel
Showing results for 
Search instead for 
Did you mean: 

Can't Upload files

rppf
Champ on-the-rise
Champ on-the-rise

I can't upload files. I'm using Alfresco 4.2.c. There's nothing wrong recorded in catalina.out. All I have is an error message from Chrome Browser saying

dnd-upload_bf7b4bcf94c5e6bf856587ffa42654d8.js:1 Uncaught TypeError: this._addFiles is not a function
    at Alfresco.DNDUpload.processFilesForUpload (dnd-upload_bf7b4bcf94c5e6bf856587ffa42654d8.js:1)
    at Alfresco.DNDUpload.DNDUpload_onFileSelection [as onFileSelection] (dnd-upload_bf7b4bcf94c5e6bf856587ffa42654d8.js:1)
    at HTMLInputElement.e (yui-common_84ca7eecae18d3abf59034e15736d3a5.js:1)
processFilesForUpload @ dnd-upload_bf7b4bcf94c5e6bf856587ffa42654d8.js:1
DNDUpload_onFileSelection @ dnd-upload_bf7b4bcf94c5e6bf856587ffa42654d8.js:1
e @ yui-common_84ca7eecae18d3abf59034e15736d3a5.js:1

I already allowed Flashplayer to run on the website.

9 REPLIES 9

rppf
Champ on-the-rise
Champ on-the-rise

Any solutions? I'm using Alfresco Community 4.2.c

narkuss
Star Contributor
Star Contributor

It's a strange problem, as dndUpload is a core component from share. It seems there's some library missing. Do you have any customizations in your installation? Can you upload files using the Upload button, or is it giving the same error?

rppf
Champ on-the-rise
Champ on-the-rise

Yeah there's some slight modifications.

narkuss
Star Contributor
Star Contributor

Check whether you can open yui-common.js from inside the browser (f-12, ctrl-o, type yui).

Check whether this file is present in your installation. It should be found in <install-dir>\tomcat\webapps\share\js\yui-common.js.

rppf
Champ on-the-rise
Champ on-the-rise

Yup. That certain file is present.