Jump to content

Recommended Posts

Posted

Hi,

I'm just starting the installation of MT and am using the TCH guide. After uncompressing the files it says to rename the folder to "mt/".

Should I really put the "/" in there?

thanks

Posted (edited)

Thanks.

I'm continuing on. The next thing I find is under Step 3 :Edit MT Config.

The tutorial says :

 

Uncomment the ObjectDriver, Database, and DBUser settings (remove the '#' at the beginning of each line):

ObjectDriver DBI::mysql

Database <database-name>

DBUser <database-username>

 

Unfortunately I cannot find any of these lines in my mt.cfg file :naughty:

???

Edited by rozeltf
Posted

You are correct, they are not in there. You need to add those lines to the mt.cfg fiile right below this section.

 

># The filesystem path to the 'db' directory, where your MT database
# files are stored. You will probably need to change this when you
# first install MT; instructions for doing so are in the Installation
# Instructions, in INSTALLING THE MOVABLE TYPE APPLICATION CODE, Step 8.

# DataSource ./db

 

Add the following:

 

ObjectDriver DBI::mysql

Database yourcpanelname-databasename

DBUser yourcpanelname-useryoucreated

 

Notes:

replace yourcpanelname with your actual cpanel name

replace databasename with the name of the database you created

replace useryoucreated with the name of the user you added to above database

Posted
You are correct, they are not in there.

 

Thanks for the code, I guess I'll use a different set of instructions as this tutorial is not up-to-date ...

Posted
Thanks.

I'm continuing on. The next thing I find is under Step 3 :Edit MT Config.

The tutorial says :

 

Uncomment the ObjectDriver, Database, and DBUser settings (remove the '#' at the beginning of each line):

ObjectDriver DBI::mysql

Database <database-name>

DBUser <database-username>

 

Unfortunately I cannot find any of these lines in my mt.cfg file  :dance:

???

 

The "default" MT.CFG file contains these entries down around line 40 or so. You may have acccidentally deleted them. If you haven't kept a backup of the original MT.CFG file you should be able to simply type them in again (just as you see them above in your note).

 

Let us know how you make out. The first time is a tad difficult but once you've done it you'll be Ok from there on out. (Take notes and keep backups of original files that you change). Let us know how you make out.

Posted
You are correct, they are not in there.

Thanks for the code, I guess I'll use a different set of instructions as this tutorial is not up-to-date ...

The installation instructions provided by TCH are intended for users installing the latest version of MT. The tutorial is up to date - for MT 3.x. You're apparently installing MT 2.661, which was released almost 18 months ago and is no longer supported or in active development.

 

The lines for ObjectDriver, Database, and DBUser do not appear in the default MT 2.661 mt.cfg file, and they need to be added, as TCH-Bruce indicated. This is what appears in the current MT 3.x mt.cfg file:

>## The following options are commented out: to uncomment an  ##
## option, remove the '#' at the beginning of the line.      ##
## First, however, make sure that you understand the purpose ##
## of the configuration setting.                             ##
#
# Configuration for MySQL databases. Add the name of your database
# and the username that you have for logging in to that database
# below. The password needs to go in the file mt-db-pass.cgi.
#
# ObjectDriver DBI::mysql
# Database <database-name>
# DBUser <database-username>
# DBHost localhost
#

You can copy the above and paste it right under the 'DataSource' line in your mt.cfg file.

 

With that said, I don't understand why you would want to install MT 2.661 instead of the latest version of MT (which is currently MT 3.16). Many bugs and flaws that were identified in the MT 2.661 code were fixed in MT3, but these fixes will never be added to the MT 2.661 code. If you are intent on installing MT 2.661, there is a serious flaw that you are vulnerable to unless you download and install the plugin patch.

 

I don't know of any good reason for any user to install MT 2.661 instead of MT3. :)

Posted
I don't know of any good reason for any user to install MT 2.661 instead of MT3.  :)

 

I second David's comment and highly recommend you NOT install anything less than 3.15. There's no cost to download and install the latest version (one install/3 blogs, no tech support).

 

A link to download the free version is here

Posted

I don't know of any good reason for any user to install MT 2.661 instead of MT3.  :ph34r:

 

I second David's comment and highly recommend you NOT install anything less than 3.15. There's no cost to download and install the latest version (one install/3 blogs, no tech support).

 

A link to download the free version is here

 

So here I am working on my blog and notice at the bottom the version I'm using is 2.661! I look at my account and I downloaded the wrong one, I race back to the forums and find your posts. I am sorry for the confusion :D The tutorial was perfect :)

 

Thanks again

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...