MonsterFile - Installation Guide

Thank you for purchasing MonsterFile. If you have any questions that are beyond the scope of this guide, please feel free to email via my user page contact form here. Thanks so much!

Requirements

Installation Guide

Step 1 - Database Details

Before you upload anything to your website, in the application/configs directory you will find a file called monster.ini. Edit this file with a text editor and insert your MySQL database details. These are the lines to change:

resources.db.params.host = "localhost"
resources.db.params.dbname = ""
resources.db.params.username = ""
resources.db.params.password = ""
monsterFile.directory = ""

As an example, lets say your hostname stays as localhost (usually the case, and if you canĀ“t find what your hostname is, it will probably be localhost), your username is my_user, your password is example, your database name is my_database then this is what you should have:

resources.db.params.host = "localhost"
resources.db.params.dbname = "my_database"
resources.db.params.username = "my_user"
resources.db.params.password = "example"
monsterFile.directory = "/monster" // If you installed in root directory then leave this field blank

Tip: Be careful to leave the double quotation marks around each item you change in place.

Step 2 - Upload

Upload the files from the package using FTP to a location that is accessible via the web. It is usually best to upload these files to their own folder, such as a folder called monster that would be located at http://www.example.com/monster/.

Step 3 - Rename htaccess

In root directory, there is a file named _.htaccess. Before it can be used, this file should be renamed to .htaccess

If you wish to install in a subdirectory, you have to edit the .htaccess

Add the directory to the paths on line 9, 10, 11 and 16.

SetEnv APPLICATION_ENV production

RewriteEngine On
 
RewriteRule ^\.htaccess$ - [F]
 
RewriteCond %{REQUEST_URI} =""
RewriteRule ^.*$ /monster/public/index.php [NC,L]
 
RewriteCond %{REQUEST_URI} !^/monster/public/.*$
RewriteRule ^(.*)$ /monster/public/$1
 
RewriteCond %{REQUEST_FILENAME} -f
RewriteRule ^.*$ - [NC,L]
 
RewriteRule ^public/.*$ /monster/public/index.php [NC,L]
    

Step 4 - Web Installation

Once the files are located somewhere that is accessible via the web, you'll be able to install the script (provided your MySQL details are correct). Point your web-browser to http://www.example.com/monster/install/

Step 5 - Accessing

After the web installation, you will be redirected to the login page. You can login using the email and password you selected during installation.