emuller Posted July 15, 2005 Posted July 15, 2005 Hi everyone. I'm new here. I'm in the process of switching my blog, www.isthatlegal.org, over to TCH hosting. Right now I'm just trying to install MT. I followed the instructions available at http://www.totalchoicehosting.com/help/id76.htm to the letter, but when I get to step 4, running mt-check.cgi, I get this 404: "The requested URL /mt/mt-check.cgi was not found on this server. Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request." Because I haven't propagated on TCH yet, I'm using the alternate provided by TCH, which is http://67.15.16.5. Suggestions? Thanks!! --Eric Quote
TCH-Bruce Posted July 15, 2005 Posted July 15, 2005 Hi Eric, and welcome to the forums. Can you give us the URL you are entering or better yet are you entering it like this? >http://xxx.xxx.xxx.xxx/~your-tch-user-name/mt/mt-check.cgi This is assuming that you loaded MT in to a folder called "mt" in the public_html folder. Quote
emuller Posted July 15, 2005 Author Posted July 15, 2005 Thanks for the help (and the welcome!)! OK, first problem solved: I was not including "~your-tch-user-name" in the middle of the URL string. So I did that, and it ran fine. Now I'm trying to run the mt loader, and am getting this error: Bad ObjectDriver config: Connection error: Access denied for user: 'user-name_mtadmin@localhost' to database 'user-name_mtdatabase' (Obviously, I've replaced my actual username with "user-name" in what I reproduced above.) I suspect that the problem may stem from when I did Step 2 of these instructions: http://www.totalchoicehosting.com/help/id76.htm. The last piece of step 2 was an instruction to "grant your database user access to the database," but it didn't say how to do that, and the explanatory link off of that page is dead. So: any help on getting around this error will be greatly appreciated! Quote
TCH-Bruce Posted July 15, 2005 Posted July 15, 2005 You database name will be your-tch-name_database The user name will be your-tch-name_user And remember to add the user to the database that you create. Quote
TCH-Thomas Posted July 15, 2005 Posted July 15, 2005 Here´s a movie tutorial on how to set up databases through cpanel if needed. Quote
emuller Posted July 15, 2005 Author Posted July 15, 2005 OK, all very helpful... Thanks. One last thing (at least for now ;-) ) Now that I've got MT up and running, I notice that after this installation it doesn't look "pretty"--the graphics are missing, the font is very ordinary looking. Everything is on the right margin of the page. It doesn't look like MT looks on my other server. Any suggestions/ideas from anyone about why it might be looking wrong? Quote
emuller Posted July 15, 2005 Author Posted July 15, 2005 I meant along the left margin, not the right. Quote
abinidi Posted July 15, 2005 Posted July 15, 2005 I'm not an MT user, but this sounds suspiciously like a missing .css file to me. I'd check to make sure all of my .css files were uploaded correctly, then I'd check the source code to make sure they were being referenced correctly for the new site (you know, using relative tags instead of static tags). But what do I know? I'm a WordPress user... So this advice may be worth less than you paid for it... Quote
TweezerMan Posted July 15, 2005 Posted July 15, 2005 Since you're using the server IP address for the URL, you need to to change the StaticWebPath setting in the mt.cfg file: >StaticWebPath /~your-tch-name/mt/ Be sure to uncomment the StaticWebPath setting (remove the "#" from the beginning of the line). After your domain name has propogated and you're using it to access MT, you'll need to re-edit the StaticWebPath setting and remove your username from the path: >StaticWebPath /mt/ (Side note: You'll also need to edit the CGIPath setting after your domain name has propogated as well.) Hope this helps... Quote
emuller Posted July 26, 2005 Author Posted July 26, 2005 Thanks for the excellent help thus far!!!!! Next question: I'm trying to migrate the various templates from my existing blog (http://www.isthatlegal.org) to the MT blog I'm in the process of setting up on TCH. I have not yet propagated the blog to the TCH. This means that everything on my blog is still accessible via http://67.15.16.5/~<tchusername>. Here's the trouble I'm hitting right now. I need to rebuild the blog in order to see whether I've moved all the templates over properly, but the "rebuild" button on the MT interface gets me a 404 error. And I can't figure out a different way to rebuild. Suggestions? Thanks! Quote
TweezerMan Posted July 26, 2005 Posted July 26, 2005 It sounds like the CGIPath setting in the mt.cfg file isn't quite right. It should look like this: >CGIPath http://67.15.16.5/~cpanelName/mt/ Be sure the CGIPath has a trailing slash on the end of it. Quote
emuller Posted July 26, 2005 Author Posted July 26, 2005 Right you were, David! Thanks a million! Now when I rebuild, it tells me that I didn't set my local site path. Right now that path -- set by MT by default, I guess -- is /home3/<TCHusername>/public_html/ And it should be ... what? Quote
TweezerMan Posted July 26, 2005 Posted July 26, 2005 The "Current working directory" displayed by mt-check.cgi should give you a good idea of what the Local Site Path should be. I haven't encountered any TCH servers with paths that start with "/home3" - they all start with just "/home". If you want your MT weblog to be built at the root of your domain, yes, you'd set the Local Site Path to "/home/cpanelName/public_html". While you're on that page (Weblog Config), you should set all of the settings on that page at the same time - Local Site Path, Site URL, Local Archive Path, and Archive URL. Quote
emuller Posted July 26, 2005 Author Posted July 26, 2005 OK, now I'm confused. It sounds as though my local site path is correct, based on what you've said. (mt-check.cgi confirmed that it's "home3", by the way.) So, if the local site path is correct, then why does rebuilding the site lead to an error that says I have not chosen a local site path? Quote
emuller Posted July 26, 2005 Author Posted July 26, 2005 Actually, it is telling me I have not "set" a local site path. Just to be precise. Quote
TweezerMan Posted July 26, 2005 Posted July 26, 2005 Try going to the "Weblog Config" page, make sure the settings for Local Site Path, Site URL, Local Archive Path, and Archive URL are correct, then click the "Save Changes" button at the bottom of the page (even if you don't change anything on the page). Then try to rebuild your site again. Quote
emuller Posted July 26, 2005 Author Posted July 26, 2005 I appreciate the continued help, David. This is, unfortunately, going in somewhat the wrong direction for me at the moment... These are the settings that appeared after I got MT running. (I did not put any of these in; they were there "automatically"): Local Site Path: /home3/<cpanelusername>/public_html/ Site URL: http: //67.15.16.5/ Local Archive Path: /home3/<cpanelusername>/public_html/archives Archive URL: http://67.15.16.5/archives/ I would indeed like the blog to appear at the root of the site--currently 67.15.16.5, and, once I propagate, www.isthatlegal.org. I see no "home3" or "home" anywhere in the file structure when I look there via cpanel file manager or ftp. I know this must seem terribly basic, but if someone could point the way here, I'd be very thankful. Quote
TCH-Rick Posted July 26, 2005 Posted July 26, 2005 There are a couple of problems with that setup. Site URL: http: //67.15.16.5/ should be Site URL: http: //67.15.16.5/~<cpanelusername> Archive URL: http://67.15.16.5/archives/ should be Archive URL: http://67.15.16.5/~<cpanelusername>/archives/ You will also need to go back in and change these after the domain has propagated to use the domain rather than the IP address. Quote
emuller Posted July 26, 2005 Author Posted July 26, 2005 You guys are the cat's pyjamas! OK, I'm much further along now... I was able to import all my old stuff from my old blog. All of the entries are there on the "entries list" page. Very cool. Here's the trouble, though: they're not actually making it onto the new blog itself. It looks like this: http://server61.totalchoicehosting.com/~pcsltwwy/ Any ideas why the posts aren't making it onto the published blog? Quote
emuller Posted July 27, 2005 Author Posted July 27, 2005 Thanks for the welcome, Rob. What a nice support community this is! With a little bit of "extra help" via IM from Rick, I think I'm ready to propagate my blog to the TCH server. Right now I've got it all set up and ready to go, but it's still only on 67.15.16.5, rather than on www.isthatlegal.org. One last question: What will I need to go in and change--and where--in order to get everything properly propagated? I know I'll need to change the site path and such in MT. Are there other things that might be less obvious? Thanks!!!! Quote
TCH-Rick Posted July 27, 2005 Posted July 27, 2005 Basically anywhere you have put the IP address will need to be replaced with the domain. This includes the mt.cfg file (the CGI Path) and the Mt configuration. Quote
TweezerMan Posted July 27, 2005 Posted July 27, 2005 Once your domain name has propagated, you'll need to do the following: 1) In your mt.cfg file, you'll need to adjust the CGIPath and StaticWebPath settings: >CGIPath http://www.isthatlegal.org/mt/ StaticWebPath /mt/ 2) In Weblog Config, you'll need to change the Site URL and Archive URL settings, then click the "Save Changes" button at the bottom of the page: Site URL: http://www.isthatlegal.org/ Archive URL: http://www.isthatlegal.org/archives/ 3) Rebuild your entire web site. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.