• Hello,
    I working on a woocomerce web site and I wanted to allow some user add new product to my web,
    I manage to create a role of shop owner that can add new product and don’t have other premission (that don’t related to upload new product).
    The only problem that I have that the user cannot add image to a product (Get the Http error),
    When my user (the admin) upload the same image its work so I think its something with the capabilities that I give to this shop owner role but I don’t know why because I give him the “upload_files” capability.
    I am using the “User Role Editor” plugin to manage those capabilities,
    Someone know what’s gone worng?

    • This topic was modified 8 years, 4 months ago by asafmazuz.
Viewing 3 replies - 1 through 3 (of 3 total)
  • Hi there!

    Http error issue does not relate to ownership. This might be due to any plugin conflicts or memory limit.

    First solution
    You can add this to your wp-config.php file:
    define(‘WP_MEMORY_LIMIT’, ’64MB’);

    Second solution
    Try to disable all plugins one by one and check for the issue.

    Have a good day.

    Thanks

    • This reply was modified 8 years, 4 months ago by spv2389.
    Thread Starter asafmazuz

    (@asafmazuz)

    First, Thank you for your reply,
    I have already done the first thing,
    I will try now the sec solution,
    Whats really boder me that how it is possible that one user (me as admin) can upload image,
    and the other user (ths shop owner) can’t upload the same image (get the http error),
    I will try and update if its work.

    Thread Starter asafmazuz

    (@asafmazuz)

    Ok, the sec solution still don’t work,
    I think its somthing with the user capabilities and the role but I cann’t find what worng with it,
    you can think what else can be the solution?

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Image upload with user capabilities and role’ is closed to new replies.