I am using the latest version of WordpressMU (2.6). I have it running with three blogs and one other user besides myself. On the blogs, I as administrator, can upload pics when creating posts. My other user, a blog owner, tried adding an image to a post and got a popup that stated "Sorry, uploads are closed". I cannot find documentation on this error anywhere. Can some help me with fixing this?
cafespain
Member
Posted 16 years ago #
Go to Site Admin-> Options on the blog in question and see if the Blog upload space and Upload File Types have any values next to them.
Upload File Types = jpg jpeg png gif mp3 mov avi wmv midi mid pdf
Upload Space = 10
Hmm, blush, running a Toggle Admin Menus plugin from wpmudev.org perchance? I fixed a typo which now allows the proper toggle of the Media Upload Library.
I went to Site Admin-> Edit (for the blog in question) and found that "Upload URL path" is empty. Could this be the problem?
I am running toggle admin menus plugin. How do I fix this?
cafespain
Member
Posted 16 years ago #
It may be. It should be something along the lines of wp-content/blogs.dir/0/files
Where 0 is the id of the blog in question.
Download new version, reset your checkboxes.
Problem sovled. Thanks to both of you. Unfortunately, I made the mistake fo trying both solutions at the same time so I'm not sure which one was correct but either way it is fixed. Thank you.
Great plugin, thanks.
I've uploaded the latest version
1035791772_ds_toggle_admin_menus.php
as well as toggled on and off all options.
I'm still getting "Sorry, Uploads are Closed" if I don't have all options either checked or all unchecked.
Update: Looks like if I enable "Manage Media Library", everything Works as Designed.
(un)Check the "Manage Media Library" checkbox. Hiding Media Library Menu redirects the upload form via the media buttons because it's the same file, upload.php.
You can hide the Media Library menu and keep uploads under media buttons if you remove the following lines in the plugin:
if( strpos($_SERVER['REQUEST_URI'], 'upload.php'))
wp_die('Sorry, uploads are closed.');
~ lines 358-360