If this is your first visit, check our documentation. To post, register or login.
Forums / Upgrading Your Zen Cart / Upgrading to 1.5.x / upgrading to temp site directory v1.5.4 - rename temp to golive?

upgrading to temp site directory v1.5.4 - rename temp to golive?

Started by hansolo2008 on 26 Jan 2016, 6:04 PM · Views: 637

Results 1 to 4 of 4
26 Jan 2016, 6:04 PM
#1
hansolo2008 avatar

hansolo2008

New Zenner

Join Date:
Apr 2008
Posts:
28
Plugin Contributions:
0

Post #1 by hansolo2008

Hello, I followed the direction on this page

https://www.zen-cart.com/content.php?140

B. If you have NO CUSTOMIZATIONS to preserve, here's a high-level overview/summary of a slightly shorter process:

I was wondering, after I upgrade my site on the temp directory and it all seems to be working ok. Can I just change the directory name back from temp name to the original store's name and just edit the config files to reflect that, or do I have to do this who process all over again on the original directory to upgrade?

Thanks

Back up your site from the server as well as the copy on your computer.
Backup your database
Create a new directory and copy your site into it
Then create a new database and load your old database in it
Next, change the two configure.php files to utilize the new directory and database
This way ... when you attempt to upgrade you are "practicing" to see where the problems, if any will happen
Make sure all appears to be working on your temp site.
Now load the "new" version files to your new temp directory (from latest downloaded ZIP)
Run the http://www.your_domain_name.com/your_new_site/zc_install
Choose the Upgrade Database option
Process each suggested step one at a time ... leave the first checkbox that the upgrader picked checked and uncheck the others.
-Advantage is that you can see your problems step by step
-Each time it completes it will recheck the boxes left to go.
-Continue in this method until all boxes are unchecked.
If you find you have issues, you are not hurting anything and can always start over without damage to your existing shop and live database.

26 Jan 2016, 6:33 PM
#2
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #2 by mc12345678

If you are fully satisified with the database as it is and the files as they are, then: https://www.zen-cart.com/content.php?160-i-have-installed-zen-cart-to-a-directory-how-do-i-rename-or-move-that-directory

Understand that the database that is associated with your current "upgrade" is only as up-to-date with your live site as the last interaction someone had in the live site that exists in your new site...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...

26 Jan 2016, 11:37 PM
#3
hansolo2008 avatar

hansolo2008

New Zenner

Join Date:
Apr 2008
Posts:
28
Plugin Contributions:
0

Post #3 by hansolo2008

Cool, thanks for the reply.

26 Jan 2016, 11:41 PM
#4
mc12345678 avatar

mc12345678

Totally Zenned

Join Date:
Jul 2012
Posts:
16,908
Plugin Contributions:
2

Post #4 by mc12345678

hansolo2008:

Cool, thanks for the reply.

That said, if you follow the complete instruction, at the bottom it indicates that when you get ready to update the live database, you can keep all of the checkboxes checked because you've already worked out everything right? :) me personally, I'd forgotten about the suggestion to upgrade the database one step at a time and have often seen it suggested to just go for gusto all the way to the last one in one run... Somebody thought it was a good idea at some point to do that slower...

ZC Installation/Maintenance Support <- Site
Contribution for contributions welcome...