PowWeb Forums - The Perfect Community for the Perfect Host  

Register now to interact with over 11,000 members! Registered users have Posting Privileges, free access to Private Messaging, Email Notifications and more.

Go Back   PowWeb Community Forums > Web Site Design > Content Management Systems > E-commerce and Shopping Carts
User Name
Password
Register FAQ Members List Search Today's Posts Mark Forums Read

Closed Thread
 
Thread Tools Search this Thread
Old 12-19-04, 06:23 PM   #1
PriceTrim
 
Posts: n/a
Help with the shopping cart....

I have tried very thing.. here is the codes... I can not get any thing to work.. It will save products and not list others and list others when I hit refresh....

here is a link to the store... please help...

http://store.pricetrim.com

Here is the admin section configuire.php file.

Quote:
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://pricetrim.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTP_CATALOG_SERVER', 'http://pricetrim.com');
define('HTTPS_CATALOG_SERVER', 'http://pricetrimcom.secure.powweb.com');
define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module
define('DIR_FS_DOCUMENT_ROOT', '/www/******/r/******/htdocs/osCommerce/catalog/'); // where the pages are located on the server
define('DIR_WS_ADMIN', '/osCommerce/catalog/admin/'); // absolute path required
define('DIR_FS_ADMIN', '/www/******/r/******/htdocs/osCommerce/catalog/admin/'); // absolute pate required
define('DIR_WS_CATALOG', '/osCommerce/catalog/'); // absolute path required
define('DIR_FS_CATALOG', '/www/******/r/******/htdocs/osCommerce/catalog/'); // absolute path required
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_CATALOG_IMAGES', DIR_WS_CATALOG . 'images/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');
define('DIR_WS_CATALOG_LANGUAGES', DIR_WS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_LANGUAGES', DIR_FS_CATALOG . 'includes/languages/');
define('DIR_FS_CATALOG_IMAGES', DIR_FS_CATALOG . 'images/');
define('DIR_FS_CATALOG_MODULES', DIR_FS_CATALOG . 'includes/modules/');
define('DIR_FS_BACKUP', DIR_FS_ADMIN . 'backups/');

// define our database connection
define('DB_SERVER', 'mysql**.powweb.com'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', '******');
define('DB_SERVER_PASSWORD', '******');
define('DB_DATABASE', '******');
define('USE_PCONNECT', 'true'); // use persisstent connections?
define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql'
?>

and here is the catalog/include file...

Quote:
// Define the webserver and path parameters
// * DIR_FS_* = Filesystem directories (local/physical)
// * DIR_WS_* = Webserver directories (virtual/URL)
define('HTTP_SERVER', 'http://pricetrim.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'http://pricetrimcom.secure.powweb.com'); // eg, https://localhost - should not be empty for productive servers
define('ENABLE_SSL', true); // secure webserver for checkout procedure?
define('HTTP_COOKIE_DOMAIN', 'pricetrim.com');
define('HTTPS_COOKIE_DOMAIN', 'http://pricetrimcom.secure.powweb.com');
define('HTTP_COOKIE_PATH', '/osCommerce/catalog/');
define('HTTPS_COOKIE_PATH', '/osCommerce/catalog/');
define('DIR_WS_HTTP_CATALOG', '/osCommerce/catalog/');
define('DIR_WS_HTTPS_CATALOG', '/osCommerce/catalog/');
define('DIR_WS_IMAGES', 'images/');
define('DIR_WS_ICONS', DIR_WS_IMAGES . 'icons/');
define('DIR_WS_INCLUDES', 'includes/');
define('DIR_WS_BOXES', DIR_WS_INCLUDES . 'boxes/');
define('DIR_WS_FUNCTIONS', DIR_WS_INCLUDES . 'functions/');
define('DIR_WS_CLASSES', DIR_WS_INCLUDES . 'classes/');
define('DIR_WS_MODULES', DIR_WS_INCLUDES . 'modules/');
define('DIR_WS_LANGUAGES', DIR_WS_INCLUDES . 'languages/');

define('DIR_WS_DOWNLOAD_PUBLIC', 'pub/');
define('DIR_FS_CATALOG', '/www/******/r/******/htdocs/osCommerce/catalog/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

// define our database connection
define('DB_SERVER', 'mysql**.powweb.com'); // eg, localhost - should not be empty for productive servers
define('DB_SERVER_USERNAME', '******');
define('DB_SERVER_PASSWORD', '******');
define('DB_DATABASE', '******');
define('USE_PCONNECT', 'true'); // use persistent connections?
define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql'

some one please tell me what I am doing wrong.. I cant manage to get any of this working...
 
Old 12-20-04, 05:16 PM   #2
ToI2n_knIgHt
 
Join Date: Mar 2004
Location: Indiana
Posts: 71
Reputation: 5
define('HTTPS_CATALOG_SERVER', 'http://pricetrimcom.secure.powweb.com');


You need make it say 'https://pricetrimcom.secure.powweb.com'


I tried to view your site and it has a problem with:

Warning: mysql_pconnect(): Access denied for user: 'bra1heat@66.152.98.109' (Using password: YES) in /www/h/heat1bra25/htdocs/osCommerce/catalog/includes/functions/database.php on line 17
Unable to connect to database server!

Make sure that the database exist and that all information has been input into SQL
__________________
If it is to be then it is up to me
ToI2n_knIgHt is offline  
Old 12-20-04, 08:40 PM   #3
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
Change this:
Code:
define('USE_PCONNECT', 'true'); // use persistent connections?
to this:
Code:
define('USE_PCONNECT', 'false'); // use persistent connections?

The 'true' setting does not work here.

Also, HTTPS_COOKIE_DOMAIN should be just the domain, not a URL.
__________________
Steve
stevel is offline  
Old 12-31-04, 03:35 PM   #4
PriceTrim
 
Posts: n/a
I have tried absolutely every thing posted and STILL nothing seems to work. I do not understand, if any one could PLEASE help me I would be very very grateful!

I cut and pasted all the information provided. Nothing seems to work. I have went through this process, step by step atleast 20 times, still no success. I do not no what the problem is.

PLEASE help me.

email me if you can do it your self. I am about to just give up and cancel my pow web if this does not work, the longer this store doesnt work the more money I loose and I am not sure why it has worked for several friends on other servers with no gliche, and mine wont seem to work at all. Especially after I consulted you guys and did every thing posted.

Again, PLEASE help me! I am going crazy over here trying to get this to work. If you could post the whole thing edited to where I can just cut and paste or email me and I will send you the information to do it. I will gladly do so. I am just on the verge of giving up trying and canceling my pow web subscription. This is terrible, I really like pow web. And I am not sure what the problem is.

es@epicsavier.com is my email if you need to get in direct contact with me. Again, it would be VERY Much appreciated.

If you need to delete every thing and install it from scratch. I am more then willing, I would just like the files that will have all the manufacturers and the sections saved so I do not have to go do all that manually, again!

Thank you so much.
Heath
 
Old 12-31-04, 05:39 PM   #5
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
I'll send you an e-mail.
__________________
Steve
stevel is offline  
Old 1-2-05, 08:42 PM   #6
stevel
XPW
 
stevel's Avatar
 
Join Date: Jun 2002
Location: New Hampshire, USA
Posts: 9,464
Reputation: 265
I got you fixed up.
__________________
Steve
stevel is offline  
Closed Thread


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT -4. The time now is 10:45 PM.


Contents ©PowWeb, Inc. ~ vBulletin, Copyright © 2000-2007 Jelsoft Enterprises Limited.