Skip to content Skip to navigation

Disabling Modules from the Database

Posted by: 

Sometimes, when upgrading, installing, or enabling a module, one can lock oneself out of one's site, get a white-screen-o'-death, or otherwise render the site inaccessible. (Or so I've heard. I, um, have a "friend" who did this.)

It's pretty easy to disable the offending module in the database. You can do this using phpMyAdmin or a GUI Tool such as MySQL Query Browser.

  1. Log in to phpMyAdmin (using first your WebAuth credentials and then your database user name and password)
  2. Select your database
  3. Choose the system table from the menu on the left
  4. Click Browse (at the top of the main window)
  5. Click the pencil icon next to the offending module to edit it
  6. Change the status of the offending module from 1 to 0
  7. Be sure that Save is selected in the dropdown menu at the bottom, then click Go
  8. Breathe easy

Who knew turning modules on and off could be reduced to a binary operation?!?