Got an error: Error opening file '/mt-config.cgi': No such file or directory
This issue seems to crop up due to the way that MT tries to configure it's path. A one stop fix for this is to hardcode the path so that MT know how to find it's configuration files. This fix will ensure that all functions continue to work afterwards
Edit lib/MT/Bootstrap.pm. The first section is where we will add the fix:
sub BEGIN {
my ($dir, $orig_dir);
require File::Spec;
if (!($dir = $ENV{MT_HOME})) {after the "sub BEGIN" statement, insert the hard coded path:
sub BEGIN {
$ENV{'MT_HOME'} = '/home/<username>/public_html/mt'; <-- this line should be added
my ($dir, $orig_dir);
require File::Spec;
if (!($dir = $ENV{MT_HOME})) {You may have to adjust the previous line if your MT path resides elsewhere, such as /home/<username>/public_html/cgi-bin/mt.
If you're uncomfortable editing this file or would like some assistance, please open a ticket with the help desk and we'll be happy to help.

Help











