WordPress.org

Ready to get started?Download WordPress

Forums

[resolved] [Plugin: NextGEN Gallery] Error 500 with Flash Upload - Only for Subscriber (6 posts)

  1. not2bug
    Member
    Posted 4 years ago #

    Hi,

    I am facing the well known Error 500 while uploading images using the Flash uploader. However, this only happens when I try doing this with a "subscriber" account (NextGen has been setup to allow a subscriber to upload images in a gallery). My Admin account can upload images using the flash uploader without any problems.

    This leads me to believe that there is some error with the way permissions are set or that the flash uploader prevents "subscriber" accounts from accessing certain functions in admin.php, etc (purely conjecture on my part). I'd really appreciate if anyone could give me some ideas on how to fix this. I do need the flash uploader to upload multiple images at once. If I turn it off, I am able to upload images using the "subscriber" account.

    Thanks a lot.

  2. Shane G
    Member
    Posted 4 years ago #

  3. not2bug
    Member
    Posted 4 years ago #

    Hi Shane,

    THanks for the links. However it is still a little unclear to me. Is there a way so that I can allow a subscriber account to still upload images/files without also having to allow them all the other tasks such as editing pages, etc? I'd appreciate any help.

    Also do you think plugins like RoleManager/RoleScoper might help me achieve this? What I'd really want is for a subscriber account that has no access to the Blog as such but is allowed to access NextGen Gallery upload (which you can set within nextgen) and upload images. Right now it seems that unless I make the user an author, he/she cannot upload images. However I don't want to give this user other capabilities such as editing posts/pages or creating new ones.

    Thanks a lot for any help.
    Cheers

  4. not2bug
    Member
    Posted 4 years ago #

    As a side note, I'd like to mention that the image upload actually does work for a "subscriber" if I disable the flash upload in NextGen. It seems that the flash upload technique might rely on some admin files which are inaccessible by the subscriber, or it is an issue with the way permissions are set by the flash uploader.

    However, I really do need a flash uploader to enable easy uploading of multiple image files.

  5. not2bug
    Member
    Posted 4 years ago #

    RESOLVED!

    Thanks again Shane for those links. Looking at it, I realised that I needed a way to modify the capabilities of each of the roles defined in WordPress. By default, both Subscribers and Contributors do not have the capability to Upload Files.

    I installed the Role-Manager plugin:
    http://www.im-web-gefunden.de/wordpress-plugins/role-manager/

    And used it to enable the "Upload File" capability for the "Subscriber" role. This fixed the Error 500 issue that I was having and now everything works as it should.

  6. jonnyd
    Member
    Posted 4 years ago #

    Hi I downloaded the role-manager plugin and now admin cant upload pictures as well as a subscriber!!
    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.