Upgrading from Version 0.3.2 to 0.4.0

*NOTE this package does not support upgrading from any version other than 0.3.2 - 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. Also please note that version 0.4.0 has many additional options to be set in inc.config.php - all are documented in the actual file so please read through it carefully.

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, set DOWN_FOR_MAINTENANCE to false, and upload to server.

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