Upgrading Kartris - incremental updates


https://forum.kartris.com/Topic2888.aspx
Print Topic | Close Window

By ianguest - Wed 12 Mar 2014
Please can you let me know how to upgrade Kartris from v2.5002 to the latest version v2.5009.

I have changed several of the UserControl scripts, therefore can not directly copy on mass the new updates.
By Paul - Thu 13 Mar 2014
The normal way would be to back everything up (both files and the database) and then run any db updates required, and overwrite files in App_Code, UserControls and the aspx files in the root of the web. There may also be changes to DLLs in the Plugins folder, though you need to take care not to overwrite the .config files in each which hold the payment gateway settings.

If you have changed usercontrols, or other active code, you'd need to copy your changes back in. Assuming these files were not updates as part of the Kartris updates, you can just copy them in and overwrite our files. However, if we changed these in some way, you would overwrite those changes by importing the files. In this case, you may need to use a file comparison tool and try to merge the files or redo the changes to the newer file.

There isn't really any easier way to do this. It's best to avoid changing the usercontrols and pages if possible - cosmetic changes are best done via the skin using CSS to hide or change elements. But if it is necessary to change files, try to maintain a list of changed files to make upgrades more systematic.
By ianguest - Tue 25 Mar 2014
Thank you.

When developing an update, do you keep records of which files have been updated? This would allow us to determine which files we need to redeploy.
By ianguest - Wed 26 Mar 2014
Well I have given up trying to update to Kartris v2.5009.

Keep receiving a Run Time Error when transferring across App_Code files