It appears that many (including myself) have been struggling with filedepot hanging on the "Please wait..." loading prompt. It looks like in the current code, the YUI library component paths are being generated with a double slash, like this...

http://yui.yahooapis.com/2.7.0/build//utilities/utilities.js

The resulting redirect results in a 404.

Those using the google CDN probably won't notice the problem, as the following results in the correct js file...

http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build//utilities/utilitie...

One possible fix is removing the extra slash in theme/filedepot-mainpage.tpl.php, from...

      base: YUIBaseURL + '/',

...to...

      base: YUIBaseURL,

Alternately, using the google CDN http://ajax.googleapis.com/ajax/libs/yui/2.7.0/build/ works without any filedepot code changes.

Comments

_randy’s picture

Status: Active » Needs review

I have committed a fix for this issue for d6 and d7.
The only issue I see is that using a different cdn may cause issues - but the base configuration out of the box uses the Yahoo CDN and as such, this fix should be more than adequate.

ludo.r’s picture

I get the same problem here.

blainelang’s picture

@dolu: I don't understand your comment. Did you try the lastest dev version with the posted fix?

ludo.r’s picture

No, it was against the latest stable version (6.x-1.2).

Thank you.

blainelang’s picture

Status: Needs review » Fixed

I clearly noted the fix was in the DEV release.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

  • Commit fea3390 on 7.x-1.x, 8.x-1.x by _randy:
    Fix for issue #1493590.  Altered the YUIBaseURL to not have the trailing...