Needs review
Project:
Drag'n'Drop Uploads
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
7 May 2012 at 13:53 UTC
Updated:
29 Sep 2015 at 20:49 UTC
Jump to comment: Most recent
Comments
Comment #1
mavin773 commentedI would love to see turned into a patch and sent upstream, but sadly the poster is proposing modification of a CORE module and not Drag'n'Drop Uploads.
Comment #2
Johnny vd Laar commentedfile.inc and image.inc are part of Drag 'n drop uploads module. (inside the modules folder).
Comment #3
mavin773 commentedOh. :P
Comment #4
blanca.esqueda commentedI've created a patch that includes the fix for this issue.
Please check:
https://www.drupal.org/node/2043627#comment-9911113
Comment #5
blanca.esqueda commentedComment #6
blanca.esqueda commentedI got the same/similar error again, when adding a file fields to comments.
Strict warning: Only variables should be passed by reference in file_dragndrop_uploads_process() (line 92 of /var/www/drupal/sites/all/modules/contrib/dragndrop_uploads/modules/file.inc).
Warning: unlink(/var/www/drupal/sites/default/files/test.txt): Operation not permitted in drupal_unlink() (line 2282 of /var/www/drupal/includes/file.inc).
Applied the same patch and it worked.