Installing MT Protect

  1. Extract the distribution and preserve the directories. The directories that have been extracted correspond to the directories in your Movable Type installation. Upload these directories to your Movable Type installation such that file structure looks like so (where mt-static is your StaticWebPath):

    MT_DIR/
    |__ plugins/
    |  \__ Protect/
    |     |__ Protect.pl
    |     |__ mt-protect.cgi
    |     |
    |     \__ schemas/
    |     |  |__ (3 schema files)
    |     |
    |     \__ lib/
    |     |  |__ YAML.pod
    |     |  |__ YAML.pm
    |     |  |
    |     |  \__ YAML/
    |     |  |  |__ (4 .pm files)
    |     |  |
    |     |  \__ Protect/
    |     |     |__ CMS.pm
    |     |     |__ Groups.pm
    |     |     |__ Protect.pm
    |     |
    |     \__ tmpl/
    |        |__ (12 .tmpl files)
    |
    |__ php/
    |  \__ plugins/
    |     |__ block.MTBlogProtect.php
    |     |__ block.MTEntryProtect.php
    |     |__ function.MTProtectInclude.php
    |
    |__ mt-static/
    |  \__ /mt-protect/images/
    |     |__ openid.gif
    |     |__ typekey.gif
    

    Set the permissions of mt-protect.cgi to 755 and if the plugin was successfully installed, you should see something similar to this on the Plugins listing under System Overview.

    MT Protect Registration

  2. Enter the following into your address bar changing it as appropriate for your website and Movable Type installation

    http://www.yourdomain.com/path/to/mt/plugins/Protect/mt-protect.cgi
    

    On doing so, you will be greeted by the MT Protect Installation screen. Simply follow the instructions to install MT Protect. If the installing/upgrading screen appears to hang, empty your browser's cache. Recommended browser: Mozilla Firefox

  3. Finally, go to the Plugins listing under System Overview, find the MT protect entry (as shown in the screenshot above) and click the Show Settings link. You will then get a list of all your weblogs, for each weblog that you wish to use MT Protect on, click the Enable link.

    Enable MT Protect

4 Comments

James McNally said:
on Jan 31, 2008 5:32 PM | Reply

I'm getting an error at Step 2. (when I plug the URL into my address bar after copying the files into their proper places.)

"Can't call method "prepare" on an undefined value at lib/Protect/CMS.pm line 991."

Hope you can help. I'm running MT 4.01.

David Guion replied to James McNally's comment:
on Feb 11, 2008 1:58 AM | Reply

Hi James...

I'm experiencing the same exact issue. Have you been able to find a resolution?

Thanks.

David

Arthur van der Graaf said:
on Feb 19, 2008 11:19 AM | Reply

I'm having the same problem, running MT 4.0

gpunx said:
on Aug 8, 2008 11:03 PM | Reply

i am having the same problem.

message: Can't call method "prepare" on an undefined value at /usr/local/blogs/MTOS-4.12-en/plugins/Protect/lib/Protect/CMS.pm line 991.

using: - kubuntu 8.04 - perl 5.8.8-12 - apache 2.2.8-1ubuntu0.3 - MT version MTOS-4.12-en

thanks for any assistance anyone can give.

garrett

Leave a comment

Preview