Upgrading from Version 0.4.0 to 1.0

*NOTE this package does not support upgrading from any version other than 0.4.0 - your current version will be indicated in includes/inc.global.php*

1. Backup all files on the server as well as your MySQL database

2. Edit the new includes/inc.config.php with all your site-specific settings (taken from your current includes/inc.config.php) - it is ESSENTIAL that you correctly copy across your domain/server details and MySQL login information.

*NOTE: a major change in this version is that a lot of the settings have been moved from the inc.config.php file to the database. This means that once you have upgraded your first port of call should be 'site settings' from the admin menu. Here, you need to set all the options that are relevant to your site. This shouldn't be much of a hassle so long as you take a copy of your current config file BEFORE overwriting with the one in this upgrade package - then all you should need to do is 'copy' the relevant settings. To make this transition as simple as possible the original structure of the config file has been preserved (i.e. the features that are now in the database have been commented out and labelled [MTDB]). Take note: Not EVERYTHING has been moved to the database, so when upgrading your config file take special care to go right through the file and copy across all settings that are NOT commented out, as these will still need to be set here.

3. While you have your new includes/inc.config.php open, take your website offline by setting DOWN_FOR_MAINTENANCE to TRUE

4. Upload all the files in this package to your server, including the inc.config.php you just edited (say 'Yes' to overwrite existing files if prompted)

5. To complete the upgrade changes need to be made to your MySQL database. There are 2 ways of doing this.... Option 1 - 'The Easy Way' (in theory): browse to yourwebsite.com/upgrade.php and follow the instructions to proceed. If Option 1 doesn't work for you then Option 2 involves going into the MySQL and making the changes manually - all the queries you need are located in mysql.sql (there aren't many of them), so simply copy and paste via PHPMyAdmin, NaviCat or however you prefer to chat with MySQL

6. For security reasons, remove the following files from the server: upgrade.php, mysql.sql

7. Open includes/inc.config.php again and set DOWN_FOR_MAINTENANCE to false.

8. If all has gone well then you should be up and running with the spanking new Local Exchange Version 1.0! If it hasn't worked then you might well be kicking yourself if you skipped Step 1...
 
