Jump to content

Recommended Posts

Posted (edited)

Hello all,

 

I am new here, just got my account with TCH a couple weeks ago. I decided to join based on value (a lot of perks for a fair price) and the friendliness of the crew that I've witnessed on the forums.

I'm currently working on my MT and Gallery set-ups before I transfer my domain from my old ISP. By the way, I live in Paris, France, and I'm already happy to be with TCH.

 

Anyhow, I've got a problem installing MT (3.15) : the mt-check.cgi gives me an all green lights, but when I try to run mt-load.cgi, it fails with a classic error :

 

Bad ObjectDriver config: Your DataSource directory ('./db') does not exist.

 

In my mt.cfg file I did comment the #DataSource line since I'm supposed to use mySQL.

 

The beginning of my mt.cfg file looks like this :

 

 

 

## Movable Type configuration file [mt.cfg]                    ##

## ##

## This configuration file holds system-wide configuration ##

## settings that apply to *all* of the blogs in your Movable ##

## Type installation. ##

 

# 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 [color=blue]http://Server-IP/~your-TCH-name/cgi-bin/[/color]

 

 

# 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.

# Consider using the MySQL configuration, below.

 

# DataSource ./cgi

 

## 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 severyn_myDatabaseName

DBUser severyn_DBuserName

# DBHost localhost

#

[code]

 

Can you see something wrong with my settings ?

 

Thanks for the help.

 

Olivier

 

[color=red][size=1][b]Edit: TCH-Bruce removed IP numbers and user name[/b][/size][/color]

Edited by TCH-Bruce
Posted

Make sure that you have added the user to the database in your CPanel under the MySQL options. There is a drop down menu to add the user to the database.

Posted
# 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 severyn_myDatabaseName

DBUser severyn_DBuserName

# DBHost localhost

#

I don't know for certain, but doesn't the line in bold above need to be uncommented?

Posted

Welcome to the forums, fly.cub! :)

 

I suspect that your mt.cgi file was not uploaded to the server in ASCII mode - re-upload mt.cgi to your MT directory, making sure to use ASCII mode, then try mt-load.cgi again.

 

The 'DBHost' setting in mt.cfg does not need to be uncommented - MT by default uses 'localhost' for the 'DBHost' setting when it is not specified.

Posted
The 'DBHost' setting in mt.cfg does not need to be uncommented - MT by default uses 'localhost' for the 'DBHost' setting when it is not specified.

Thanks for the correction David. I haven't used MT since 2.66

Posted

Thank you all for the help and the welcome !

 

Got it to work : I think it was just a problem with the mySQL configuration (forgot to add the user to the database...).

 

Have a good day.

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...