Closed (cannot reproduce)
Project:
filedepot
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2012 at 14:57 UTC
Updated:
12 Mar 2013 at 10:40 UTC
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
Comment #1
blainelang commentedNot 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 ?
Comment #2
_timpatrick commentedComment #3
_timpatrick commentedComment #4
dikker commentedWhen 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:
Comment #5
amh5514 commentedDikker'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.