What did I have to do to get MT4 working?

| | Comments (0) | TrackBacks (0)
With the help of Rob Golding at beyondperception.net (where I am hosted) I had to do the following:

  1. Manually change the name of the mt-config.cgi.original file to mt-config.cgi
  2. Manually edit it so that the CGIPath entry reflected the path and not URL to my /cgi-bin/mt folder, and then do the equivalent for the StaticWebPath entry.
  3. Manually update the Database Settings in the mt-config file to reflect the mySQL databases that I created BEFORE installing MT4.  Make sure that the database has the full name which is likely to also reflect your domain (my database is called "movabletype" but as far as mt-config is concerned it is called "eatmorec_movabletype".  Sames goes for the DBUser entry.  Use the <domain_> prefix as well.
  4. Manually comment out all of the Database Settings bits that relate to the types of databases that I wasn't using (like Postgres).
  5. Add the path to the mt-config.cgi file to all of the (relevant) *.cgi files in the /cgi-bin/mt folder.  Like this:    
    1. # use MT::Bootstrap App => 'MT::App::CMS';
    2. use MT::Bootstrap App => 'MT::App::CMS', Config => '<your full domain path>/cgi-bin/mt/mt-config.cgi';
    3. The commented out line above is the original.  The second line is mine...  It is the FULL path as reflected in the     mt-check.cgi output (did I say that this is a very useful tool?  Run it before and after step #1 above).
  6. Edit each *.cgi file replacing the $ENV{MT_HOME} lines like this:
    1. # use lib $ENV{MT_HOME} ? "$ENV{MT_HOME}/lib" : 'lib';
    2. use lib '/home/eatmorec/public_html/cgi-bin/mt/lib';
  7. Final step was to correctly type in by database password having repeatedly got it wrong.
  8. When I'd done all of the above, late into the night with Rob at beyondperception.net helping me late into the night as well, it all worked fine!

0 TrackBacks

Listed below are links to blogs that reference this entry: What did I have to do to get MT4 working?.

TrackBack URL for this entry: http://www.eatmorechips.com/cgi-bin/mt/mt-tb.cgi/9

Leave a comment

About this Entry

This page contains a single entry by Nik Stanbridge published on August 31, 2007 3:36 PM.

What are pages? was the previous entry in this blog.

Just discovered the Support Center for my hosting service... is the next entry in this blog.

Find recent content on the main index or look in the archives to find all content.

Powered by Movable Type 4.1