Closed (fixed)
Project:
Plup
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
20 Jan 2012 at 00:04 UTC
Updated:
22 Jan 2012 at 16:07 UTC
Jump to comment: Most recent
Did install correctly, copied plup library set the image field to plupupload
when i drag images in the image drag frame the first image pops up full screen and nothing happens
is this normal, I guess not
Comments
Comment #1
tacoparty commentedI had the same problem but I agree this looks like a great module once it's working correctly. I was sort of able to use it with a node that already had about 10 images attached to it. When I switched the widget to Pupload I was able to see the already uploaded images in the node edit area. I just can't upload or add images with it, which I guess is kind of the point. But I think this will be great once the kinks are worked out.
Comment #2
thaistore commentedyes exactly same problem, but why is this released if not tested, now I have to disable everything
Comment #3
Anonymous (not verified) commentedI've just downloaded version from here and tested it and it works just fine(I've tested it at work so not at my home computer).
Plupload has it's own permission, don't forget to enable it if you are not admin. Otherwise you'll get (probably http) error in queue.
What about when you select images without dragging them but selecting them as usual instead?
Comment #4
tacoparty commentedSetting a maximum file size and resolution made it work for me, and it works great. Exactly what I've been looking for for a long time, works great!
Comment #5
Anonymous (not verified) commentedWait until d.org regenerate new dev package(newer than 16 jan.). There is bugfix for this.
Comment #6
franzkewd commented@ #5. The dev package available now is 19 Jan.
Nice module, can't wait to test.
Cheers
Comment #7
thaistore commentedif i just select images, nothing happens.........
if i click on add button, nothing happens, is this beause of a browser? I use chrome
Comment #8
thaistore commentedupdate, i installed latest dev 21 jan, THIS IS JUST AMAZING!!!!
ivanjaros SHOULD GET A BRONZE STATUE FOR THIS MODULE
THANK YOU SO MUCH!!!!! DRUPAL 7 IS NOW COMPLETE BECAUSE OF YOU ivanjaros
Comment #9
Beaker633 commentedMake sure you have the latest (from tonight) installed.
Comment #10
thaistore commentedi just tested it again, i get this error
Notice: imagecreatefromjpeg() [function.imagecreatefromjpeg]: gd-jpeg, libjpeg: recoverable error: Corrupt JPEG data: premature end of data segment in image_gd_load() (line 237 of /home3/med/public_html/mrelax/modules/system/image.gd.inc).
Comment #11
Beaker633 commentedOK, so was still getting errors (although the drop tonight worked much better). The error on the screen is just 'HTTP' error....
To diagnose, I changed the plup_plup_file_validation_alter method to:
The error was:The file is 278.13 KB exceeding the maximum file size of 1 byte.
Looking at the code.. the file size method expects an integer, the setting is '1 MB'.
I will investigate a fix and post when I have one, but it's nearly bedtime :)
update .. found that parse_size handles the issue.,, updated the code above. It now works for me.
Great module!!!
Comment #12
W.M. commentedI will happily test this module today after I return home by God's will. I hope it integrates fine with insert and filefield paths modules. Any ideas?
Thanks very much developer. Will happily test it.
Comment #13
Anonymous (not verified) commentedthaistore - it sounds that the error has nothing to do with the module.
Beaker633 - That's interesting. I've tested it many times and it always worked but when you look at the file_validate_size there definitely has to be number. Weird.
Comment #14
thaistore commentedHmmm i still get issues, i can upload them, i can see images are there but when i click save I get this error
Notice: Trying to get property of non-object in file_field_presave() (line 220 of /home3/altermed/public_html/relax/modules/file/file.field.inc).
Notice: Undefined property: stdClass::$uri in file_save() (line 573 of /home3/altermed/public_html/relax/includes/file.inc).
Notice: Trying to get property of non-object in file_field_presave() (line 220 of /home3/altermed/public_html/relax/modules/file/file.field.inc).
Notice: Undefined property: stdClass::$uri in file_save() (line 573 of /home3/altermed/public_html/relax/includes/file.inc).
PDOException: SQLSTATE[23000]: Integrity constraint violation: 1062 Duplicate entry '' for key 'uri': INSERT INTO {file_managed} (filesize, status, timestamp) VALUES (:db_insert_placeholder_0, :db_insert_placeholder_1, :db_insert_placeholder_2); Array ( [:db_insert_placeholder_0] => 0 [:db_insert_placeholder_1] => 1 [:db_insert_placeholder_2] => 1327144004 ) in drupal_write_record() (line 6888 of /home3/altermed/public_html/relax/includes/common.inc).
what can this mean?
Comment #15
sam6 commentedIt works for me. Ivanjaros should get a golden statue for this.
Thank you so much!
Comment #16
Anonymous (not verified) commentedthaistore - try the module on fresh installation without any contrib modules to see if you get the same error(try it on the same server).
Comment #17
mathiasgmeiner commentedFirst of all: Thanks for this fantastic module!
I had the same issue as Beaker633 http://drupal.org/node/1411018#comment-5496310
I used your code and modified it like Beaker633, now everything works as expected!
When you are trying to upload images as user 1 (uid = 1) then file.inc bypass the validation, so no error for uid 1:
Comment #18
Anonymous (not verified) commentedI've added the parse_size function.
Comment #19
Anonymous (not verified) commentedI'm closing this. Please create one ticket per issue nex time.