Richard Marcus

Error Message - problem with data base

Vote 0 Votes

Okay this is going to be a strange one, first of all because I don't have a great command of tech vocabulary, so bear with me. I've been in the process of trying to move a couple of sites from one server to another. I've finally at the point where I'm moving my personal blog. Needless to say I've never done this stuff before and my learning curve has been more of an incline than a curve. Here's the problem. While I've created a database based on the files downloaded from the old server I'm unable to access any of the content published at my site since August. (I've not tried to publish new content yet, but I'm hoping that should work) What's very strange is that you go to my backend MT pages you'll find all the content up to November of this year when I last published something to the old server, but when you click on view page you receive a 404 file not found error message. When I went to rebuild the site I also received the following error message:

Error making path '/home/www/blogs.epicindia.com/leapinthedark/2011/11': mkdir /home/www: Read-only file system at lib/MT/FileMgr/Local.pm line 105

Is there somewhere in the MT-config.cgi that I need to change database information aside from the obvious MySql database,user,password host entry? Does the StaticWebPath line have to agree with the overall CGI path?

Part of the problem with the installation at this new server was that it has been performed in two separate stages. I thought I had successfully managed it last August, but it turns out we had screwed up the redirection of the dnsNameservers and only found out we weren't functional when the contract with the old server ran out on November 26. So I created a new database that contained all the files site including those uploaded since August and entered its details into MT-config.cgi as required yet am still only seeing the information from the old database. How to fix that?

If there's anyone who can figure this out and then explain the answer in real simple terms for me I'd be very grateful.

cheers

Richard Marcus
http://blogs.epicindia.com/leapinthedark

Reported on Movable Type 3.x

3 Replies

| Add a Reply
  • Hi Richard,

    What you did so far was good, but it looks like you've forgot to change the server path from the old server with the new path from the current server.

    You may like to search the database for all occurrences of that path and change it using mysql commands.

    Alternatively, you could do it from within the movable type admin, by updating the publishing path with the new server path.

    Kind Regards,
    Mihai Bocsaru

    ----------------------------------
    Daily Movable Type Consultant

    Web Development
    Movable Type Consulting
    Six Apart Partner

    http://www.pro-it-service.com/
    ----------------------------------

    Movable Type Demo
    http://www.movabletypedemo.org/
    ----------------------------------

    Open Melody Demo
    http://www.openmelodydemo.org/

  • Richard, first you need to understand the difference between FILES (e.g. images, actual HTML pages generated by MT on disk) and DATA (your texts as managed with MT and stored in a database). The error you are reporting means that MT cannot write files on the server at the path starting with "/home/www", it has nothing to do with your database settings.

    Simply determine exactly where your files are stored on your server(*), then go to MT to change the publishing path to its new value (for all blogs) and try to publish something to see if that fixes the error.

    (*) it used to be at '/home/www/blogs.epicindia.com/leapinthedark/' for that particular site, find the new path on the new server.

  • Hi Richard,

    As I've mentioned to you privately, you could find the current path on your server either by loading the "mt-check.cgi" script, or by uploading a php file with this content:

    <?php

    phpinfo();

    ?>

    on the root of the server and loading that file from the browser.

    As soon as the .php file is loaded, search for the file name of that .php file and you will find a line with the full server path to that file.

    Kind Regards,
    Mihai Bocsaru

Add a Reply

If you need to share template code, replace all the "<" signs with "&lt;" or use this utility.

Forum Groups

1774 6167

Last Topic: Template modules by Zielun on Feb 16, 2012

86 302

Last Topic: website entries by masoud on Oct 26, 2011

1434 5088

Last Topic: Maintenance announcement by Nick on Feb 17, 2012

695 2912

Last Topic: Insert Image / File Fails by Russ Miller on Feb 10, 2012

84 291

Last Topic: How to have some other characters in entry basename automatically written by Afshin Haghighatnia on Dec 22, 2011

174 740

Last Topic: Captcha images rendering slowly by ScottM on Feb 12, 2012

190 568

Last Topic: Analytics Reporting by michael webster on Feb 5, 2012

48 210

Last Topic: An idea and also a request by Afshin Haghighatnia on Jun 29, 2011

64 246

Last Topic: jQuery in MT 5.1 still at 1.4 - why? by perlmonkey on May 25, 2011

code.sixapart.com

137 478

Last Topic: Getting a thumbnail with xpath by Peter on Mar 13, 2011

222 720

Last Topic: Custom Field for Asset Not Appearing by android on Feb 9, 2012