Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
Welcome To Ask or Share your Answers For Others

Categories

0 votes
770 views
in Technique[技术] by (71.8m points)

database - magento upgrade from 1.6.2 to 1.7.0.2 - Will the db base be changed?

i am looking into upgrading my magento community from 1.6.2 to 1.7.0.2.

First i will do this on my test server, but there are some errors during updating in magento connect, so i have to upload some files my self ...

but when i going to put these data into the live environment, can i just simply copy my data from the ftp to the live website?

Or are there also some new/changed settings in the database?

And if yes on the last question, which lines are changed?

See Question&Answers more detail:os

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome To Ask or Share your Answers For Others

1 Answer

0 votes
by (71.8m points)

I was able to successfully upgrade Magento from 1.6.1 to 1.7.using Connect Manager. Here are the steps I had foung and followed

  1. Go to yourdomain. com/magento/downloader/ (of course, make this match your installation’s path.
    1. Because I had installed Magento using tar.gz package provided with a skin I wanted to use, Magento Connect didn’t have all the extensions listed for upgrading. I had to type “connect20.magentocommerce.com/community/Mage_All_Latest” in the “Install New Extensions / Paste extension key to install”
    2. If you run into an error along the lines of “CONNECT ERROR: Package ‘Mage_All_Latest’ is invalid” repeated several times, once for each package, it is because the files already exist, and you have to remove a line of code in order for it to over-write data.
    3. After everything has updated, you will probably have some errors. Make sure you clean the cache and session directories (delete everything in /var/cache and /var/session)
    4. If you receive a “500 Internal Server Error” it is more than likely because of file and folder permissions. It took .5 sec to reset all of the permissions to what they needed to be.
    5. If you receive a “Service Temporarily Unavailable The server is temporarily unable to service your request” error on a Magento formatted header, it is probably because the store is set to offline mode to prevent visitors from screwing up the installation process. To fix this, delete the“maintenance.flag” file found in the root of your magento installation directory.
    6. Everything should be ready!

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
Welcome to WuJiGu Developer Q&A Community for programmer and developer-Open, Learning and Share
...