Closed (fixed)
Project:
D7 Media
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
21 Jan 2011 at 20:55 UTC
Updated:
8 Apr 2011 at 17:48 UTC
Whenever I attempt to use the mass upload feature via plupload, it uploads all the data fine, then redirects the small upload popup to the single-image popup page. Attempting to use the single upload page merely results in the single upload-ed image being imported.
This issue occurrs on both firefox and webkit browsers. (Chrome, safari, etc.)
Comments
Comment #1
dirksonii commentedAlso doesn't appear to work in internet explorer.
Comment #2
dirksonii commentedThis issue is still outstanding
Comment #3
camdarley commentedSame issue for my Drupal 7 installation. Mass Upload doesn't work on both Safari and Firefox. I didn't test on Chrome or IE.
Comment #4
JacobSingh commentedI can't reproduce this. Can you provide the versions of media / styles / plupload and Drupal core you're using and steps to reproduce?
Comment #5
camdarley commentedDrupal 7.0
Media 7.x-1.0-beta3
Styles 7.x-2.0-alpha5
Plupload integration module 7.x-1.0-beta1
Comment #6
JacobSingh commentedHmm... should work. Any other debugging information available? watchdog logs, JS errors, etc?
Comment #7
camdarley commentedNo, no entry in the drupal log, no js errors, tested on local and remote server with same issue...
I also have errors like this http://drupal.org/node/903466 although i use the last version of views, but i don't thinks that's linked.
Very strange. I'm going to use the devel module to have more informations...
Comment #8
camdarley commentedI don't know how plupload works but i did another test with firefox and firebug.
I sent one file of 3M. click on "upload" button launch 4 successive POST requests with this params:
And i get this JSON response for each :
{"jsonrpc" : "2.0", "result" : null, "id" : "id"}I don't know if it could help...
Comment #9
camdarley commentedSorry, for other reason, i commented this lines:
After uncommented i get this message in the json response :
{"jsonrpc" : "2.0", "error" : {"code": 105, "message": "Invalid temporary file name."}, "id" : "id"}For more precise information, i modified the function like this :
And now i get this json :
{"jsonrpc" : "2.0", "error" : {"code": 106, "message": "Invalid temporary file name."}, "id" : "id"}The file i'm trying to upload have just six letter, no special caracters and end by ".jpg"
Comment #10
JacobSingh commentedHuh, maybe use error_log($file) to debug the filename you've got there so we know why it is failing?
Comment #11
camdarley commentedAdding
error_log($file_name);Uploading "test.jpg' return "p15oq0524boifetpjbi1de69q4.jpg" in the error log
Comment #12
camdarley commentedI get it working using this patch :
http://drupal.org/files/issues/plupload-workaround-22.patch
from this issue :
http://drupal.org/node/953242
Trying each patch's additions, it seems that one make the mass upload working :
Comment #13
JacobSingh commentedWhat webserver / OS are you using?
Comment #14
camdarley commentedI tested on a remote server (don't know what OS running it) and on a MAMP server running on OSX. Same issue using IE8 from Windows 7.
Comment #15
JacobSingh commentedWeird... Did you try w/ a clean install? Maybe using the Media dev profile?
Comment #16
camdarley commentedI just tested with a clean install... now i have exactly this issue : http://drupal.org/node/953242
Comment #17
JacobSingh commentedIs this still an issue with the latest dev?
Comment #18
camdarley commentedNo that's working now. Thanks and sorry for not having changed the status sooner.