Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to use a Dropbox volume as the only one in connector's roots option #3154

Closed
cristiangervasi opened this issue Apr 29, 2020 · 1 comment
Assignees

Comments

@cristiangervasi
Copy link

Hi, i'm using the latest version of ElFinder (2.1.56).

I'm trying to set a Dropbox volume as the only one when the page boots up.

When I try to set a single Dropbox volume in connector roots option, ElFinder doesn't start correctly and gives me this error:
Uncaught Error: Call to a member function listFolder() on null in D:\laragon\www\elfinder\php\elFinderVolumeDropbox2.class.php:628.

Meanwhile, when I set exactly the same Dropbox volume after a LocalFileSystem volume like the one included in the connector.maximal.php-dist example, the page boots up correctly and ElFinder work as expected with both volumes.

I checked the source code of that file and it seems that the $this->service variable is null when the cacheDir() function is called, but I can't figure out how to avoid this.

How can I fix this? Thank you for your awesome work on ElFinder!

@nao-pon nao-pon self-assigned this May 1, 2020
@nao-pon
Copy link
Member

nao-pon commented May 1, 2020

@cristiangervasi This is affected by a bug in the elFinder PHP connector. I will fix this.

Thanks! 👍

@nao-pon nao-pon closed this as completed in 662c7db May 6, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants