As I explained in this issue: #714596: No Configurations this module is not working for me.

It is enabled and everything looks reasonable according to the status screen.

At first it was completely not working. All I see is a greyed out button. How it looks is in the attachments.

Then after turning off and on jquery ui module it started to work... for administrators.

Regular users still get the greyed out button. I assume it's not a normal permissions error, I don't see anything regarding the widget in the perm screen.

In the logs I get the error in the second screen.

Please help and thanks for making a great module!

Comments

elliotw’s picture

Enable Drupal's core Upload module and give users the permission 'upload files'. Looking at the swfupload_access() function shows that this is a requirement even though this doesn't appear to be documented anywhere.

if (!user_access('upload files')) {
  return FALSE;
}
Flying Drupalist’s picture

Category: support » bug

Thanks for the great finding. Sounds like a bug.

castawaybcn’s picture

Elliot, you just made my day with this. Thanks a lot!!!

danny_joris’s picture

Yeah, thanks Elliot! This should be added as a dependency in the .info file.

David Lesieur’s picture

Title: Only a grey button » Only a grey button (dependency on upload module)
Status: Active » Needs review
StatusFileSize
new1.34 KB

This module should probably not depend on a permission provided by an optional module. This patch removes the dependency by having swfupload providing its own permission.

skilip’s picture

Status: Needs review » Fixed

Comitted to HEAD, thanks guys!

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.