Documentation

Installation

Assume you want to install the script to yourdomain.com

  • Unzip files and upload them via FTP to yourdomain.com
  • Modify the file: yourdomain.com/admin/function/db.php with correct MySQL database information.
//MySQL database

define( "dbuser", "yourdbuser" );

define( "dbpassword", "yourdbpassword" );

define( "dbname", "storedb" );

define( "dbhost", "localhost" );

//Site HTTP URL

define( "surl", "http://yourdomain.com" );

//Site HTTPS URL

define( "ssurl", "http://yourdomain.com" );

//Site root. It is an empty if the script is in root directory or "/store" if the script in "/store" directory.

define( "site_root", "" );

  • Click yourdomain.com/install/ and follow instructions
  • If you receive the error writable notifications on installation page you should set writable permissions for:

    yourdomain.com/content/ (and all content subdirectories)

    yourdomain.com/templates/ (and all templates subdirectories)

    yourdomain.com/upload/images/

  • Delete yourdomain.com/install/
  • if you install the script at yourdomain.com/somefolder/ you should edit /.htaccess file and replace "RewriteBase /" with "RewriteBase /somefolder/"

That's all!

Question: What is a writable permission?

It is a permission which allows you to upload files on the server using the script. Usually you should set 777 to make a folder writable. But sometimes the server security settings require other permissions for uploading. For example well-known cpanel hosting manager very often allows to upload files into a directory when it has only 755 rights and moreover if you set 777 permissions for a folder it can be banned by server security policy. So we advise you set 777 permissions only when the instructions on yourdomain.com/install/require that.

The script has been installed. Now you should configure it according to your needs.




« Return to Content