Patching Your InstallationOverview
Unless otherwise noted, use these instructions for updating your SFTrade installation from any older version to any newer version. You can patch the installation any time there is a new release, but it is not required that you upgrade to every new release. These instructions can be used to upgrade your installation even if you skipped a previous version of the software.Automated Patching
SFTrade can automatically update your installation to the latest version. To perform an update use these steps:
- In the control panel access the Tools > Check for Update function. This will display a page where you can see the version you have installed and the latest version available. If you want to install a newer version, or need to reinstall your existing version, select the appropriate version from the drop down selection field at the bottom of the page and press the Install button.
- The software will begin downloading the updated installer file, extract the files and directories from the installer, and run the patching function to perform any updates required. This process is all automated, so you just have to wait for it to finish.
Manually patching your installation requires a bit more work, but is still fairly simple. Use the steps listed below to manually patch your installation.
- Upload the files from the new version of the software to your server, overwriting the existing copies. All of the files that will need to be uploaded are listed below, where
Base directory is the directory on your server in which SFTrade is installed and the remaining are the actual sub-directory names within that directory.
Base directory - all .php files
assets directory - all files
cp directory - all files and all sub-directories
js directory - all files
lib directory - all files except config.php
templates directory - only files that do not already exist
- In the SFTrade control panel, access the Settings > Global Settings interface. Depending on what features were added, there
may be some new settings for you configure. Even if there are not any new settings, you will need to save the settings which will force the
software to check the values you have supplied and perform any necessary updates.
- The final step in the control panel is to run the Templates > Recompile Templates function. This will update your templates with any changes or fixes that have been made to the template compiler so that the script page and e-mail templates will be generated properly.