|
Setup and Installation
What you will need to know how to do:
- Unzip a folder on your computer
- Upload (FTP) files to your server
- Create a database on your server from your control panel.
1) On your web server (hosting service), either 1) create a new database or 2)
have the information of your current database. You will need the:
- Database name
- Database username
- Database password
2) Unzip the Photo Cart zip file to a place on your computer.
3) In the photocart folder , open the [ settings file name supplied ] file in a
text editor such as notepad, edit plus , etc .. . Do not use Word, Works or a
program similar.
In the [ settings file name supplied ] there are some variables to need to change
according to your server.
Be sure you only edit between the DOUBLE quotes! Example, $setup['path']= "this_is_where_I_edit";
$setup['path']= dirname(__FILE__); <-- Path to the photocart folder. **
$setup['url'] = "http://".$_SERVER['HTTP_HOST']."/photocart"; <-- URL to the
photocart folder. **
$setup['pc_db_location'] = "localhost"; <-- DATABASE LOCATION: this is normally
localhost.
$setup['pc_db'] = "user_photocart"; <-- NAME OF THE DATABASE
$setup['pc_db_user'] = "user_username"; <-- DATABASE USERNAME
$setup['pc_db_pass'] = "password"; <-- DATABASE PASSWORD
** Normally do not need to be changed
4) Upload (FTP) the “photocart” folder and all the contents to your server. Use
auto detect mode , or Binary mode for all images and ASCII for all other files.
6) Next, access the [database setup file name] on your website. On that page, if
you have the database information correct, press the Create Tables button.
That's it.
|