Pre-Installation Steps

Loaded Commerce is a web based solution that needs its relevant files to exist on the web server. The files can be copied to the web server by extracting the download package on your computer and uploading its contents to the web server via FTP, or by copying the download package to the web server directly and extracting its contents there.

Copying The Files to the Web Server

The contents of the download package need to be copied to the public HTML directory the web server is serving from. Examples of public HTML directories are:

  • /home/user/public_html/
  • /srv/www/htdocs/
  • /usr/local/htdocs/
  • /var/www/vhosts/domain.com/httpdocs/

The contents of the download package once extracted is:

  • loadedcommerce/
  • readme.txt
  • license.txt

The contents of the /catalog/ folder need to be uploaded or extracted on the web server using one of the methods below:

Using FTP to Copy the Download Package Contents to the Web Server

Once Loaded Commerce has been downloaded to your computer, it must be extracted to reveal its contents. The Loaded Commerce directory must be copied to the public HTML directory. This can be achieved on most FTP clients by simply dragging the Loaded Commerce directory from your local file browser pane to the remote pane listing the files on your web server.

Directly Extracting the Download Package on the Web Server via SSH

Once Loaded Commerce has been downloaded on the web server, it must be extracted to reveal its contents. The Loaded Commerce directory must be copied to the public HTML directory. This can be achieved with the following command:
cp -R loadedcommerce/path/to/public/html/directory/

Renaming the Configuration file

The zip file contains a configuration file that you have to rename before continuing.

Old Name New Name
includes/config_dist.php includes/config.php

File and Directory Permissions

The following file and directory permissions need to be writable by the web server:

Files Writeable
includes/config.php YES

 

Directories Writeable
admin/images/graphs YES
images/banners YES
images/categories YES
images/manufacturers YES
images/products YES
includes/work YES

Changing the file and directory permissions can be performed by most FTP clients or directly on the server.
Warning Please consult with your hosting provider
Please consult with your hosting provider to find out the permission flag to use to allow the web server to have write permissions to files and directories. In some cases a world write permission flag of 777 can be used but may lead to an insecure installation of Loaded Commerce.

Using FTP to Change File and Directory Permissions

Most FTP clients are capable of changing file and directory permissions on the server. This is commonly performed by right-clicking on the file or directory and selecting “Properties” or “Attributes” on the context menu. The file or directory permissions can be changed by allowing all users to read, write, and execute the file or directory, or by manually entering the world readable and world writable flag of 777.

Changing File and Directory Permissions Directly on the Server via SSH

Changing file and directory permissions directly on the server can be performed with the following command:
chmod -R 777 /path/to/public/html/directory/loadedcommerce/file_or_directory

Database

A database on the database server needs to exist for the installation procedure to be able to successfully import the database table structure and required data settings.
A table name prefix can be provided during the installation procedure if an already existing database is to be used. Using a unique table name prefix will prevent conflicts with existing tables in the database.

Web Server and Database Server Details

The following web server and database server details are required during the installation procedure. Please consult your hosting provider if these details are not known.

Web Server Details

Setting Description Possible Value
Server Address The web address to the online store. http://www.example.com/loadedcommerce/
Root Directory The directory where the online store is installed on the server. /home/user/public_html/loadedcommerce/
Work Directory The working directory for temporarily created files. /home/user/loadedcommerce_work/

Database Server Details

Setting Description Possible Value
Server Address The address of the database server in the form of a hostname or IP address. localhost
Username The username used to connect to the database server. user
Password The password that is used together with the username to connect to the database server. [email protected]
Database Name The name of the database to hold the data in. loadedcommerce
Database Type The database server software that is used. MySQL
Table Prefix The prefix to use for the database tables. lc_

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close