Page 1 of 1

move store from one server to a new one what do i have to d

Posted: Tue Feb 05, 2008 7:28 pm
by cerami2
I been work on my site to replace my online store that is on a different server.
I want to move the ablecommerce store i built and move it to the server i have my old store on (i want to use the same ip address my old store is on ) is there anything i need to know to move it

Regards
Joe

Posted: Wed Feb 06, 2008 10:09 am
by Logan Rhodehamel
The only challenges in moving a site to a new server is that two files, App_Data/database.config and App_Data/encryption.config, are potentially encrypted with a machine specific key.

Before you move the site if you have set an encryption key, make sure you have a current backup.

After moving the files, you are probably going to have the error described here: viewtopic.php?t=6426

You'll need to manually update the database.config with a valid connection string. Once you get the application back up and running, you can go to the Configure -> Security -> Database menu to update and encrypt the connection string again.

Also if you had an encryption key set, you are going to need to open up App_Data/encryption.config file. Replace the contents with this:

Code: Select all

<encryption />
Essentially this resets the key to unset. Now assuming you have set database.config properly your application should be functional. The first thing you must do from admin is go to Configure -> Security -> Encryption Key and restore the key from your backup.

(Alternatively to the above procedure, you could use command line tools to decrypt the files on the source machine, make modifications as needed to database.config, and then re-encrypt the files on the destination machine. It is equally suitable but requires knowledge of the command line.)

Posted: Wed Feb 06, 2008 10:16 am
by Logan Rhodehamel
If you are switching the store to a different IP/Domain from what it is running on now, there will also be key considerations. You may need to update the license key following the instructions for an "expired" key at the bottom of this bulletin:

http://help.ablecommerce.com/installati ... _for_7.htm

custom scriplets

Posted: Fri Mar 28, 2008 3:47 am
by tonz
Hi Everyone,

I have moved the custom header and footer scriplets ffrom my test site to the live site directory app_data/scriplets/custom. However the live site doesn't recognize them. Is there anything else I need to copy?

Also what do I need to copy in order to move to live site all the changes I made in the test site's editor zone (at the bottom of the pages in admin view, where I can specifying custom scriplets for sidebar)

Thanks ina dvance,

Tony

my bad

Posted: Fri Mar 28, 2008 4:58 am
by tonz
Ok it was my fault, i have uploaded the files to the wrong place. FTP access was configured to a different site.