Installation
Follow these steps to install BCOE&M on your web server.
- Unzip/un-archive the BCOE&M release package you downloaded.
- Log on to your web host's control panel for your account.
-
Create a MySQL database on your web server.
- The methodology for creating a database varies from hosting provider to hosting provider.
- Check your provider's online documentation.
-
Add a user to the database you just created. This is typically done via your web server's control panel.
-
Access your new database and import the database schema.
- The database schema is contained within the bcoev1.X.X.sql document (use the latest version number's file), located in the "sql" folder of the release package.
- Typically, you can import the entire document using a tool like PhpMyAdmin.
- Locate the "site" directory in the BCOE&M release package on your local drive.
- In a text or WYSIWYG editor, open the config.php file.
- Edit the username, password, and database variables for the database and user you just created.
- ONLY if necessary for your environment, edit line 62 of the config.php file with the correct path to BCOE&M's root installation (this is for the ability to upload pictures).
-
Upload the entire contents of the "bcoem" folder to your webserver (upload only the contents of the folder, not the folder itself).
-
Using your ftp program, change the CHMOD (permissions) of the [root]/user_images folder to 755. This enables you to upload files to that directory using BCOE&M.
- Using your ftp program, change the CHMOD (permissions) of the [root]/site/config.php file to 444 (read only).
-
Once that is done, you can now set up your installation.
- Finally, if you are receiving server errors after trying to access your installation, see below.
Experiencing Server Errors?
If, after installing BCOE&M and navigating to your site, you are experiencing issues with your installation throwing repeated 500 Internal Server Errors, this may have to do with the .htaccess file that ships with BCOE&M. The file is specifically targeted for use with servers running PHP as an Apache module.
To remedy this, simply remove the .htaccess file from your installation's root folder. A more elegant solution is forthcoming.