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,

Comments

blainelang’s picture

@narenpg, if you like: send me a PM with admin access to your site including FTP access and I will investigate.

narenpg’s picture

Thanks 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.

intrafusion’s picture

Priority: Critical » Normal

I 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:

  drupal_add_js(libraries_get_path('jquery.blockui') . '/jquery.blockui.js');
  drupal_add_js(libraries_get_path('html_encoder') . '/html_encoder.js');

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

narenpg’s picture

I modified filedepot.module and those 2 js files already exists in sites/all/libraries and it is still failing. Is it working for you?

narenpg’s picture

StatusFileSize
new75.88 KB

I 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.

narenpg’s picture

StatusFileSize
new225.08 KB

Here is the page view source.

blainelang’s picture

I'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.

narenpg’s picture

Thanks.

narenpg’s picture

It works with 7.x-1.0 libraries...

FitzChivalry’s picture

Same problem exists with D6.25 and the only version of Libraries (6.x-1.0) available for D6. :-(

sumeet.pareek’s picture

I 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.

_timpatrick’s picture

Status: Active » Closed (fixed)

Using the 7.x-1.0 of the libraries works - v 2 is still in alpha.
See http://drupal.org/node/1589586