I am running D7-dev with PHP JSON enabled. I dont see any error logs in the apache. When i accesing filedepot i get a blank screen. By using firebug i get the jQuery.blockUI error message. I can access files under /sites/all/libraries/yui_2.7.0/build/yuiloader/. Also getting Syntax error "
my base url: https://www.example.com/website/sites/all/libraries/yui_2.7.0/build/
Please let me know what is the issue?
Thanks,
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | filedepot_ui.PNG | 75.88 KB | narenpg |
| #6 | filedepot_viewsource.PNG | 225.08 KB | narenpg |
| filedepotexample_firebug.PNG | 136.56 KB | narenpg |
Comments
Comment #1
blainelang commented@narenpg, if you like: send me a PM with admin access to your site including FTP access and I will investigate.
Comment #2
narenpg commentedThanks Blainelang. Unfortunately i cannot provide the access to the site due to company policies. Please let me know if you want to look at config files or log files that i can share.
Comment #3
intrafusionI was getting same error too, I believe it something to do with Libraries as there is now alpha release for version 2.
I modified lines 582 and 583 of filedepot.module to:
And obviously moved the files into these folders, I would create a patch for this but think there needs to be some logic applied to the code to check which version of Libraries is installed
Comment #4
narenpg commentedI modified filedepot.module and those 2 js files already exists in sites/all/libraries and it is still failing. Is it working for you?
Comment #5
narenpg commentedI modified and copied the files under filedepot now i can see the UI. But i cannot see the folders that already exists in the files and private folders. I am not sure this is because i am avoiding the libraries modules( missing some plugins to be installed.) Looks like i am missing something.
drupal_add_js($modulepath . '/jquery.blockui.js');
drupal_add_js($modulepath . '/html_encoder.js');
I am not sure this is the right way to do it. Maybe @blainelang can answer that.
Comment #6
narenpg commentedHere is the page view source.
Comment #7
blainelang commentedI've been using the 7.x-1.0 version of libraries and just tried the 2.x-dev and can confirm there is an issue. I'd recommend that you use the 1.0 version unless there is a good reason not to.
I'll look into the reason why the 2.x version is not working as soon as a I can.
Comment #8
narenpg commentedThanks.
Comment #9
narenpg commentedIt works with 7.x-1.0 libraries...
Comment #10
FitzChivalry commentedSame problem exists with D6.25 and the only version of Libraries (6.x-1.0) available for D6. :-(
Comment #11
sumeet.pareek commentedI had a similar problem with 6.x version of filedepot running with OpenAtrium. No UI showed up on the filedepot page. That happened because of missing JS files, which I had to add per this - http://drupal.org/node/1420000
That solved it for me.
Comment #12
_timpatrick commentedUsing the 7.x-1.0 of the libraries works - v 2 is still in alpha.
See http://drupal.org/node/1589586