Disabling a plugin

From GeeklogWiki
Revision as of 21:44, 13 January 2007 by Dirk (talk | contribs) (How to disable a plugin manually)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

In case a plugin is causing an error that prevents you from accessing your Geeklog site (e.g. after a failed plugin install), here's what you can do to disable the plugin manually:

  1. Open your database in phpMyAdmin (or a similar tool - even the mysql command line shell will do if you have nothing else).
  2. Find the plugins table, usually called gl_plugins.
  3. In that table, find the entry for the plugin that you want to disable.
  4. Change the value of the field pi_enabled to 0 (zero).

Here's the SQL request to do this for a plugin named foo:

UPDATE gl_plugins SET pi_enabled = 0 WHERE pi_name = 'foo';

You should now be able to access your site again.