Installing X-Cart 4.02 GoldThese instructions are for installing the full version of X-Cart Gold 4.02 only. Support for the demo, previous or later versions and X-Cart administration is not included in this document. Contact X-Cart at http://www.x-cart.com for help with administration.
A. Create a MySQL Database
Before you begin the installation, create a database:
To install a new MySQL database, please ensure you are subscribing to either the Advantage or Business Plan. Then follow the instructions below:
1. Log into the Members section at Members Control Panel at https://controlpanel.netfirms.com
2. Click Hosting
3. Choose Databases
4. Click MySQL
4. Click Add
5. In the Add New Database tab, enter a description of your new database in the Description box
6. Click Create
The following will be created by the system for your database:
Database Name
Database address or hostname will be "MYSQLHOST"
User Name
Password
B. Adjust File/Directory Permissions
1. Go to http://www.x-cart.com/xcart_manual/online/
2. Type 'installation' in the "Type in the word(s) to search for:" textbox and press 'Go'
3. Start the installation procedures from step 3 on the X-Cart site.
- Change the file permissions of the following files with your FTP client
- Chmod the xcart directory to 777
- chmod config.php to 666
- chmod /admin/spam.sh to 755
- chmod /payment/*.pl to 755 (that is, all the files in that directory whose file names end with the extension .pl)
To set permissions for your CGI scripts, you can change them using your FTP program. Typically, permissions are changed to let the web server read, write, or execute CGI scripts.
To set permissions using most FTP programs, select the file or folder you wish to change and right-click 'change file attributes.'
Most scripts require permissions to be set to chmod 755.
C. Install the Software
4. Go to your X-Cart installation directory at http://www.yoursite.com/x-cart_directory/install.php
NOTE: If you are getting '500 Internal Server Errors' please consult the documentation with X-Cart regarding .htaccess. Alternatively we suggest that you simply temporarily disable the .htaccess file in your xcart directory by renaming it to htaccess1.
Your x-cart_directory is the directory that you uploaded the application to, probably /xcart - but that was determined by you when you uploaded the store.
5. After agreeing to the License, and affirming that the server's PHP configuration is okay, proceed to the Web Server and MySQL details page.
6. Use the following details:
Server host name: yourdomain.com - where yourdomain.com is your domain name
Secure server host name: membername.sslpowered.com - where membername is your Netfirms membername (refer to your Netfirms Welcome Letter)
X-Cart web directory: Likely /xcart - but it will be the directory path after 'www' that your installation has been uploaded to
MySQL host name: MySQLHost
MySQL user name: The MySQL user that you created earlier, which will have a name in starting with 'u' in the form of u1234567
MySQL database name: The MySQL database that you created earlier, which will have a name starting with 'd' in the form of d12345678
MySQL password: The password to your MySQL database, that will be assigned to you after you create the db through the Control Panel
7. Highlight your appropriate language and state
8. Click 'Yes' on 'Sample Categories/Products' if you want to import the sample store
9. If you are installing X-Cart for the first time, DO NOT check 'Update config.php only', and consult X-Cart's online documentation for more help with this setting
10. Press 'Next'
11. Wait about 20 minutes to make sure all the tables populate and show a green 'OK'. If not, follow the instructions below:
-----Follow the steps below ONLY if tables fail to populate properly-----
1. Log into your Control Panel at https://controlpanel.netfirms.com
2. Click Hosting
3. Choose Databases
4. Click MySQL
5. For the database you wish to administer, click the corresponding phpMyAdmin link
6. Click the database name in the upper left corner of the phpMyAdmin window
7. Click SQL
8. Copy these files from your webspace's /SQL directory to your PC via FTP (do a search on FTP to see a video on how to do this)- /sql/dbclear.sql
- /sql/xcart_tables.sql
- /sql/xcart_data.sql
If you want the sample store, upload these files:
- /sql/xcart_demo.sql
- /sql/states_.sql where is the state you have chosen for your installation
9. Click the 'Browse' button on the SQL screen in phpMyAdmin and upload each of the files in order, press 'Go' after each one
8. Wait a few minutes after each SQL query till you get the 'Query Executed Successfully' message.
Your store's installation should now be complete.
Please refer to X-Cart support documentation on how to access and configure your X-Cart store.