After uploading a file through the Filedepot UI interface, there is a redirection to filedepot/folder/%
The UI seems to load ("Please Wait") undefinetly.
Using Firebug I obtain

Resource interpreted as Script but transferred with MIME type text/html: "http://dataforevents.metaforevents.be/filedepot/folder/sites/all/libraries/yui/build/yuiloader/yuiloader.js".

Uncaught SyntaxError: Unexpected token <                                      yuiloader.js:1

Uncaught ReferenceError: YAHOO is not defined                               common.js:7
(anonymous function)                                                                         common.js:7

Uncaught ReferenceError: YAHOO is not defined                               6:254
current url match : false                                                                      chrome-extension://nhjloagockgobfpopemejpgjjechcpfd/js/back.js:1764

2event.layerX and event.layerY are broken and deprecated in WebKit. They will be removed from the engine in the near future.

Any idea ?

Comments

blainelang’s picture

Not really, we have not seen this issue before.

Is there an issue with that URL menu path - have you tried the URL directly in the browser as in {siteurl}/filedepot/folder/1 ?

_timpatrick’s picture

Status: Active » Postponed (maintainer needs more info)
_timpatrick’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)
dikker’s picture

When you install the YUI library from google https://github.com/yui/yui2/archive/2.7.0.zip and use this one instead of the one at yui.yahooapis.com [you need to manually add skin.css because this is missing from the distribution http://yui.yahooapis.com/2.7.0/build/assets/skins/sam/skin.css], you can reproduce this error by uploading a file.

In the javascript console you will see:

SyntaxError: syntax error
[Afbreken op deze fout] 	

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML+RDFa 1.0//EN"

common.js?miz99r (regel 1775)

GET http://driver.develop/js/admin_menu/cache/c331e8e1207240f68509badc3899b08f
	
200 OK
		661ms	
jquery.js?v=1.4.4 (regel 142)

ReferenceError: YAHOO is not defined
[Afbreken op deze fout] 	

var loader = new YAHOO.util.YUILoader({

1 (regel 124)

ReferenceError: YAHOO is not defined
[Afbreken op deze fout] 	

var loader = new YAHOO.util.YUILoader({
 
amh5514’s picture

Dikker's find really helped me out but it seems the folder's name is causing problems as well. If you still experience problems after uploading the skin.css (like I did), rename the folder from libraries/yui2-2.7.0 to libraries/yui_2.7.0.