Backend Installation

1. Firstly, log into the http://www.flashloaded.com/myaccount/ using the email address you used for your purchase, and your password. (If you do not recall your password you will find a link to email it to yourself in the same location.)


2. Once logged in, locate the fCMSPro and enter the domain of your site in the full license. Enter the domain without the 'www.' and without the trailing forward slash. For example flashloaded.com. Click the Register button to download the license.

If you are intending to develop on one server before deploying on another you can register a test license instead of the full license by following the same steps in the test license box.


3. Check that the license has downloaded correctly by opening the file. If the file is blank you will need to redownload the file or email us at the address listed on our support page for assistance.


4. Download and unzip the fCMSPro.zip file from your account page.


5. Inside the downloaded zip you'll find a folder named php-1.3.3 inside this folder you'll find the fCMSBackend folder. Place a copy of the license you have downloaded inside the fCMSBackend folder.

 

NOTE:

It is very important that all of the magic_quotes_* options in the php.ini file on your server are disabled, in order for fCMSPro to work properly. In most cases, these would be disabled by default.


Setting database details

6. Inside the fCMSBackend folder you'll find a folder named config, inside which you'll find a fle named config.xml. Open the config.xml file in a plain text editor such as Notepad on Windows, TextEdit on Mac or using a WYSIWYG editor like Adobe Dreamweaver.

Scroll to the bottom of the XML file and locate the following section of code:

<storage>
<username>fcms</username>
<password>fff</password>
<server>localhost</server>
<database>fCMS</database>
<table_prefix></table_prefix>
</storage>

Edit these details replacing the portion of code we have highlighted in color with details that match your mySQL database information. (If you do not know what these details are you should contact your hosting provider as they are in the best position to assist you with these details). You should only edit the portion of code that we have highlighted above with color:

Replace the red portion of code (written here as fcms) with the username for your database.

Replace the yellow portion of code (written here as fff) with the password for your database.

Replace the dark blue portion of code (written here as localhost) with the address of your server.

Replace the green portion of code (written here as fCMS) with the name of your database.

You can also specify the table prefix for the tables that the backend uses. This is useful if you want to install more than one fCMSPro on the same site, otherwise you will normally leave this blank.


7. Save the config.xml file and close it.


Setting login details

8. Inside the config folder you'll find a file named users.xml. Open the users.xml file with a plain text editor or a program like Dreamweaver.

The code in the file looks like this:

<?xml version="1.0" encoding="utf-8"?>
<groups version="1.0">
<group name="admin">
<users>
<user name="admin" password="admin"/>
</users>
</group>
</groups>

Replace the red portion of code (written here as admin) with the username you wish to log in to the fCMSPro with (this does not have to be the same as your ftp username or your database username).

Replace the yellow portion of code (written here as admin) with the password you wish to log in to the fCMSPro with (this does not have to be the same as your ftp password or your database password).


9. Save the users.xml file.


Note: for more details on managing user accounts refer to the Modifying User Accounts section of this userguide.


Avoiding overwriting existing pages

The fCMSPro installation includes a file named index.php that will be placed on the root of your server space. If you are installing the fCMSPro on a live site where you already have an index file you will need to change the name of the fCMSPro default file until you're finished developing with the fCMSPro so it does not overwrite your original file when uploaded.


10. The index.php file is located inside the php-1.3.3 folder. Rename this file index_fcms.php.

You must rename the index_fcms.php as index.php before your fCMSPro powered site goes live in order to take advantage of its SEO features.


Uploading to a webserver

11. Using your ftp software upload the entire contents of the php-1.3.3 folder to the root directory of your server (do not upload the php-1.3.3 folder itself).

This process may take a few minutes depending on the speed of your internet connection.


12. Using ftp software locate the fCMSBackend folder you've uploaded to your server, inside it you'll find a folder named imgRoot, set its permissions to 777 (which is read, write execute all).

All ftp software has different ways of setting permissions (sometimes called CHMOD), please refer to your program's help file to find how to do this.

You can't CHMOD a folder or file on a Windows server, you will need to set the permissions using your control panel if installing on a Windows server.


Setting up Ioncube

13. Using a web browser navigate to http://[ your site ]/fCMSBackend/admin/install.php


14. You will normally need to install ioncube on your server, although it is often included in your default php installation.


If you are not told that ioncube is missing and prompted to install it please skip this step.


If you need to install ioncube make a note of the type of server the page tells you you have and make a note of the exact file name you need and then visit http://www.ioncube.com/loaders.php.

Download the zip file that relates to your server. The most common file to download is the Linux (x86-64) zip file. Unzip the folder and locate the file you need. The most common file needed is ioncube_loader_lin_4.4.so or ioncube_loader_lin_5.2.so.

Using your ftp software upload the file to the ioncube folder inside the fCMSBackend folder on your server.

Return to your http://[ your site ]/fCMSBackend/admin/install.php page (refreshing it if necessary) and it should confirm that ioncube is now working on your server.

In the event that ionCube is not working, please contact your hosts and ask them to insert the following line into your php.ini file:

zend_extension = /[ path ]/ioncube_loader_[ version ].so

Note: The [ path ] above should be replaced by the location to the ionCube loader file and the [ version ] should be replaced with the version of the .so file you have uploaded.

You will need to disable any other zend_extension lines that you have placed in the php.ini file.

In the event that ioncube is still not working on your server please post a thread in our technical support forum and our staff will be happy to identify the problem for you.


Completing the installation

15. Press the Continue button. You should now receive a message stating that the fCMSPro has now been successfully installed on your server.


You can now proceed to setting up your crossdomain.xml file.