Hi,

I am trying to use the elFinder as a block content on a page and getting the error "unable to connect to backend".

I have attached a screenshot for review.

In my connector.php its looking for a files directory. I am guessing its looking for /sites/default/files which does exist.

What am I missing or doing wrong?

Thanks for your help.

CommentFileSizeAuthor
2012-09-18_0859.png25.95 KBgjaswal
Support from Acquia helps fund testing for Drupal Acquia logo

Comments

gjaswal’s picture

Update:

When I navigate to http://localhost/site/?q=elfinder I get the "Unable to connect to the backend".

I followed the ReadMe instructions but I cannot administer the backend.

Any help would be much appreciated.

Thanks

bancarddata’s picture

I was having the same issue with "unable to connect to backend". I fixed it by making sure I am using the latest dev build, and then also getting the latest elfinder library code. This seems not to work with the 2.0rc1 which is the recommended download.

I actually went to https://github.com/Studio-42/elFinder and hit the "ZIP" button to get a zip file of the latest code. The contents of this zip file get extracted to your sites/all/libraries/elfinder directory (I would delete the older version from that directory first). Then, for security purposes you should delete a few files from that directory after you extract the files, i.e. elfinder.html, php/connector.php, and php/connector.minimal.php (you will get warning messages about this if you don't).

The direct link to the zip download is https://github.com/Studio-42/elFinder/zipball/2.x

Hope this helps - worked great for me.

doronsever’s picture

Had the same problem also.
bancarddata solution worked like a charm!

rimen’s picture

worked for me too. Thanks!

jonn59’s picture

Same problem, thanks! :D

1kenthomas’s picture

Issue summary: View changes

FWIW same problem found by downloading latest Library from sourceforge, to match 2.x-dev...

gaurav.goyal’s picture

I am also having the same issue, and behavior is random, sometimes it works but most of the time is shows the error.

Thanks.

wOOge’s picture

I had the same issue — was using elFinder Module 7.x-2.x-dev (2015-Aug-24) — but after downloading elFinder v2.1.7 from here: https://github.com/Studio-42/elFinder/releases the error seems to go away.

NWOM’s picture

Status: Active » Closed (works as designed)

#8 is the correct way to fix this issue