When the Composing Stick was being set up I encountered a problem with my web host's security configuration. When I tried to log on to Movable Type I would get the error
Got an error: Error opening file '/mt-config.cgi': No such file or directory
This was easily solved by editing lib/bootstrap.pm
sub BEGIN {
$ENV{'MT_HOME'} = '/home/username/public_html/mt';
my ($dir, $orig_dir);
require File::Spec;
if (!($dir = $ENV{MT_HOME})) {
Line 2 was added with the full path to Movable Type and the system started working
Recently I went to configure Microsoft Live Writer and during the configuration process I got the error again. A quick check showed that the web site was functioning correctly, so why not Live Writer?
The answer, it turns out, is very simple. Live Writer communicates with Movable Type through mt-xmlrpc.cgi, this does not use bootstrap.pm so the code needs to added to mt-xmlrpc.cgi as well
sub BEGIN {
$ENV{'MT_HOME'} = '/home/username/public_html/mt';
require File::Spec;
if (!($dir = $ENV{MT_HOME})) {
Once this has been done the Live Writer is able to link up and you can post to your blog
ooohhhh you saved my life! thank you! thank you!