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
| Comment | File | Size | Author |
|---|---|---|---|
| #13 | elfinder-drupalfs-driver.patch | 1.25 KB | whitingx |
| #11 | elfinder-driver_fix-1174808-11.patch | 910 bytes | pjnes |
Comments
Comment #1
kamal prasad commentedturns 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.
Comment #2
ph0enix commentedIs issue still exists in latest dev version?
Comment #3
almador commentedsame 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
Comment #4
almador commentedComment #5
almador commentedhere 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
Comment #6
whitingx commentedI'm experiencing the same issue.
Where do you find elfinder.drupalfs.driver.inc ? Do you have a link to the older dev?
Thanks for any help you can give.
Comment #7
merto87 commentedSame 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!
Comment #8
whitingx commentedWorked great for me to. Thanks @merto87.
Comment #9
dark_kz commentedWorked for me too, thank you @merto87!
Comment #10
ph0enix commentedTry to check Jul 20 build
Comment #11
pjnes commentedI'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.
Comment #12
pjnes commented---
Comment #13
whitingx commentedComment #14
ph0enix commented#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.
Comment #15
socialnicheguru commentedComment #16
bwaindwain commented7.x-1.x branch is unsupported. Please use the 7.x-3.x branch.