# Welcome to Zen Cart™ ... The Zen Cart™ software is made available to you for use, additions, changes, modifications, etc. without charge, under the GNU General Public License. While we do not charge for this software, donations are greatly appreciated each time you download a new version, to help cover the expenses of maintenance, upgrades, updates, the free support forum and the continued development of this software for your online e-commerce store. Donations can be made at: The Zen Cart™ Team Page We appreciate your support. The Zen Cart™ Team Zen Cart™ is derived from: Copyright 2003 osCommerce This program is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE and is redistributable under the GNU General Public License

# NEW INSTALLATION # Getting Started ... This is a basic guide to installing Zen Cart™. If you already have Zen Cart™ installed and wish to upgrade from a previous version to this new release, please see the Upgrade Instructions and the What's New documentation. Since you're reading this file, you have likely already unzipped the Zen Cart™ distribution file and its contents into a folder on your personal computer. So, if you haven't already done so, unzip the files to your PC now, retaining the file structure within the zip file. # Upload the Zen Cart™ fileset to your webserver Upload, via FTP, the whole program into a directory on your server. Example: /catalog (We will use "/catalog" as an example here. You can choose "no" foldername, or something else if you prefer, such as "/zencart", or "/store" etc) NOTE: As you upload your files, make sure that your FTP program and your webserver allow "long filenames". For example, by default, MAC OS tends to not maintain long filenames, and you'll need to modify settings to allow this. After everything has uploaded, you need to prepare a few things on the server to get started. Create two empty files to store configuration settings. Change the permissions on some of the files and directories. # Creating the configure.php files Two files need to be created on the server. These are the configure.php files that identify the settings of your particular server and the location of the files that you just loaded. After they have been created, you will then need to change the permissions on these files. NOTE: Changing permissions can be done via your FTP program with the chmod feature. Usually clicking right on a directory or filename will open a menu with this option (perhaps under "Properties") On the server locate the file: /catalog/includes/dist-configure.php Rename this file to configure.php and change the permissions to 777 (read-write-execute for all) Next, on the server locate the file: /catalog/admin/includes/dist-configure.php Rename this file to configure.php and change the permissions to 777 (read-write-execute for all) (Note: In both cases, you could also upload an empty file called configure.php and then set the permissions to 777, instead of renaming as described above.) NOTE FOR IIS USERS: If using IIS for Windows hosting, the "chmod 777" idea for permissions settings is likely foreign to you. In IIS, under Windows, you need to right-click on the file (or folders in the next section below), and choose Properties. Then under the Security tab, ensure that the IUSR_SOMETHING user has at least "read" and "write" privileges... likely best to give "modify" as well. This should be done on each file/folder indicated. (If the IUSR_XXXXXX user isn't listed, click "Add" and add that user from the list, and then set the required permissions.) # Set Permissions on folders Now, change the permissions on the following directories to 777 (read/write/execute). /catalog/cache /catalog/images /catalog/includes/languages/english/html_includes /catalog/media /catalog/pub /catalog/admin/backups /catalog/admin/images/graphs Note: open the catalog/images directory and change all of the subdirectories and their subdirectories to 777 as well. For example (this is a partial list): /catalog/images/attributes /catalog/images/dvd /catalog/images/large /catalog/images/large/dvd /catalog/images/medium /catalog/images/upload NOTE: If you miss any of the images directories and subdirectories inside /images and try to use them later, you will get an error message that you cannot write to these directories. # Before Running the Installer The installer is fairly intelligent and should be able to automatically supply answers to the questions listed below. You will, however, need to confirm that the auto-detected answers are, in fact, correct as on some servers they may differ. You will need the following information for the installation: The physical path to your new Zen Cart™ directory Example: /home2/zencart/public_html/catalog The Virtual HTTP Path (the URL to your domain and directory for your shop) Example: http://www.mydomain.com/catalog The Virtual HTTPS Server (the secure URL to your domain) Example: https://wwww.mydomain.com Note: if you have a shared certificate on a virtual server this may look like: https://secure.sashbox.net/~zencart - or - https://secure.sashbox.net/~username The Virtual HTTPS Path (the secure URL to your domain and directory for your shop) Example: https://wwww.mydomain.com/catalog - or - https://secure.sashbox.net/~username/catalog # Starting the Installer In your browser, enter the URL to your new shop, and the Installer should automatically start. Example: http://www.mydomain.com/catalog - or - to start the installer directly, use: http://www.mydomain.com/catalog/zc_install If you now see a list of filenames and directories, you should speak to your Hosting Site about how to setup your server to auto-detect PHP filename extensions. You will be presented with a "Welcome to Zen Cart™" page, explaining the features of Zen Cart™. Clicking on Continue takes you to the license screen where you are asked to read and confirm acceptance of the GPL licensing agreement. ### System Inspection Next, it will examine your server for compliance with technical requirements for running Zen Cart™, presenting you with several items you may need or want to address with your host. Anything marked in red or with an "X" must be addressed before the installer can continue. Things marked with an orange or yellow "caution" symbol are simply warnings that may or may not apply to your setup now. The image folders and others as described earlier in this document are also noted. If you make changes to your server, you can click Re-Check or press F5 in your browser to refresh the display and reflect the changes you've made before proceeding. If a previous version of Zen Cart™ is found on your server, the installer will attempt to determine the database patch level and display that on the screen as well. In this case, an "upgrade" button will display at the bottom of the screen offering you the ability to upgrade if needed. See the UPGRADE.html document for upgrade instructions. Once you are satisfied that the "pre-flight-check" inspection is OK for your needs (ideally, all green check-marks), you may click the "Install" button at the bottom of the screen. ### System Setup On the System Setup page you will need to complete the information we described in "Before Running the Installer" earlier in this document. Indicate if you want to Enable SSL (the secure pages where required, in Login, Checkout, and optionally Admin areas) on your server. If you do not have an SSL certificate yet, do not enable this feature now. It can be changed at a later date. (See the FAQ's on the Zen-Cart.com website for detailed instructions). Note: If you receive any of the following error messages, go through the above steps to make sure you have not left anything out. All error messages have context-sensitive help via a popup window if you click on the more info... links supplied. Warning: Problems Found /includes/configure.php does not exist. more info... /admin/includes/configure.php does not exist. more info... ### phpBB Setup Next, you will be prompted for phpBB path information. If you have the phpBB forum software already installed on your site, you may enable it for connectivity and synchronization from Zen Cart™. To enable it, specify the path on your server where the phpBB files are located. For example, if they are in ......public_html/forums then you would enter /forums in the Zen Cart™ installer for path to phpBB files. ### Database Setup On the next screen, you are asked for Database Information about your MySQL database, username and password. These can be obtained from your cPanel or equivalent control screen provided by your host. If you do not have a clean MySQL database setup with a username and password, you will need to make one. Contact your Hosting site if you need assistance in creating a MySQL database table and/or username and password. Note that you need to have your database and userID created before the Zen Cart™ installer can continue past this screen. Other information on this screen: At this time, MySQL is the primary operational database type. Future releases will support other database types. We recommend that you store your Database Sessions in your database for security purposes. ### Store Setup Now, complete the Store Information about your Shop. Note: except for "demo data", all of the information here can be (re)configured later in the Admin area of your shop. Demo Data If you would like to install the demo data, select yes. We recommend that you install the demo data to familiarize yourself with many of the examples created that explain and demonstrate the vast number of features available in Zen Cart™. You may also decide later, to set up a test site with the demo data AND a separate working site for your live data so that you have the ability to refer back to the demo data for help and to see examples of a feature. After you click Save Store Settings, there will be some hesitation as the database tables are created and the demo data is optionally loaded. ### Admin Setup Now, complete the Admin Information to set your Login name, Admin email address and password. NOTE: both the login name and password are case sensitive. Save the Admin settings and your installation is now complete! Providing there were no errors during installation, you should be able to now enter the Admin or the Catalog. # After Installation When you enter the Catalog, you will receive security warnings about the configure.php files and the /zc_install directory. configure.php files You will now want to change the permissions on the configure.php files with chmod 644 (or 444 depending on your server.) These are located in: /catalog/includes/configure.php /catalog/admin/includes/configure.php It would also be a good idea to download a copy of these files to your computer from the server as they have been setup and configured to your server specifications based on the Installation process. If you have any errors or problems, most of these can be corrected by minor adjustments to these two files. zc_install directory Next, you will want to delete or rename the /catalog/zc_install directory to something like: /catalog/zc_install_complete NOTE: use a different name than zc_install_complete as some hacker may try it, having read this help file. # Next Steps For information on "First Steps To Set Up Your Online Shop", see the FAQ section at the Zen Cart™ Website and look under the "Configuration" section for "First Steps..." # Help and Support For additional help and support issues, visit our FAQ's and our Support Forums on the web at: Zen Cart™ Website Good Luck with the software and Enjoy the Zen Cart™ Experience!