BCOE&M 2.1.10: Upgrade Instructions
These instructions are for those who wish to upgrade BCOE&M on their own web server. Hosted installations will be automatically upgraded after each release.
Step 1: Configure the New Version
- Download the latest release version from GitHub or SourceForge.
- Unpack the BCOE&M archive file locally.
- Locate the /sites/ sub-folder.
- With your favorite text editor (Sublime Text, Notepad++, even plain ’ol Notepad, etc.), open the the config.php file located in the /sites/ directory.
- Define the
$database variables. You may need to alter the
$hostname variable depending upon your server setup. Check your hosting company’s documentation.
- Optionally, define the
$prefix variable on or around line 109. This is useful if you wish to have separate BCOE&M installations or other applications share the same mySQL database.
- If you are installing the application in a sub-folder (e.g., http://www.yoursite.com/subfoldername/), be sure to define the
- These should match your current installation’s settings exactly.
- If you are upgrading from a version prior to 126.96.36.199:
- Locate the /includes/ subfolder.
- With your favorite text editor, open the the version.inc.php file located in the /includes/ directory.
- Change the
$version variable to the version you are upgrading from (e.g., 188.8.131.52, etc.).
- Save the file.
Step 2: Upload the New Source Code Files
Most releases add or make changes to multiple files. Therefore, you should replace all of the folders/files on your web server.
- Using your favorite FTP program, upload the entire contents of the source code folder (including your customized /sites/config.php file) to your web server.
- Once that is done, you can now set up your installation.
If you have made changes to any code, be sure to back up the appropriate files and compare with the files in the latest BCOE&M version.
Step 3: Run the Update
- After uploading the files, navigate to your site’s web address.
- You may be automatically redirected to the update function. Some versions do not require a user-initiated update.
- Only users with top-level administrative access can initiate the upgrade process, so you may need to log in.
- Proceed with the update.
- If you are not redirected to the update function, updates have been made "behind the scenes."
- Verify that the correct version is running by checking the version number in the footer.
Step 4: Refine Your Site
Most releases add new features. As such, you may need to set preferences for them by logging in to Admin and updating them.