CGIs : MT-Medic 1.34 Apr 26 2003 | # | C:93

MT-Medic 1.34

April 26, 2003 - updated February 8, 2006 (Download)

MT-Medic is not actually a plugin but rather a CGI application that allows you to do some usefuly or emergency tasks on your MovableType installation.

Currently MT-Medic performs the following tasks:

Configuration Listing
Lists all configuration entries of your MovableType installation.
Used for general troubleshooting.
Installed Plugins Listing
Lists all the plugins that you have installed as well as the template tags and filters that each adds to MovableType. It also shows any errors that the plugins may have.
Used when you have problems with a plugin or when you want to see which plugins and tags you have available.
Installed Filters
Lets you try out the effects of different global tag attribute and text formatting filters that are installed.
Used when you need to see how a filter affects the text that it renders.
Authors Administration
Allows you to change the contact information (name, nickname, email, etc.) and blog creation and log viewing privileges, as well as to reset the password of any MovableType author.
Used when a user has forgotten (and can’t retrieve) their password and for general user administration.
Blog/Author Permissions
Allows you to view and change any authoring permissions (post, edit, templates, etc.) on any blog in the system.
Used for changing permissions on blogs that have been created by other users.

If you know of other tasks that would be suitable for MT-Medic (i.e. administrative tasks that cannot be done using the MovableType interface), please let me know by sending email to


  1. Edit the mt-medic.cgi file and specify an $ADMIN_PASSWORD in the configuration section in order to view information about your installation and to administer MovableType.
  2. Upload the mt-medic.cgi into the same directory where you installed mt.cgi.
  3. Make sure that mt-medic.cgi has executable permissions (chmod 755).
  4. Open MT-Medic in your browser (

Note: Keep the $ADMIN_PASSWORD secret and do not reveal it to anyone. If someone helping you with your MovableType installation needs to see your configuration settings, you can specify an $INFO_PASSWORD in the mt-medi.cgi file. This password is fairly safe to share with other people. It will allow them to see your configurations and installed plugins, but it won’t allow them to view or modify your author and blog permissions.

Version History
  • Version 1.34 September 29, 2003
    Added “Add New Author” to author listing.
  • Version 1.3.3 June 15, 2003
    Improved plugins listing:
    • Catches more plugin warnings (that’s right, I’ve discovered $SIG{__WARN__}).
    • Highlights warnings and errors.
    • Adds links to plugin sources.
  • Version 1.3.2 June 12, 2003
    Fixed plugin error reporting when errors come from another module.
    Fixed parsing and UI when script is installed under a name other than mt-medic.cgi
    Fixed error when using on an installation that doesn’t have any blogs with entries with comments.
  • Version 1.3.1 June 1, 2003
    Sort configurations (and other stuff) aplhabetically.
    Fixed “Can’t use an undefined value as an ARRAY reference” error when not using custom templates.
  • Version 1.3 May 16, 2003
    Added support for viewing filter effects.
    Added plugin source listing for plugins with errors.
  • Version 1.2.2 May 14, 2003
    Fixed plugin parsing to ignore text in POD, comments, strings and beyond __END__.
    Added checking of use dependencies.
  • Version 1.2.1 May 9, 2003
    Removed hardcoded password.
  • Version 1.2 May 8, 2003
    Changed plugin listing to display filter and text-filter effects and to display tag values, when possible. Plugins are parsed for $VERSION information and require dependencies are checked.
    Added general authors configuration and blog listings.
    Added blog authoring permissions configuration.
  • Version 1.1 April 28, 2003
    Changed password protection to use $INFO_PASSWORD for config and plugin listings and $ADMIN_PASSWORD for admin stuff.
  • Version 1.0 April 28, 2003
    Added configuration listing. Changed logged-in warning on bottom of page.
  • Version 0.9 April 26, 2003
    Original release.