Disabling a plugin

From GeeklogWiki
Revision as of 15:23, 18 January 2014 by Tom (talk | contribs)

(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.

As of Geeklog 2.0.0 a Rescue tool is now included with the Geeklog Install. If you are having an issue with a plugin you installed during or after installing Geeklog you can copy back your install folder and run the install again. A link to the Rescue Tool can be found on the installs main page in the top right hand corner.