Hi,

I installed elFinder (v7.x-0.6) last week and everything appeared to be working OK. I tested it by uploading a 30MB without issues. This week, however, when I try uploading a file of any size I get a "Unable to upload" error message. I upgraded to v7.x-1.x-dev and have the same problem. Tried differenct browsers on different PCs and still no luck. Looking at the logs I see the following two messages pop-up after each attempt.

Warning: array_keys() expects parameter 1 to be array, null given in elFinder->run() (line 321 of /sites/all/libraries/elfinder/connectors/php/elFinder.class.php).

Notice: Undefined index: extract in elFinder->run() (line 321 of /sites/all/libraries/elfinder/connectors/php/elFinder.class.php).

I appreciate any help anyone can provide me helping me resolve this. I have spent a whole day trying different things, uninstalling/reinstalling the plugin, disabling other ones, searching online, etc..

Kamal

Comments

kamal prasad’s picture

turns out that the Drupal Reports had nothing to with the upload problem. I can upload again just fine but the above two messages still appear in the report.

ph0enix’s picture

Is issue still exists in latest dev version?

almador’s picture

same problem - when I'm trying to upload file - I'm receiving message "Unable to upload".
it is also started suddenly, without any reasons
I'm using the last dev module (5 jul 2012) and last elfinder 2.0 rc1

almador’s picture

StatusFileSize
new2.64 KB
almador’s picture

here is temporary solution
if you are using 7.x-2.x-dev tar.gz (134.38 KB) | zip (171.5 KB) 2012-Jul-05
place file elfinder.drupalfs.driver.inc from older dev to elfinder/inc module directory

whitingx’s picture

I'm experiencing the same issue.

place file elfinder.drupalfs.driver.inc from older dev to elfinder/inc module directory

Where do you find elfinder.drupalfs.driver.inc ? Do you have a link to the older dev?

Thanks for any help you can give.

merto87’s picture

Same problem.

I've replaced elfinder.drupalfs.driver.inc with this (from elFinder repository):
http://drupalcode.org/project/elfinder.git/blob_plain/8f0547f:/inc/elfinder.drupalfs.driver.inc

And now it works!

whitingx’s picture

Worked great for me to. Thanks @merto87.

dark_kz’s picture

Worked for me too, thank you @merto87!

ph0enix’s picture

Try to check Jul 20 build

pjnes’s picture

StatusFileSize
new910 bytes

I've made a patch that basically replaces with file provided in #7, in case anyone's using drush make for deployments. Should apply to latest 2.x-dev.

pjnes’s picture

---

whitingx’s picture

StatusFileSize
new1.25 KB
ph0enix’s picture

#13 will be incompatible with last library builds - there are api changes.

If you will get incompatible issues with latest dev module build - try first update library to latest build from there:

http://sourceforge.net/projects/drupal-elfinder/files/Library/

elFinder 2.0 is still under development and api can be changed. 2.0rc1 was released long time ago and there was many api changes.

socialnicheguru’s picture

Issue summary: View changes
Status: Active » Needs review
bwaindwain’s picture

Status: Needs review » Closed (won't fix)

7.x-1.x branch is unsupported. Please use the 7.x-3.x branch.