Jump to content

Recommended Posts

Posted

I'm having a problem with

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

 

Step 5: Run MT-Load utility

 

4. From a browser run mt-load.cgi (eg: http://yoursite.com/mt/mt-load.cgi)

If mt-load.cgi comes back successful, you should then go to cPanelk's File Manager, and delete mt-load.cgi.

If mt-load.cgi is unsuccessful, check MT's troubleshooting section and then rerun it.

 

Here's what the Troubleshooting section says:

 

rrors when running mt-load.cgi

When running mt-load.cgi, if you get an error that says Tie '/path/to/db' failed: No such file or directory or Tie '/path/to/db' failed: Permission denied, this indicates that the DataSource path that you have set in mt.cfg is incorrect, or that the permissions on your db directory are incorrect.

 

The DataSource setting should contain the full filesystem path to your db directory. You can obtain this path in several ways:

 

If you have shell access to your server (through either telnet or SSH), you can use command line tools to determine the full path to your db directory. After logging in to your home directory, use the cd command to open your db directory:

$ cd my/db/

 

where my/db/ is the path to your db directory from your home directory. Then use the pwd directory to display the full path to that directory:

 

$ pwd

 

This will print out the full path, which you can then copy and paste into your mt.cfg file as the DataSource value.

 

 

If you do not have shell access, you can get a sense of the path to your db directory by running mt-check.cgi. NOTE: this will not tell you exact path to your db directory; rather, it is intended to show you the full path to your home directory, from which you should be able to figure out the rest of the path.

To use this method, run mt-check.cgi by pointing your browser at the URL for mt-check.cgi on your site. For example, if your site is http://www.your-site.com/, and you uploaded the Movable Type files into the /mt directory, you'd type http://www.your-site.com/mt/mt-check.cgi.

 

In the output of mt-check.cgi, look for a line like this:

 

Current working directory: /path/to/your/mt/directory

 

This is the full path to the directory where you installed Movable Type. From that path, you should be able to determine the full path to your db directory.

 

 

If you are getting a Permission denied error, this may indicate that the permissions on your db directory are incorrect. The installation instructions describe how to set permissions to 777

 

Here's what I get:

<Link removed for privacy>

 

Any help would be appreciated. I'm trying to figure out the Database, thing

 

I would be so appreciative of any help. I'm literally starting to pull out my hair *trich sufferer*

Posted

I did look and you have some configuration problems in the mt.cfg file. The lines defining your MySQL database are commented out and the cgi directory is listed in caps but it is lowercase on the server. Filenames and directory names are case sensitive in linux so you need to be sure they match in the code.

 

If you do not have AIM or Yahoo messengers PM me and I can correct the errors.

Posted

I sent you the PM. I'm having problems with my IM-program.

Posted

Ths is probably taken care of - but the setup that is being discussed is for berkeleyDB which is highlyu unstable and prone to corruption - hopefully in IM you'll get it going with the mysql set up which is far more robust. =)

Posted

Okay, it's set up, but how do I get it into my site? Like actually as a blog?

Posted

There are several ways. You can modify the templates (login and click templates) to reflect your site design, or you can use miniamlist templates and php or an iframe to pull the content into your page...

 

If you search through the MT forums (www.movabletype.org/support) there are thousands of posts o that subject. =)

Posted

Thank you. I really appreciate it.

  • 3 weeks later...
Posted

It's file-based rather than truly db-based, so more servers will cover it. In addition to what Arvind said about it corrupting every two seconds, however, you can't do things with plugins or code that requires queries because you need mysql for that. So although it is an option, it is really not a good one. =)

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