WebmasterSite.net

Pre-upgrade questions

Version: 4.1.60
URL:

PrintPrint


Pre-upgrade questions
idamay
Beginner

Usergroup: Customer
Joined: Jun 25, 2008

Total Topics: 4
Total Posts: 5
quote post #1
Posted 11/27/09 - 4:03 PM:

I was wondering if I can copy my current working site to another folder and upgrade that folder. Once the upgrade is a success I'll delete the old and switch to the new. I was wondering if the old site can function while I work on the new site.
Paul
developer
Avatar

Usergroup: Administrator
Joined: Dec 20, 2001
Location: Diamond Springs, California

Total Topics: 65
Total Posts: 7614
quote post #2
Posted 11/29/09 - 9:22 PM:

That's what the clone utility is for -- it makes that copy process one click -- but it wasn't added until the 5.0 series. For 4.1, to do it manually you'll need to:
1) Copy the database -- either as a whole to a new database, or if you only have one db you can use a text editor to change the table prefixes after downloading a backup.
2) Copy all the files to a new directory.
3) Open config.php in the new directory and update the database, url and file path values to the new directory values.

Then run the upgrade on the new copy.

Changing the location of the new directory to replace the old is as easy as a directory rename in the 5.1 series. If you only upgrade to the 5.0 series, you'll need to edit config.php to update the url and file paths when you move it.

If you have a special cookie path at Admin -> Settings -> System Configuration, you'll need to make sure that's not set to something that'll prevent a cookie from working at the new location.

Edited by Paul on 11/29/09 - 9:25 PM
 
Search thread for
Download thread as


Sorry, you don't have permission to post. Log in, or register if you haven't yet.