ProfitCode Cart Installation
profitCode Software  -  Scripting the future of e-commerce!

profitCode Software
Leading PayPal IPN
enabled shopping cart
solution provider

 
 
 
    : Home | Documentation | PayProCart | Installation
 

 

 

ProfitCode Cart Installation

1. Unzip, maintain directory structure.
Upload contents of shop folder to your web directory.
Ex: shop/index.php woud be http://www.myserver.com/shop/index.php
2. Create a database named shop or whatever name you choose for a database.
Upload shop/docs/mysql.txt to your database.
It will create tables insert products etc.
You might have to remove the commented lines.
Warning: mysql.txt has delete table if exists statements.
It will delete any existing tables with same name as ours.
Either create a separate database, or review what table names we use.
3. Open up shop/adminshop/config/shopSettings.php and change the following variables:  
Root directory = "/home/blbla/mydomain/shop/";          (with starting and ending "/")
Shop web address = "http://www.myserver.com/shop";           (without ending "/")
Use www. or cookies will not work.
4. In your browser, go to http://www.myserver.com/shop/adminlogin.php
username: admin 
password: admin
This will set your admin cookie.
Thats it! You should be redirected to your admin Panel (adminshop/index.php).
After you are set up and logged in as Admin, you can see all your help documentation at your shops address (not recent docs):
http://www.mydomain.com/shop/adminshop/index.php?hdoc=index (change mydomain).
 
Notes:
If you see the below warning or similaron any of your shops web pages, its because your Root directory value above is wrong. In this case, the right value would be the highlighted one:
/home/my/web/shop/
Warning: Failed opening 'd:/indigo/htdocs/shop/adminshop/config/shplytColors.php' for inclusion (include_path='.:/usr/local/lib/php') in /home/my/web/shop/editsettings.php on line 163
 
If you see errors stating "could not write to file blabla" its probably because the file and the files folder are not chmodded 777.
We suggest you keep adminshop in a password protected directory.
If something does not work, try chmodding it 777 including folder.

The following folders must be chmodded 777  for the shop to work properly.
adminshop/config  (777 config folder and all files in it)
adminshop/ppaldumps (Where your IPN results are stored)
cstmincs/
shopincs/
images/products/
images/misc
images/upsell
aff/affcstmincs
aff/affshopincs