Jump to content

Recommended Posts

Posted

I am trying to switch from MT 2.661 to MT 3.17. So far, my attempts have made a mess of my site, mostly because I just know enough about this to get myself into trouble. Here are some questions:

 

A friend installed 2.661 for me in my cgi-bin. Do I need to clear out my cgi-bin before I install 3.17 in a mt/ subdirectory? Do I need to remove other files from my public_html directory before this will work?

 

Will the database I used with 2.661 work with 3.17? Or do I need to start over with a new database?

 

Here's what I've attempted... Without clearing out my cgi bin, I installed 3.17 following the instructions on the TCH site (which are great - thanks!). I configured the mt.cfg file following your instructions and using the old database from 2.661. I then attempted to run mt-check.cgi and got a server error.

 

I then tried clearing out the cgi-bin and creating a new database and configuring mt.cfg again, but got the same server error when runing mt-check.

 

I uploaded mt.cfg again as an ascii file and configured it again... no luck.

 

I then managed to delete my original database. I have it backed up on my home computer, but it would not restore using the backup function in cpanel.

 

Next, I tried to restore my site to its original form using the backup I created in cpanel. But this didn't work, either.

 

I have done a clean install of 3.17 on another TCH hosted site following your instructions and had no problems at all.

 

I am stuck and I don't have a site right now. Help!

Posted

Hi cris and welcome to the forums. :xmas:

 

Sorry to hear you are having problems upgrading. I switched from MT a while ago so I am not sure what you need to do to upgrade but will go looking for upgrade instructions over at the MT site.

 

As for your backups not working I would open a ticket with the help desk (link above) and I am sure they can help get you restored.

Posted

Welcome to the forums, cris! :xmas:

 

A friend installed 2.661 for me in my cgi-bin. Do I need to clear out my cgi-bin before I install 3.17 in a mt/ subdirectory? Do I need to remove other files from my public_html directory before this will work?

You don't need to remove any files from your cgi-bin directory or your public_html directory to install MT.

 

Will the database I used with 2.661 work with 3.17? Or do I need to start over with a new database?

You cannot directly use an MT 2.661 database with MT 3.17. After installing the MT 3.17 files and configuring the settings in your mt.cfg file, you'd need to first run the mt-upgrade30.cgi script, then run the mt-upgrade31.cgi script. This will convert your database to the format that MT 3.17 uses.

 

Here's what I've attempted... Without clearing out my cgi bin, I installed 3.17 following the instructions on the TCH site (which are great - thanks!). I configured the mt.cfg file following your instructions and using the old database from 2.661. I then attempted to run mt-check.cgi and got a server error.

Two things to immediately check: 1) If you unpacked the MT files on your machine, then uploaded them to the server, make sure that the MT files were uploaded in ASCII mode, except for the /images folder, and 2) Make sure that the permissions on MT's .cgi scripts are set to 0755.

 

I then tried clearing out the cgi-bin and creating a new database and configuring mt.cfg again, but got the same server error when runing mt-check.

The mt-check.cgi script does not access a database at all, so setting up a new one would not have any affect on your problem. There is a problem with the actual mt-check.cgi file on the server.

 

I uploaded mt.cfg again as an ascii file and configured it again... no luck.

The mt-check.cgi script also does not read the mt.cfg file, so editing mt.cfg would not have any affect on your problem either.

 

I then managed to delete my original database. I have it backed up on my home computer, but it would not restore using the backup function in cpanel.

 

Next, I tried to restore my site to its original form using the backup I created in cpanel. But this didn't work, either.

Depending on how you performed the backup, you may need to submit a ticket to the Help Desk and ask them to restore it for you.

 

I have done a clean install of 3.17 on another TCH hosted site following your instructions and had no problems at all.

You mentioned above that you were following the instruction here on the TCH web site. Those instructions are specifically for new installations of MT. To perform an upgrade, you'd need to download the upgrade distribution from the Six Apart web site, and also run the upgrade scripts that I mentioned above.

 

Hope this helps...

Posted

Thanks so much! The ascii upload and converting all .cgi file permissions worked. Now I am getting an error message in mt-load:

 

"Table 'mt_author' already exists at mt-load.cgi line 195. "

 

Help! Is this possibly the result of an older version of MT lurking in my cgi-bin?

 

Thanks,

Cris

Posted

If you've been able to get your original MT database restored, then you're not supposed to run mt-load.cgi at all. The mt-load.cgi script is specifically for initializing a new MT database.

 

If you really do intend to initialize a new MT database, the error you're seeing indicates that mt-load.cgi has already been run at least once. In order to run it again, you'll need to drop (delete) all of the tables in your MT database, which you can do from phpMyAdmin in your CPanel.

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