Active
Project:
Plup
Version:
7.x-1.x-dev
Component:
Code
Priority:
Major
Category:
Bug report
Assigned:
Unassigned
Reporter:
Created:
23 Jan 2012 at 03:09 UTC
Updated:
23 Oct 2014 at 14:13 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
Anonymous (not verified) commentedAre you non-admin user and have you forget to set permission?
Comment #2
thaistore commentedno, i am admin, permissions are set by default
Comment #3
Anonymous (not verified) commentedThat's strange. I have Plup on three sites and it works fine. Do you have the last version?
If not, dl and install. If the problem persits you have to find out what's causing this by yourself because the module works for me and I don't have anything I can work with here.
Comment #4
thaistore commentedyes i have latest version from 23...
how to find out what is causing the problem?
Comment #5
thaistore commentedI could upload with regular image upload field. I am really clueless what might be wrong. The uplaoding just stops in the middle of upload.
I dowloaded plup from this page GPLv2
http://www.plupload.com/download.php, put it in the plup folder
is this module working for everybody else?
I have pretty standard module on my site, nothing fancy I would say
Comment #6
thaistore commentedI got these errors in the admin now
Notice: Undefined property: stdClass::$user in plup_field_attach_presave() (line 592 of /home3/altermed/public_html/relax/sites/all/modules/plup/plup.module).
Notice: Undefined index: in plup_field_attach_presave() (line 594 of /home3/altermed/public_html/mrelax/sites/all/modules/plup/plup.module).
Warning: Invalid argument supplied for foreach() in plup_field_attach_presave() (line 596 of /home3/altermed/public_html/relax/sites/all/modules/plup/plup.module).
can this help?
Comment #7
Anonymous (not verified) commentedYes that helps.
Comment #8
Anonymous (not verified) commentedI cannot reproduce this behavior.
Similar/exact the same error was triggered before when user saved entity with one bundle with the same name(like user), but I fixed it few days ago.
Comment #10
Anonymous (not verified) commentedComment #11
thaistore commentedworks fine, the host changed something, so now it uploads
GREAT MODULE
Comment #12
7wonders commentedI am also getting these exact same errors immediately after creating a new user on my dev machine (no matter which type of registration permissions I set i.e. admin approval, no admin approval, no email verification etc). I have set the permissions to authenticated users allowed to use plup. Let me know if there is anything else I can provide.
Comment #13
Helrunar commentedI can reproduce this issue with an new user.
Replace line 592 in plup.module
with
solved it for me and should work.
Comment #14
Helrunar commentedSorry, the solution, i have written in the last post, don't work. But I have seen, it will only print out the notice on creating a new user. After the creating the user all will work fine.
Comment #15
Anonymous (not verified) commentedComment #16
Anonymous (not verified) commentedTry the new version tommorow.
Note: move plupload into sites/all/libraries !!
Comment #17
Anonymous (not verified) commentedComment #18
Anonymous (not verified) commentedI am logged in as user 1 (admin), and this is working on one website but not another. I use a default installation of Drupal to build sites so all the same modules are installed and in use, plus all the libraries (sites/all/libraries) are the same. Any idea why I'd be getting an Access Denied message in the log and the Error: HTTP Error. on the Plupload widget? I could understand for any other user, but user 1? (And yes, I did check the permissions, and the admin does have access).
I've attached some screenshots of both the HTTP Error and the Error Log.
PLEASE advise!
Comment #19
Anonymous (not verified) commentedFigured i'd add in what the page says when you click on the Location link for the Error Log:
{"error_message":"Only JPEG, PNG and GIF images are allowed."}
I tried multiple types of images: jpg, jpeg, png and it won't work...
Ideas? Please.....
Comment #20
Anonymous (not verified) commentedNo updates on this? Any help would be REALLY appreciated....
Comment #21
puppyman commentedAlso getting access denied in error log... Seems it can't make the temporary folder to generate the thumbnails while uploading.
type: access denied
location: sites/default/files/styles/thumbnail/temporary/p17orqh5no10spct0jqltmg8t4.JPG
I'm user 1... etc etc... :/
Comment #22
theoracleprodigy commentedI have the same issue. I get a access denied in the error logs. I have even gone as far as to create the temporary directory and give it rights. Still it doesn't work. The add button and image seem like they work on the front end. There is no thumbnail but the browse and add work then no image shows up. Is there a way to get more of the debug information out of this?
Comment #23
thelocaltourist commentedI'm having the same issue. This also occurred with Node Gallery and the plupload module. I'm using Pantheon. Is anyone else?
Comment #24
theoracleprodigy commentedWe moved on to the multiupload filefield widget. The multi upload module will be compatible and part of version 8. I would highly recommend giving it a try. We have pressflow and caching turned on with zero issues.
Comment #25
thelocaltourist commentedThanks! Looks like we're going to be doing the same.
Comment #26
geerlingguy commentedI would also recommend looking at another module if you can do so, but for those who are using Plup, one potential solution to this error is to change the temporary_uri variable name; it looks like if you have both plupload and plup modules installed on your site, you may have accidentally overridden the value of the
plupload_temporary_urivariable (which plup expects to be a system path, but plupload expects to be a stream wrapper, e.g.temporary://), causing plup to fail.Comment #27
itqn2004 commentedPut this code in settings.php
$conf['image_allow_insecure_derivatives'] = TRUE;
Hope can help.