MyBB Community Forums

Full Version: Disabling All Plugins
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi,

I recently moved hosts and I couldn't get onto the site to disable all the plugins before I did so I was unabled to disable the plugins. Now on forums.vorbb.com you can see some stuff is messed up, So I was wondering how to delete all the plugins maybe via a SQL query?
Delete the contents of /inc/plugins
That won't work. You see plugins are enabled even though the .php file isn't there.
Did you transfer your files across too?? If you did you'd have all the plugin files there still, if not, your best bet would be to upload them again and just deactivate them normally. A query can't disable plugins, they add settings, templates, database columns, and make template changes, only the plugin file contains the code to undo these changes.
You can disable all plugins by adding this to the /inc/init.php file near the top but after the <?php starter line.

define("NO_PLUGINS", "1");

That might give you a chance to figure out how to fix things in the meantime.