Skip Navigation

[Resolved] Subscriber unable to upload files.

This thread is resolved. Here is a description of the problem and solution.

Problem:

Allow subscriber user type to upload image attachments.

Solution:

Please try these in your website:

Dashboard-> Toolset-> Access control-> Post Types

find post type "Media", enable "Publish" permission for role "Subscriber", and test again.

Relevant Documentation:

https://toolset.com/documentation/user-guides/setting-access-control/

This support ticket is created 5 years, 6 months ago. There's a good chance that you are reading advice that it now obsolete.

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 8 replies, has 2 voices.

Last updated by davelow 5 years, 6 months ago.

Assisted by: Luo Yang.

Author
Posts
#1283453
Screenshot 2019-07-04 at 01.29.23.png
Screenshot 2019-07-04 at 01.28.07.png
Screenshot 2019-07-04 at 01.26.40.png

I am trying to:
allow subscriber user type to create posts, including uploading images. Access had been granted at CPT, and custom roles (uploading files).
Link to a page where the issue can be seen:
hidden link (need to become a subscriber at hidden link)
I expected to see:
the subscribed user should be able to create a CPT (Dogs), including uploading an image
Instead, I got:
error message " you have no access to upload files"

#1283629

Hello,

The problem you mentioned above is abnormal, please try these in your website:
1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2019, deactivate all custom PHP/JS code snippets, and test again

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

4) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

#1283675

1) Make sure you are using the latest version of Toolset plugins, you can download them here:
https://toolset.com/account/downloads/

Toolset plugins are of the latest versions

2) In case it is a compatibility problem, please deactivate all other plugins, and switch to wordpress default theme 2019, deactivate all custom PHP/JS code snippets, and test again

switched to wordpress 2019 theme, and deactivated all plugins except toolset, same results

3) Also check if there is any PHP/JS error in your website:
https://toolset.com/documentation/programmer-reference/debugging-sites-built-with-toolset/

ran a debug with firebug, some warnings but no errors.

4) If the problem still persists, please provide database dump file(ZIP file) of your website, also point out the problem page URL, I need to test and debug it in my localhost, thanks
https://toolset.com/faq/provide-supporters-copy-site/

my file is greater than 2MB, any other options?

#1283677

You can put the database dump file in your own google drive disk, and share the link in below private message box.

#1283689

can you disable the dump file in this thread? it wouldn't let me post privately without providing a file.

#1283699

You just need to copy/paste the googel drive disk link into that input box.

Or you can send the link to my own email box:
luo.y@onthegosystems.com

#1283707

Thanks for the details, I am downloading the file, will update here if there is any found.

#1283709

I can see the same problem with your database dump file, please try these in your website:
Dashboard-> Toolset-> Access control-> Post Types
find post type "Media", enable "Publish" permission for role "Subscriber", and test again.

I have tested it in my localhost with your database dump file, it works fine.

More help:
https://toolset.com/documentation/user-guides/setting-access-control/

#1283713

My issue is resolved now. Thank you!