I am in the process of replacing IMCE and WebFM with elFinder and the File Maintenance modules. However, though I've installed the necessary elFinder library Drupal will not let me enable elFinder (the checkbox is disabled as it would be if a dependancy was missing).

Please help, as I'm really excited to start using this brilliant module.

Thanks

CommentFileSizeAuthor
#15 Screenshot from 2014-02-21 21:33:29.png27.43 KBneorg

Comments

trotskyicepick’s picture

Title: Cannot enable module » [SOLVED] : Cannot enable module

Very strange. Perhaps I should've waited before posting so quickly. Not sure which of the following solved the issue:

1. Proceeded to enable the WYSIWYG API module.
2. Whilst the above was processing, I moved the contents of /sites/all/libraries/elFinder to /sites/all/libraries/elFinder/elFinder-1.2

Now I see elFinder is enabled.

trotskyicepick’s picture

Title: [SOLVED] : Cannot enable module » Blank screen instead of elFinder screen.

Have now got elFinder installed, but I get a blank screen when I go to admin?q=elfinder (as stated on line 38 of the readme). I do have an elFinder option under /Site configuration/ but this does not have and Administer page or content section (as stated on line 39 of the readme).

If I try to use elFinder from TinyMCE again, I get a blank screen in the window that pops up. This is happening also on a completely vanilla install of Drupal v6.22 with all the requested modules/libraries installed.

Any help greatly appreciated, thanks.

[Edit]: Actually, I have noticed that it isn't a completely empty page, the page background is displayed, and all scripts/css are loaded in the header, just the body contains no output.

Can you confirm which version elFinder and jQuery I need (I have elFinder v1.2 and jQuery 6.x-1.4). Is this module perhaps dependent on more than the elFinder library? Is a specific version of TinyMCE or WYSIWYG API needed?

trotskyicepick’s picture

OK, solved it. You need to slightly alter your system requirements to state that elFinder v1.1 is required, not elFinder v1.1+. This is because v1.2 installs different versions of the jquery scripts.

trotskyicepick’s picture

Title: Blank screen instead of elFinder screen. » [SOLVED] : Blank screen instead of elFinder screen.
Robert Hubbs’s picture

It was not clear what you meant by, "You need to slightly alter your system requirements to state that elFinder v1.1 is required"

When I Download the elfinder-1.1 version and not the 1.2 version it worked.
What system requirement would I change to use elfinder-1.2?

ph0enix’s picture

elFinder 1.2 should be supported in 7.x-1.x-dev and 6.x-1.x-dev

amstar’s picture

Version: 6.x-0.6 » 7.x-0.6

@#6 - ph0enix,

I just did a fresh install of 7.4. I get a white screen with the contents of elFinder 1.2 in sites/all/libraries/elfinder. The problem was resolved by using the files from 1.1 instead. I am not sure what the problem is but it seems to be with V1.2.

Thanks for your work on this great module!

capellic’s picture

I too had problems with 1.2. When I would click on Browse Server, it was just a blank popup. There was source code, but nothing appeared.

ungabunga’s picture

Have same only-grey-background screen. And there is $ is not a function error in modules/elfinder/js/elfinder.callback.js (line 4).

Update from 7.x-0.6 to 7.x-1.x-dev helped.

NickTomlin’s picture

Version: 7.x-0.6 » 6.x-0.6

I am running into this issue as well.

The page loads to a gray blank screen. When I look at the source I see:

<body class="elfinder"> 
<div id="elfinder-messages"></div> 
<div id="finder"></div> 

I've given myself permissions to view ELfinder, and I've configured CKeditor to use Elfinder.

Disappointing , because it seems like a fantastic module!

shunting’s picture

Using 7.x-1.x-dev solved my WSOD too.

ph0enix’s picture

Version: 6.x-0.6 » 6.x-1.x-dev
Status: Active » Closed (fixed)
hedac’s picture

Status: Closed (fixed) » Active

Tried 6.x dev and elfinder 1.2.. not working... blank page... head is correct but the body part .. this is all I get

<body class="elfinder">
<div id="elfinder-messages"></div>
<div id="finder"></div>
</body>

I was using it successfully.. I think in a recent update to 0.8.. it stopped working.

R-H’s picture

I have this problem too with ElFinder 1.2.

neorg’s picture

Issue summary: View changes
StatusFileSize
new27.43 KB

I am pulling my hair of!! Searching for almost 2 days for a solution now.

Did anyone solved this problem yet? I an digging for 4 hours for a solution now without any result. I noticed the problem after I migrated a D7 website from a development server to a production server. Of course elFinder works as fine on my development server. So it looks like it has something to do with permission setting or a missing package on my Linux system.

I tried (almost) every permission setting of /sites/default/files/* you can think of.

Elfinder libraries

Here some details
JS library version: elfinder-1.2.tar.gz
Drupal module

  • now using 7.x-1.x-dev
  • started with 7.x-0.8

Permission settings

Production server
Permission setting on /sites/default/files

ls -lad ./files/ 
drwxrwxrwx 15 www-data www-data 4096 Feb 20 09:26 ./files/

Permission setting inside /sites/default/files

-rw-rw-r--  1 www-data www-data 199878 Feb 21 17:01 50s_lady.png
-rw-rw-r--  1 www-data www-data  75030 Feb 17 12:46 50s_lady_0.png
-rw-rw-r--  1 www-data www-data  25370 Feb 17 12:39 coffee-cup.jpg
-rw-rw-r--  1 www-data www-data 140107 Feb 15 22:07 coffee-cup_0.jpg
drwxrwxr-x  2 www-data www-data  20480 Feb 21 21:10 css
drwxr-xr-x  2 www-data www-data   4096 Feb 20 16:30 ctools
drwxrwxr-x  2 www-data www-data   4096 Jan 19 18:12 fusion
-rw-rw-r--  1 www-data www-data  10270 Jan 24 13:48 icon.png
drwxr-xr-x  6 www-data www-data   4096 Feb 12 18:12 images
drwxrwxr-x  2 www-data www-data  32768 Feb 20 09:31 js
drwxrwxr-x  2 www-data www-data   4096 Feb 12 18:20 js_injector
drwxrwxr-x  2 www-data www-data   4096 Feb 21 11:49 languages
-rw-rw-r--  1 www-data www-data 398811 Feb 21 16:46 logo.png
-rw-rw-r--  1 www-data www-data 182433 Feb  9 19:57 logo_0.png
-rw-rw-r--  1 www-data www-data  47599 Jan 19 18:41 logo_h190.png
-rw-rw-r--  1 www-data www-data  50967 Jan 31 20:00 logo_h200.png
-rw-rw-r--  1 www-data www-data 337912 Feb 21 16:52 multi_langual.png
-rw-rw-r--  1 www-data www-data  14359 Feb  9 16:00 multi_langual_0.png
drwxrwxr-x  2 www-data www-data   4096 Feb 10 22:42 pictures
drwxrwxr-x  7 www-data www-data   4096 Feb 19 23:50 styles
drwxrwxrwx  2 www-data www-data   4096 Feb 12 18:12 tmb

My site is multilingual but I think this is not the problem, because it works OK on my development server.

Here all php packages on both server:

Development server (elfinder working)

dpkg -l | grep php
ii  dh-make-php                           0.2.15                                                 Creates Debian source packages for PHP PEAR
ii  gphpedit                              0.9.91-5                                               development environment for PHP/HTML/CSS
ii  libapache2-mod-php5                   5.3.2-1ubuntu4.22                                      server-side, HTML-embedded scripting languag
ii  php-apc                               3.1.3p1-2                                              APC (Alternative PHP Cache) module for PHP 5
ii  php-mail                              1.1.14-2                                               PHP PEAR module for sending email
ii  php-mail-mime                         1.5.3-0.1                                              PHP PEAR module for creating MIME messages
ii  php-mail-mimedecode                   1.5.0-3                                                PHP PEAR module to decode MIME messages
ii  php-net-smtp                          1.3.1-1                                                PHP PEAR module implementing SMTP protocol
ii  php-net-socket                        1.0.9-2                                                PHP PEAR Network Socket Interface module
ii  php-pear                              5.3.2-1ubuntu4.22                                      PEAR - PHP Extension and Application Reposit
ii  php5                                  5.3.2-1ubuntu4.22                                      server-side, HTML-embedded scripting languag
ii  php5-cli                              5.3.2-1ubuntu4.22                                      command-line interpreter for the php5 script
ii  php5-common                           5.3.2-1ubuntu4.22                                      Common files for packages built from the php
ii  php5-curl                             5.3.2-1ubuntu4.22                                      CURL module for php5
ii  php5-dev                              5.3.2-1ubuntu4.22                                      Files for PHP5 module development
ii  php5-gd                               5.3.2-1ubuntu4.22                                      GD module for php5
ii  php5-imagick                          2.1.1RC1-1build3                                       ImageMagick module for php5
ii  php5-imap                             5.3.2-0ubuntu2                                         IMAP module for php5
ii  php5-mysql                            5.3.2-1ubuntu4.22                                      MySQL module for php5
ii  php5-xmlrpc                           5.3.2-1ubuntu4.22                                      XML-RPC module for php5

Production server (elfinder not working)

dpkg -l | grep php
ii  libapache2-mod-php5              5.3.10-1ubuntu3.9                   server-side, HTML-embedded scripting language (Apache 2 module)
ii  php-apc                          3.1.7-1                             APC (Alternative PHP Cache) module for PHP 5
ii  php-pear                         5.3.10-1ubuntu3.9                   PEAR - PHP Extension and Application Repository
ii  php5-cli                         5.3.10-1ubuntu3.9                   command-line interpreter for the php5 scripting language
ii  php5-common                      5.3.10-1ubuntu3.9                   Common files for packages built from the php5 source
ii  php5-curl                        5.3.10-1ubuntu3.9                   CURL module for php5
ii  php5-dev                         5.3.10-1ubuntu3.9                   Files for PHP5 module development
ii  php5-gd                          5.3.10-1ubuntu3.9                   GD module for php5
ii  php5-imagick                     3.1.0~rc1-1                         ImageMagick module for php5
ii  php5-imap                        5.3.5-0ubuntu2                      IMAP module for php5
ii  php5-mcrypt                      5.3.5-0ubuntu1                      MCrypt module for php5
ii  php5-mysql                       5.3.10-1ubuntu3.9                   MySQL module for php5
ii  php5-suhosin                     0.9.33-1                            advanced protection module for php5
ii  php5-xmlrpc                      5.3.10-1ubuntu3.9                   XML-RPC module for php5
ii  php5-xsl                         5.3.10-1ubuntu3.9                   XSL module for php5

PHP versions

Production server
PHP 5.3.10-1ubuntu3.9 with Suhosin-Patch (cli) (built: Dec 12 2013 04:27:25)

Development server
PHP 5.3.2-1ubuntu4.22 with Suhosin-Patch (cli) (built: Dec 12 2013 04:20:50)

neorg’s picture

SOLVED

I have a very strange situation with Elfinder. I developed a Drupal D7 website on a development (Ubunt 12.04) server. Everything, including CKEditor and Elfinder works perfect. I migrated the website (file system and mysql database) to a Zpanel Linux Ubuntu 12.4 server and I didn't get elfinder working any more. I tried everything i Read about this: File permissions, php libraries, Drupal modules, JS Elfinder libraries, /tmp directory, mD7 module setting. I checked it all more than once without any succes.

The problem occurred with this version:

  • Drupal 7.26
  • D7 module elfinder-7.x-0.8
  • elfinder library elfinder-1.2

I finally managed to get elfinder working with this versions:

  • Drupal 7.26
  • D7 module elfinder-7.x-2.x-dev
  • elfinder library elfinder-lib-2.1-20140220_000018.tar.gz (you can find that here)

After installation I got this error while opening elfinder:
"Error: Invalid backend response.Data is empty." popup.

And then I followed this modification:
Go to file: "elFinderVolumeDriver.class.php"
File Directory: on local host or web hosting search:
/administrator/components/com_k2/lib/elfinder
File: "elFinderVolumeDriver.class.php"
Open the file with an editor:
Go to line 747 where the line "$this->_checkArchivers();" should be! And disable this line by adding double slashes "//" (Example: //$this->_checkArchivers();)

Thanks to Gauthier Domoraud

zerobyte’s picture

I had the blank screen in elfinder problem when I first installed it and then reinstalled following the steps in #16 exactly but without doing the commenting out code part at the end, and it all seems to be working.

lperepolkin1’s picture

On an updated version of Drupal 7, following the steps in #16 exactly worked for me. But now the Status Report (Administration->Reports->Status report) displays:

elFinder Not found
elFinder library was not found. Please download it from http://sourceforge.net/projects/elfinder/files/ and install to sites/all/libraries/elfinder.

The elFinder library is installed and elFinder appears to be working fine. The message appears to be incorrect.
Anyone else seeing this?

lperepolkin1’s picture

Title: [SOLVED] : Blank screen instead of elFinder screen. » Blank screen instead of elFinder screen.
Version: 6.x-1.x-dev » 7.x-2.x-dev
viqa’s picture

I also had a blank screen, but the problem was in jquery. Newest version (1.7,...) doesn't use some functions.
I changed settings in /admin/config/media/elfinder -> MISCELLANEOUS SETTINGS -> Use system jQuery: NO.
So now elFinder uses jquery files from library folder: jquery-1.6.1.min.js and jquery-ui-1.8.13.custom.min.js and it's working.

Drupal 7.43
CKEdtitor 4.5.7
elFinder library 1.2
elFinder module 7.x-0.8

HunSquirell’s picture

#20 Just worked fine for me. I got this problem, came here, did what You wrote and it was handled in 5 minutes. You made my day! Thank You Viqa.

Drupal core 7.52
CKEditor 7.x-1.16
elFinder file manager 7.x-0.8

nwom’s picture

Status: Active » Closed (works as designed)

The blank screen occurs when an incompatible library version is installed. The most recent library version that works is V. 2.1.7 from https://github.com/Studio-42/

You can download v. 2.1.7 from here:
https://github.com/Studio-42/elFinder/releases/tag/2.1.7

It would be great if newer version of elFinder worked though, but thought I'd help those looking for a solution.

mrcniceguy’s picture

#20 worked for me.
Drupal version 7:56
Jquery version 1.2
Elfinder Version 7.x-1.x-dev

\thanks.