Installation

Printer-friendly versionPrinter-friendly version

Installation instructions

  1. Unzip the package
  2. Upload folders and files to your server. You may upload it to the root directory or to any subdirectory
  3. Directories: 'languages/', 'users_content/', 'system/cache/' and 'system/view/smarty/templates_c/' directories and all their subdirectories and files must have 777 CHMOD attributes on your server
  4. Create new MySQL database on the server. Usually it may be done via control panel on your hosting.
  5. Open 'system/config/database.php' file with a text editor and set your database settings. For example:
    $db['default']['hostname'] = "localhost";
    $db['default']['username'] = "user name";
    $db['default']['password'] = "your pass here";
    $db['default']['database'] = "database name";
    Do not use special symbols in database password like $@'-_^"\|/&%#* ,  use only alpha-numeric symbols in lower or upper case.
  6. Open 'system/config/config.php' file with a text editor and set your paths settings. Typically there are 2 config options you need to change in this file - base domain name and path to subdirectory with trailing slashs. If your site is not in subdirectory - leave it empty. For example:
    $config['base_url']    = "http://www.example.com/";
    $config['subdirectory']    = "subdirectory/";
  7. Go to 'http://mysite/' – this will run installation. You must get the list of accomplished pre-installation tests and 'Database installed!' final message.
  8. Fill in initial settings on next steps of installation: login, email and password of the root user, site name and site email.
  9. Installation completed.
  10. Read Getting started article of this manual in order to set up you directory script.

Note 1: if you get a blank page on 7th step, try to change this line in database.php from
$db['default']['dbdriver'] = "mysqli";
to
$db['default']['dbdriver'] = "mysql";


 Note 2: in the case that you can't upload images in your admin panel  (like site logo or listings images) first of all check that 'users_content/' folder and ALL its subfolders have 777 CHMOD attributes, if it didn't help - try to play with this variable in config.php file:
$config['users_content_server_path'] = $_SERVER['DOCUMENT_ROOT'] . '/' . $config['subdirectory'] . 'users_content/';
or
$config['users_content_server_path'] = '/' . $_SERVER['DOCUMENT_ROOT'] . '/' . $config['subdirectory'] . 'users_content/';
or
$config['users_content_server_path'] = '/' . $config['subdirectory'] . '/users_content/';
or
$config['users_content_server_path'] =
$config['subdirectory'] . 'users_content/';


Note 3: If you get 404 or 500 error during installation, then in config.php file try to change this line:

$config['index_page'] = "index.php";


Note 4: also you may play with this settings:
in .htaccess file change from
#RewriteRule ^(.*)$ index.php/$1 [L]
RewriteRule ^(.*)$ ./index.php [L]

to
RewriteRule ^(.*)$ index.php/$1 [L]
#RewriteRule ^(.*)$ ./index.php [L]

and in config.php file
$config['uri_protocol']    = "REQUEST_URI";
may be changed to
$config['uri_protocol']    = "AUTO";


 

Have any difficulties? You are welcome to ask any questions.