PHP Version help file
What you need
For the PHP / mySQL versions of the Ecommerce Plus Templates, you need a server that has a minimum of PHP version 4.1 and a mySQL database. To use the UPS shipping feature it will also be necessary for your host to have cURL component installed.
Setting the database connection
To set the database connection, please open the file vsadmin/db_conn_open.php in a text editor. You need to fill in the details in the spaces provided. The 4 pieces of information that you need to provide are the username and password for database access, the name of the database and the address of the database. If you are in any doubt about these, please ask your host who will provide you with the information. Then fill in the gaps between the quotes as shown.
$db_username = "loginname"; // Your database login username
$db_password = "loginpassword"; // Your database login password
$db_name = "databasename"; // The name of the database you wish to use
$db_host = "localhost";
The last parameter $db_host is normally "localhost". However, it can also be a URL like
$db_host = "db.myhost.com";
Once this information has been correctly entered, you can install the database tables and data. To do this, just open the file createdb.php in a browser by entering the address for instance
http://www.yoursite.com/createdb.php
Obviously replacing "www.yoursite.com" with whatever is the URL of your site. Then click on the button to "Install Ecommerce Plus" and your database will be created. Please remember to delete this file from your web after running it, as otherwise others could use it to destroy your information.
Getting Started
Once the database connection is correctly set, you can access the admin area by opening the page /vsadmin/admin.php in your browser.
The default username and password are mystore / changeme. Take time to go through the admin pages and configure the settings for your requirements
