Tjeneste-oppgradering: Følg linken for nærmere status vedrørende migrering, for generelle spørsmål og svar se vårt hjelpesenter.

Install Zen Cart


EXPERIENCING PROBLEMS WITH OUR SERVICES? RUN A DIAGNOSE FIRST TO SAVE YOURS AND OUR TIME

Added: 10.03.2014 23:26:29     Last updated: 22.08.2017 21:09:52

We recommend that you install Zen Cart automatically from our control panel. Follow the guide here.

This guide details how to proceed to install the online store Zen Cart on our web hosting accounts. Be aware that you can also install Zen Cart via Fantastico.

When you ordered you received an email about the web hosting account you created with us. In the window below we have listed relevant information for the web hosting account we are using in this example, as well as other relevant information.

Domain:dittdomene.net
Username:dittdomene
 
Database name:dittdomene_db
Database user:dittdomene_bruker


Step 1 - Download Zen Cart:
Go to Zen Cart's website at https://www.zen-cart.com and download the latest version.

Step 2 - Unpack the archive:
The file you downloaded is an archive that contains all of Zen Cart. Unpack this locally on the computer you are using.

Step 3 - Upload Zen Cart at the web hosting account:
Zen Cart can be uploaded in several ways. This guide details the simplest way - via FTP. If you are unsure how to set up an FTP client, you should have a look at our guide for this in the guide section on our website.

In our example we will install Zen Cart on the address http://dittdomene.no/. When you log in via FTP you must go to the folder public_html. Files that are put in the folder public_html will be accessible on the address http://dittdomene.no/. If you cannot find the folder public_html you have most likely specified in your FTP client that it should start in that folder.

Upload all files and folder from your local computer (from the folder you unpacked in) to the web hosting accound. Be aware that this may take a while since there are many files being uploaded.

Step 4 - Configure PHP settings for Zen Cart:
To meet the requirements of Zen Cart, we must override the standard setup for PHP for our web hosting account. This can be done by configuring the php.ini file for the folders we want to override.

Open a simple text editor you have access to, for example Notepad in Windows. Add the following:

output_buffering = On;

Save this file with the name php.ini. This file should be uploaded to the following folders on your web hosting account:

  • /public_html/
  • /public_html/zc_install/

Step 5 - Create database:
To use Zen Cart you must have a database. Follow the guide Create MySQL database in cPanel to create the database with associated database user. During the creating we specify "db" as database name and "user" as database user in this guide. This will give database name and database username like given in the top of this guide (all databasen names and database usernames get the web hosting account's username as prefix).

Step 6 - Browser installation:
Go to the address http://dittdomene.no/zt_install/ in your browser. You will automatically see the installation guide for Zen Cart.

Zen Cart installation


Step 7 - Welcome to Zen Cart
Zen Cart welcomes you.

  1. Read through the information from Zen Cart.
  2. Click on "Continue" to move on.
Zen Cart setup


Step 8 - Approve the terms for Zen Cart

  1. Read through the terms for use of Zen Cart.
  2. Mark that you approve the terms for use of Zen Cart.
  3. Click on "Continue" to move on.
Approve terms for Zen Cart


Step 9 - Check that the requirements for Zen Cart are filled

  1. Look through and see that Zen Cart is not reporting mistakes in the setup before the installation can continue. All points in the list should shine green. Should there be mistakes in the setup, can changes be madevia php.ini, see step 4.
  2. KClick on "Install" to continue the installation process.
System specification for Zen Cart


Step 10 - Database Server

  1. Choose "UTF-8" for Database Character Set
  2. Database Host should be "localhost".
  3. Specify the database's username, which in this case is: dittdome_bruker
  4. Specify the database user's password, if you set one when you created the database.
  5. Specify the database's name, which in this case is: dittdome_db
  6. Click "Save Database Settings" to move on to the next step in the installation process.
Information about database, user and password for Zen Cart


Step 11 - System settings

  1. Check that the physical path where Zen Cart is being installed is correct.
  2. Check that the virtual path, URL, for the Zen Cart installation is correct.
  3. Check that the https domain is correct. Zen Cart will normally collect the correct information for this field if you are unsure.
  4. Check that the https server URL is correct. Zen Cart will normally collect the correct information for this field if you are unsure.
  5. If you do not use SSL, choose No for Enable SSL
  6. If you do not use SSL, choose No for Enable SSL in Admin Area
  7. Click "Save System Settings" to move on to the next step in the installation process.
Choose the domain Zen Cart should be installed on


Step 12 - Online store settings

  1. Type the name you want for the online store in the field "Store Name".
  2. Type the name of the owner of the online store in the field "Store Owner".
  3. Skriv inn epostadressen til eieren av nettbutikken in the field "Store Owner Email".
  4. Choose which country the online store is located in from the dropdown menu for "Store Country".
  5. Choose nearest zone for your online store from the dropdown menu for "Store Zone".
  6. Type the address for the online store in the field "Store Address".
  7. Choose standard language for the online store in the field "Store Language".
  8. Choose standard currency for the online store in the field "Store Currency".
  9. Choose whether you want to install demo categories and products for your online store.
  10. Click "Save Store Settings" to move on to the next step.
Store setup for Zen Cart


Step 13 - Administrator settings

  1. Type a username you want for administrator login for the online store.
  2. Type an optional password for the administrator login.
  3. Confirm the password.
  4. Type the email address of the online store's administrator.
  5. Mark if you want Zen Cart to automatically check for updates when administrator logs in.
  6. Click "Save Admin Settings" to move on to the next step.
Admin username and password for Zen Cart


Step 14: Zen Cart installed

  1. For security reasons we will make a couple of operations on the Zen Cart installation. This is further detailed in step 15.
  2. Click on "Click here to go to store" to go to the newly installed online store.
  3. Click on "Click here to open the Admin area" to log in to the administrator interface for the online store.
Completed installation of Zen Cart


Step 15: Change the rights of configure.php
For security reasons we should switch to only reading rights for the following files of the Zen Cart installation:

  • /include/configure.php
  • /include/admin/configure.php

Step 1: File Manager from cPanel
Log in to cPanel for the specific web hosting account where Zen Cart has been installed, and click on the icon for "File Manager" as shown in the screenshot below:

File Manager in cPanel


Step 2: Change /include/configure.php
Double click on the folder /include to see the contents of this folder.

Go to folder in File Manager
  1. Click on "Perms" for the file configure.php.
  2. Type "0444" for reading and writing terms for the files configure.php. This change will only put reading rights on that specific file.
  3. Click "OK" to save the change.
Change permissions for configure.php in File Manager


Step 3: Change /include/admin/configure.php
Repeat step 2 for the file /include/admin/configure.php

Step 4: Delete the folder /zc_install
Delete the folder /zc_install da installasjonen nå er fullført. Denne mappen utgjør en sikkerhetsrisiko og må derfor slettes.

Step 5: Change the name of the folder /admin
The folder /admin must be changed to something different for security reasons.

Done
We have now been through how to install Zen Cart on your web hosting account. You can now see your website on the URL you installed it on, and administer the website via the administrator interface. In our example the URL for the two is as shown in the window below:

URL for your website:http://dittdomene.net/
URL for administrator interface:http://dittdomene.net/"admin"/       (Se step 15, 5)