Fix for Multiple Logon Login Fix for Movable Type 3.16

Submitted by Patrick Grote on Mon, 04/25/2005 - 2:40pm.

Yesterday brought the problem and today brings the answer. Well, answers. There are two ways you can fix the multiple login issue afflicting your Movable Type install if you placed it in the root directory.

JANKOWSKI SOLUTION

The first is a quick and easy fix that has been termed the JANKOWSKI solution, so named as it refers to the person who posted it on the Movable Type forums.

The Jankowski solution involved modifying your APP.PM file. This is located under the LIB/MT subdirectory of your installation:

 

 

 

 

If you don't have a copy of Movable Type on your local machine you'll need to FTP it.

After you open APP.PM with a text editor you need to make the following changes:

It's line 583 of App.pm in 3.16 - the first three lines will look like this when you get there:

sub app_path {
   my $app = shift;
   return $app->{__path} if exists $app->{__path};

Change the third line to this:

sub app_path {
   my $app = shift;
   return $app->mt_path;

This change works great and will allow you to run your Movable Type installation from the root directory. There are two concerns with this:

  1. Will this change break anything? I don't know. I know it worked on the installations I tested it on, but I would be concerned with new plugins that are released since Six Apart made the change for plugin authors.
  2. Is this supported by Six Apart? I don't know since my ticket is still open with no answer and there hasn't been an official message from them.

FULL MOVE SOLUTION

The second and most time consuming option is to move your MT files. This involves more work, but is guaranteed to work for you.

Logon using an FTP client to your hosting account. I use SmartFTP, which is free for non-commercial use.

Go to the WWW or PUBLIC_HTML directory and you'll see your MT files. It's going to look like this:

 

 

 

 

Next, create a new subdirectory. I called mine MT and move each of the basic MT subdirectories into it. The ones you need to move are the following:

  • docs
  • examples
  • extlib
  • images
  • lib
  • php
  • plugins
  • schema
  • search_templates
  • tmpl
  • tools

After that is completed your folder should look like this:

 

 

 

 

Now you need to move the Movable Type files out of your ROOT directory and into your MT directory. Make sure you move these files:

  • mt-add-notify.cgi
  • mt-atom.cgi
  • mt-check.cgi
  • mt-comments.cgi
  • mt-db-pass.cgi
  • mt-db2sql.cgi
  • mt-search.cgi
  • mt-send-entry.cgi
  • mt-tb.cgi
  • mt-testbg.cgi
  • mt-view.cgi
  • mt-xmlrpc.cgi
  • mt.cfg
  • mt.cgi
  • mt.js
  • styles.css

This what it will look like when you're finished moving:

 

 

 

 

The last thing you need to do is modify your MT.CFG file. This is a critical step. In your file there is a line that looks like this:

# Movable Type uses the CGIPath setting to construct links back to
# CGI scripts; for example, the MT tag <$MTCGIPath$> is substituted
# with the value of the CGIPath setting. You will need to change this
# value when you first install MT; instructions for doing so are in
# the Installation Instructions, in INSTALLING THE MOVABLE TYPE
# APPLICATION CODE, Step 3.

CGIPath http://www.yourwebsite.com

Change the CGIPath to this:

CGIPath http://www.yourwebsite.com/mt/

Save the file and FTP to your site.

Whew. Lots of work, but now you've ensured that not matter what you're in sync with Six Apart.


add new comment | 5157 reads

ndOsQYaiVXuqP

Submitted by Anonymous on Thu, 02/18/2010 - 6:38am.

drotiki EROTIK snaipers EFUKT


EzUbrTcEADn

Submitted by Anonymous on Tue, 02/16/2010 - 9:49am.

works sites LITEROTICA gods sites KAKTUZ


VaFryEJHqdLFaujUOW

Submitted by Anonymous on Wed, 02/10/2010 - 1:24pm.

dirtyi web THEHUN likes bams SPANKWIRE


qVmvMfwaok

Submitted by Anonymous on Sun, 01/31/2010 - 7:14pm.

likes riders thehun yellow bad boys blue www spankwire copm


XBVXqOVZAzXLmoCdMK

Submitted by Anonymous on Wed, 12/16/2009 - 7:34pm.

Good morning monique lolia gool life weed lolipops


tppkmLmgxSilvLV

Submitted by Anonymous on Wed, 11/25/2009 - 9:59am.

efrgtyh krystal79 grrgrerge pictureview.com


vkxdkeVcmf

Submitted by Anonymous on Wed, 11/25/2009 - 12:15am.

efrgthy darlina gttgtt nakednews.com


CGobzWHwfWOr

Submitted by Anonymous on Tue, 11/24/2009 - 7:23pm.

gfdddf lia model rfrgthy kitko


wcReedprPnujxxlrJfp

Submitted by Anonymous on Tue, 09/22/2009 - 10:15am.

Hello Perdunky!


JrKtuqBqvrJXMAET

Submitted by Anonymous on Sun, 09/20/2009 - 5:32am.

6MUM2Q http://gok9ejqnFfglrk63mdg.org


TTQfAgMDkXKJ

Submitted by Anonymous on Mon, 08/03/2009 - 10:04pm.

SMBhFZkHAMvKrele

Submitted by Anonymous on Tue, 07/28/2009 - 9:40pm.

tcychvccf hot bikinis yfvjhgv fistingcentral


SKDeBktmJSVjj

Submitted by Anonymous on Tue, 07/28/2009 - 10:02am.

wesfdrg girl webcam wefsrg monstersofcock


IqrSHOhgnR

Submitted by Anonymous on Mon, 07/27/2009 - 4:39pm.

ert wdefr cumshots wdefsdrgvfb xxx passwords


kfCNkvrYPHsjUbeB

Submitted by Anonymous on Thu, 07/02/2009 - 9:12am.

amvEZDQoda

Submitted by Anonymous on Fri, 06/26/2009 - 1:50pm.

KGRynzFgmZsmJKOhDCy

Submitted by Anonymous on Tue, 09/22/2009 - 10:14am.

Hello Perdunky!


cwuyXtGjzOOOuxSeff

Submitted by Anonymous on Wed, 06/24/2009 - 6:15am.

OMKgiFqlSzSAea

Submitted by Anonymous on Tue, 06/23/2009 - 12:54pm.

wdefrg of thehun wfrthnyj www spankwire ocm


vvwiHiQPNlgk

Submitted by Anonymous on Sun, 06/14/2009 - 1:13am.

WeLtavCCdJKy

Submitted by Anonymous on Thu, 05/21/2009 - 1:30am.

qwfgehrtnm danali whejtymg anal piericing


CliqbpBPZGahKHdO

Submitted by Anonymous on Wed, 05/20/2009 - 5:45pm.

gSGDnvSjuYVpYpZpWZE

Submitted by Anonymous on Wed, 05/20/2009 - 11:09am.

fFqESaobsUayavrvGct

Submitted by Anonymous on Wed, 05/20/2009 - 11:08am.

plogerHBNDAthSzmIK

Submitted by Anonymous on Wed, 05/20/2009 - 4:44am.

SlCMnlHXIlyNeZbxm

Submitted by Anonymous on Wed, 05/20/2009 - 4:42am.

kPREbnszvPxYHKXx

Submitted by Anonymous on Tue, 05/19/2009 - 10:42pm.

ikmMENUfTN

Submitted by Anonymous on Tue, 05/19/2009 - 10:08pm.

wefgrhtdn anal pics wgrhtnbgerb analhentai


QeRlvYeYUvMN

Submitted by Anonymous on Tue, 05/19/2009 - 4:26pm.

tPCkjndrlInF

Submitted by Anonymous on Tue, 05/19/2009 - 9:57am.

yNvtcEILOaZa

Submitted by Anonymous on Tue, 05/19/2009 - 9:23am.

igDJHvqcHpnKQzZ

Submitted by Anonymous on Tue, 05/19/2009 - 9:22am.

qeweyju free bbw amateur wefgrhtyn amateur4u


GfCXQabWohTedBNraJf

Submitted by Anonymous on Mon, 05/18/2009 - 8:45pm.

wergthymh amateur usa wegrhtynmhj free amateur photos


vKYnQBMNFKQBm

Submitted by Anonymous on Mon, 05/18/2009 - 8:44pm.

jNRQuxtxhmdUVHpd

Submitted by Anonymous on Mon, 05/18/2009 - 8:43pm.

rgthwthht amateurpla 2q3w4gehrtbv amateur wife


csNBweKhZWOoZ

Submitted by Anonymous on Thu, 04/23/2009 - 5:04pm.

ehrtnrhtn free cunt video ghrwhtehy bikini team


KMmlTNvDebsa

Submitted by Anonymous on Sat, 04/18/2009 - 6:33am.

xcnbvsvyujh http www thehun com evbhrjfur gu spankwire websites


tRRNnNnkBtDialmbb

Submitted by Anonymous on Thu, 04/16/2009 - 4:01am.

wgehrtnbv www madthumbs c wqgnjlqerg literotica con


ANyExtsjmWkJZmk

Submitted by Anonymous on Mon, 04/13/2009 - 8:01am.

thybvkbhjrgkf mature sluts wife vwhegrkjbgwr pictures of maggie q naked


vjnFeBzpdNQeQmBDlq

Submitted by Anonymous on Mon, 04/13/2009 - 12:51am.

whrtnb[viklnq theamateurplanet 3ghtbnkjnvqe anal women


ZPflsvAkobKYCfMB

Submitted by Anonymous on Fri, 04/10/2009 - 11:35am.

gerhtbvj;qipkl naked indians qiejgregl;eg naked oiled women


aNkEoyDkRRwNndjJkS

Submitted by Anonymous on Tue, 04/07/2009 - 1:50am.

xWVWQnerQtqLeqc

Submitted by Anonymous on Tue, 04/07/2009 - 1:49am.

HPIKKVBzRZqR

Submitted by Anonymous on Fri, 04/03/2009 - 8:47pm.

1ilm1N dk9DwxldLla3j9dfVj