Title: Cannot upload themes, activate/deactivate plugins.
Last modified: January 30, 2024

---

# Cannot upload themes, activate/deactivate plugins.

 *  Resolved [Nate1](https://wordpress.org/support/users/nate1/)
 * (@nate1)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/cannot-upload-themes-activate-deactivate-plugins/)
 * This is a new one by me, Im admin and have root access, as far as Im aware no
   changes should have been applied to the site, but I cannot access any update 
   options in the admin area. 
   How is that possible? Is there a flag I can edit 
   in the database to enable that. I’ve disabled plugins I thought may effect that,
   one being User Role Editor.I can activate and deactivate themes. But there is
   no option available to upload a new theme. I believe someone may have changed
   settings, whjich may be mapped to the database, but trying to track down where
   that is. Adding a new Administrator doesn’t resolve the issue. Is there a flag
   set by the plugin that would effect this – please note I renamed the plugin to
   deactivate it. So can’t see what options where visible.

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Vladimir Garagulya](https://wordpress.org/support/users/shinephp/)
 * (@shinephp)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/cannot-upload-themes-activate-deactivate-plugins/#post-17384197)
 * There are ‘install_plugins’ and ‘install_themes’ related user capabilities, but
   they may be blocked via PHP constant below.
 * Look at wp-config.php, and/or scan all other site .php files for the PHP constant
   DISALLOW_FILE_MODS definition.
 * [https://developer.wordpress.org/reference/functions/wp_is_file_mod_allowed/](https://developer.wordpress.org/reference/functions/wp_is_file_mod_allowed/)
 *  Thread Starter [Nate1](https://wordpress.org/support/users/nate1/)
 * (@nate1)
 * [2 years, 4 months ago](https://wordpress.org/support/topic/cannot-upload-themes-activate-deactivate-plugins/#post-17385702)
 * Thank you, it was set as “DISALLOW_FILE_MODS” = true.

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Cannot upload themes, activate/deactivate plugins.’ is closed to new 
replies.

 * ![](https://ps.w.org/user-role-editor/assets/icon-256x256.jpg?rev=1020390)
 * [User Role Editor](https://wordpress.org/plugins/user-role-editor/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/user-role-editor/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/user-role-editor/)
 * [Active Topics](https://wordpress.org/support/plugin/user-role-editor/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/user-role-editor/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/user-role-editor/reviews/)

 * 2 replies
 * 2 participants
 * Last reply from: [Nate1](https://wordpress.org/support/users/nate1/)
 * Last activity: [2 years, 4 months ago](https://wordpress.org/support/topic/cannot-upload-themes-activate-deactivate-plugins/#post-17385702)
 * Status: resolved