default userpic

Installing and running MT wizard on a Linux shared hosting account

Vote 0 Votes

Basically, I'm trying to install MT on my shared Linux hosting account and then transferring my developed MT blog site over.

I can't get the MT install wizard to work with any of the paths I give it.

I don't have access to httpd.conf on my shared hosting account. In fact, I can't really access anything of Apache on my server instance. I've successfully downloaded the MT files, extracted them, FTPd them, and set the correct permissions where they need to be.

I keep getting this error:

Error: 'http://www.lighthousekeeperblog.com/cgi-bin/mt/mt-static/' could not be found.Please move your static files to the directory first or correct the setting if it is incorrect.

The URL is http://www.lighthousekeeperblog.com/ but I'm not sure what the mapping is, which I think is my main problem. There is a PUBLIC_HTML directory in which all Web files are supposed to be installed. Here are the contents of my home directory /home/rgrace:

rgrace@lighthousekeeperblog.com [~]# ls
./ .bash_history .bashrc .dns .htpasswds/ .mozilla/ .ssh/ www@
../ .bash_logout .contactemail etc/ .lastlogin public_ftp/ tmp/ .zshrc
access-logs@ .bash_profile .cpanel/ .gemrc mail/ public_html/ .trash/

I've CP'd the MT-STATIC directory to within the MT directory in my instance, and no joy. I've tried several different alternative paths.

Not sure what I'm doing wrong. I can't believe I'm the first person to have this problem.

Reported on Movable Type 4.2

4 Replies

| Add a Reply
  • It means that your hosts security configuration is preventing the script from checking file paths.

    What you can do is manually create your mt-config.cgi file (there is a template called mt-config.cgi-original in the same directory as mt.cgi)

  • Thought I might be able to fix it by doing that; the Wizard comes out with this message:

    Configuration File Exists

    A configuration (mt-config.cgi) file already exists, sign in to Movable Type.

    To create a new configuration file using the Wizard, remove the current configuration file and then refresh this page.
    -----------------------------------------------------------

    By the way, the actual path from root is: /HOME/RGRACE/PUBLIC_HTML.

    I'm still working on this, I'll post again once I have this problem solved.

  • Also, the Web root for the shared hosting instance is PUBLIC_HTML/WWW.

  • Hi rgrace -

    The wizard is telling you that you (now) have a configuration file, either because you created it or because the wizard created it.

    The message you are getting about the mt-static directory is, as mentioned, because your host has it set so that static content cannot be served from the cgi-bin.

    What you need to do is move your mt-static directory to your public_html (/home/rgrace/public_html/mt-static), then add that to your config file like so:

    StaticWebPath http://www.example.com/mt-static/
    StaticFilePath /home/rgrace/public_html/mt-static/

    Both the file path and web path are necessary for proper operation - just make sure you change "example" above to the proper domain name.

Add a Reply

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

Forum Groups

1195 3842

Last Topic: Comment form customization by anisa on Feb 8, 2010

60 184

Last Topic: Dynamic Publishing - Blank Screen by Sivaram M on Dec 15, 2009

955 2987

Last Topic: MT5 - Cookie Problems by Dave Cross on Feb 9, 2010

68 213

Last Topic: How to add Custom Fields by gregoryttp on Feb 5, 2010

19 67

Last Topic: Custom main index page by Richard on Feb 7, 2010

42 169

Last Topic: I want to write my own wordpress plugin by Xarzu on Jan 31, 2010

11 21

Last Topic: Monthly Calendars Help Needed by joe leblanc on Jan 19, 2010

91 326

Last Topic: SpamLookup Keyword Filter 2.1 not work by b.n09 on Nov 17, 2009

52 178

Last Topic: Assets - No options by Chelle on Feb 5, 2010

code.sixapart.com

128 444

Last Topic: ActionStream with Movable Type 5.01 by Parneix on Jan 24, 2010

154 468

Last Topic: URGENT! Help needed w/ Virus by PhilContrino on Feb 1, 2010