Print Page | Close Window

Making Backup Site For Testing Updates

Printed From: ProductCart E-Commerce Solutions
Category: ProductCart
Forum Name: Customizing ProductCart
Forum Description: Exchange messages with other users that are customizing ProductCart.
URL: https://forum.productcart.com/forum_posts.asp?TID=4954
Printed Date: 06-July-2025 at 2:49pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Making Backup Site For Testing Updates
Posted By: Ludwig
Subject: Making Backup Site For Testing Updates
Date Posted: 22-January-2012 at 8:40am
I am planning to upgrade from 3.12 to 4.5 and I want to make a backup site to test the updates before doing it on the live site. I already have my site backed up and my database backed up... once I upload these to my new hosting, what all should I do to make sure nothing I do on the test site affects my live site? Don't I have to change the database string or something to point to the database on the backup test site? Is that all I have to do? Do I need to change the domain name as well since I am using a different domain on the backup test site?



Replies:
Posted By: Greg Dinger
Date Posted: 22-January-2012 at 8:47am
if your store is in a "productcart" or "store" folder, you need only copy that folder to "productcartdev" or "storedev", and perform your testing in the copied folder.
 
So long as what you do does not put the site into a loop (this could be caused by some erroneous code that reads database records and never exits the loop), or that your updates don't somehow trash the production data, then you should be fine.  We are altering and upgrading stores constantly and that is precisely the procedure we follow on most projects.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Ludwig
Date Posted: 22-January-2012 at 9:26am
Yes but if you make a dev folder on the same hosting it will point to the live database right? I really don't even want to mess with the live database until I see that no issues will occur.


Posted By: Greg Dinger
Date Posted: 22-January-2012 at 9:31am
well, then in that case you also make a copy of the database and edit storeconstants.asp to point to the DEV database.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Ludwig
Date Posted: 22-January-2012 at 9:39am
So I just edit the data source in this line? private const scDSN=

What about this line <%private const scCrypPass="? Isn't this the license key?


Posted By: Greg Dinger
Date Posted: 22-January-2012 at 9:48am
the connection string is in that page as well.    look for private const scDSN.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Greg Dinger
Date Posted: 22-January-2012 at 9:51am
don't mess with the key.

-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Ludwig
Date Posted: 22-January-2012 at 9:52am
Yes private const scDSN= is what I wrote in my previous post that points to the database... is there a safe way to test that changes on the test site aren't affecting my live database? Maybe just make a small change to a product on the test site and see if it affects the live site?


Posted By: Ludwig
Date Posted: 22-January-2012 at 9:56am
When I setup the new test database it's asking if I want to install DSN or ASP Schema, do I check these?


Posted By: Greg Dinger
Date Posted: 22-January-2012 at 10:13am
You now understand how to establish a dev copy of your store and database. Unless you have confidence in your skills, I'd get someone who is proficient with this work to assist you on a hands-on basis.  I can't really take you step by step through this.  Sorry.


-------------
GreyBeard Design Group

Certified ProductCart Developer

Web Design/Development/Hosting

http://tinyurl.com/5c8t4t" rel="nofollow - Add-Ons & Custom Code |


Posted By: Ludwig
Date Posted: 22-January-2012 at 10:27am
I figured it out if I have too many issues I'll hire someone to help out.



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net