Helping ordinary people create extraordinary websites!
HOME TUTORIALS SCRIPTS WEB HOSTING BLOG FORUM
Get Our Newsletter
Your Email:

CubeCart 3.0 Installation and Configuration

By Michael J. Ross
2008-04-07


Installing CubeCart

Your first step in installing CubeCart is to go to the version 3 download page.

Click the link for version 3.0.17, which is what we will be using in this tutorial. This will take you to the 3.0.17 page, which has more detailed information about this particular maintenance release.

Click the Download button, and save the archive file (CubeCart_3.0.17.zip) somewhere on your computer. If you have a broadband connection to the Internet, then the download process should take just a few seconds, because the installation file is only 2.5 megabytes in size. (Before leaving that download page, you may notice that the total number of downloads so far exceeds 200,000. For version 3.0.15, the figure is greater than 7 million! This gives you an idea as to CubeCart's popularity.)

Open up the archive file, and save the contents of the "upload" directory into a new CubeCart directory within your Web server's root. The entire CubeCart installation on disk comprises 1125 files in 236 directories.

Next create a database on your MySQL server for CubeCart. The following commands will do this:

CREATE DATABASE cubecart_test;
GRANT SELECT, INSERT, UPDATE, DELETE, CREATE,
DROP, INDEX, ALTER, CREATE TEMPORARY TABLES,
LOCK TABLES ON cubecart_test.* TO cubecart_user@localhost
IDENTIFIED BY 'password;

Note that we are using test values only, and you should use a far more secure password for any production installation.

Point your Web browser to the CubeCart index.php, which will begin CubeCart's installation process. For instance, if you had named the CubeCart root directory "CubeCart/" and had placed it in the root directory of your local Web server, then the URL to use would be "http://localhost/CubeCart/index.php". You can even leave off the "index.php" if your Web server has been configured to look for that file name as a default.

At the license agreement page, click the agreement checkbox and then the Continue button.

At the second screen, verify that all of the file permissions are set correctly. This applies only to Linux and Unix servers, as seen in the screenshot above, in which a Windows XP server is being used.

The third screen, shown above, is a critical one, because this is where you will enter the information needed by CubeCart to connect to the database you had created earlier. You should also set your country location and your administrative login information. CubeCart version 3.x comes preloaded with three skins: Classic, Legend, and Killer. In this tutorial, we will use the first option, which is the default. You can click on any of the three thumbnails to see a larger image of each skin. Most likely, none of the advanced settings need to be changed.

At this point you can breathe a sigh of relief, because you are now past the stage of the installation process that gives beginners the most difficulties. If you are installing on a Linux or Unix server, you are now prompted to change the permissions of the configuration file includes/global.inc.php, making it not writable by others, for security reasons. Again, for Windows users, this is not applicable. (However, it does not stop the admin panel of CubeCart version 3.0.16 from complaining that your configuration file is still writable, whenever you log in as the administrator.)

You have now finished CubeCart's installation process.



Tutorial Pages:
» CubeCart 3.0 Installation and Configuration
» System Requirements
» Choosing and Downloading CubeCart
» Installing CubeCart
» Verifying Your Installation
» Configuring CubeCart


Related Tutorials:
» Port Scanning and Service Status Checking in PHP
» Web Database Access from Desktop Applications
» PHP Site Search Made Easy
» Installing and Configuring Drupal 6.1
» Desktop Application Development with PHP-GTK
» Installing PHP on Windows