Can't Upload files

cancel
Showing results for 
Search instead for 
Did you mean: 
Active Member

Can't Upload files

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
Community Manager
Community Manager

Re: Can't Upload files

How are you doing the upload? custom interface, API, CMIS, OOTB interface, etc.?

Alfresco Employee

Re: Can't Upload files

He is using Share web app.

Software Engineer in Alfresco Search Team.
Community Manager
Community Manager

Re: Can't Upload files

Is it only this user and this folder/location?

Active Member

Re: Can't Upload files

All user and in all location/folders. I can't upload. I also tried differrent browsers still, no luck.

Active Member

Re: Can't Upload files

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

Established Member II

Re: Can't Upload files

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?

Active Member

Re: Can't Upload files

Yeah there's some slight modifications.

Established Member II

Re: Can't Upload files

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.

Active Member

Re: Can't Upload files

Yup. That certain file is present.