This module still does not work for me, i downloaded latest version

When it uploads it stops and i get error

Error: HTTP Error.

this module will rock so much when it will work

CommentFileSizeAuthor
#18 Screen Shot 2012-10-17 at 11.08.15 AM.jpg85.3 KBAnonymous (not verified)
#18 Screen Shot 2012-10-17 at 11.08.31 AM.jpg39.32 KBAnonymous (not verified)

Comments

Anonymous’s picture

Are you non-admin user and have you forget to set permission?

thaistore’s picture

no, i am admin, permissions are set by default

Anonymous’s picture

That'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.

thaistore’s picture

yes i have latest version from 23...

how to find out what is causing the problem?

thaistore’s picture

I 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

thaistore’s picture

I 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?

Anonymous’s picture

Yes that helps.

Anonymous’s picture

I 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.

Anonymous’s picture

Status: Active » Closed (cannot reproduce)
thaistore’s picture

works fine, the host changed something, so now it uploads

GREAT MODULE

7wonders’s picture

Status: Closed (cannot reproduce) » Active

I 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.

    Notice: Undefined property: stdClass::$user in plup_field_attach_presave() (line 592 of /home/quickstart/websites/dev.dev/sites/all/modules/plup/plup.module).
    Notice: Undefined index: in plup_field_attach_presave() (line 594 of /home/quickstart/websites/dev.dev/sites/all/modules/plup/plup.module).
Helrunar’s picture

Category: feature » bug
Status: Active » Needs review

I can reproduce this issue with an new user.
Replace line 592 in plup.module

$bundleKey = (isset($entityInfo['entity keys']['bundle']) && !empty($entityInfo['entity keys']['bundle'])) ? $entityInfo['entity keys']['bundle'] : $entity_type;

with

$bundleKey = (isset($entityInfo['entity keys']['bundle']) && !empty($entityInfo['entity keys']['bundle'])) ? $entityInfo['entity keys']['bundle'] : $entity;

solved it for me and should work.

Helrunar’s picture

Sorry, 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.

Anonymous’s picture

Status: Needs review » Active
Anonymous’s picture

Status: Active » Needs review

Try the new version tommorow.
Note: move plupload into sites/all/libraries !!

Anonymous’s picture

Status: Needs review » Closed (fixed)
Anonymous’s picture

Status: Closed (fixed) » Active
StatusFileSize
new39.32 KB
new85.3 KB

I 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!

Anonymous’s picture

Figured 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.....

Anonymous’s picture

No updates on this? Any help would be REALLY appreciated....

puppyman’s picture

Also 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... :/

theoracleprodigy’s picture

I 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?

thelocaltourist’s picture

I'm having the same issue. This also occurred with Node Gallery and the plupload module. I'm using Pantheon. Is anyone else?

theoracleprodigy’s picture

We 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.

thelocaltourist’s picture

Thanks! Looks like we're going to be doing the same.

geerlingguy’s picture

Issue summary: View changes

I 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_uri variable (which plup expects to be a system path, but plupload expects to be a stream wrapper, e.g. temporary://), causing plup to fail.

itqn2004’s picture

Put this code in settings.php
$conf['image_allow_insecure_derivatives'] = TRUE;
Hope can help.