Customer Support System
Language
 
Home>Knowledge Base>General>Upgrading a CW2 site to CW3
User Login
Username
Password
 
 Login
Information
Article ID12
Created On5/9/2008
Modified5/9/2008

Upgrading a CW2 site to CW3

Upgrading a CW2 site to CW3

Updating an existing CW2 site to a CW3 site depends on a number of things, so let's make a few assumptions...

Let's say you have a CW2 site where the Cartweaver function files, meaning all those in the cw2 folder are bone-stock, you haven't touched them, you've just added CW to your site and populated your database.

OK, if this statement is true, updating you CW2 site should be a pretty straight forward process.

1. Back up your entire site!
2. Back up your database!
3. Extract the files from your CW3 zip file
4. You will find the database upgrade script available as a free download if you log into the customer page on the Cartweaver site. Follow the instructions and run the file to add the new database tables and fields to your database. This script will not overwrite any of your current data, it will just create the new elements you need.
5. Take a copy of the entire CW3 folder and copy it to your site
6. Hide your cw2 folder by placing a ~ in front to it - once your all done you can just delete this.
7. On you presentation files find the CW2 include files and change the cw2 to cw3
   Like this   -  change   <cfinclude template="cw2/CWIncDetails.cfm"> to <cfinclude template="cw3/CWIncDetails.cfm">

Once you have gone through and update the presentation files, head for the new admin - located now in cw3/admin and set your new settings.

There you have it.

Now, like I said, this is for a bone stock CW2 installation, if you've done modifications to the files in the CW2 folder, whether you want to update is up to you. You'll have to weigh the trouble against the benefits.