Upgrading osCommerce | Last Update: 8th June, 2005 Article ID: 221 |
- Introduction
- Configuration Steps
Introduction
If you are upgrading from ms1 to ms2 code, you will need to update the PHP files and move the data from the old database to the new database.
Configuration Steps
- Install files
Begin the upgrade by installing the new osCommerce version in another folder in your server space. Do this by following the Pre-Installation Procedure
- Migrate data
Next, copy the old database over to the new database by using a tool such as phpMyAdmin or similar utility.
- Run Update File
In the "extras" folder in the osCommerce download and there is a folder named pr21_to_pr22, which holds the file ms1_to_ms2.php. Copy this file to your catalog folder or root folder on your server space where the new osCommerce files are. It can be renamed if desired, such as to 'upgrade.php'.
Copy this upgrade file to the catalog directory and navigate to it with a web browser. It will ask for the new database info and then will upgrade all needed files. This will upgrade the database for your new osCommerce ms2 files.
After you test your new files you can then remove the old files and old database. Make sure everything was moved over before deleting the old files!