PDA

View Full Version : error shopping cart empty


gkmart
1-12-05, 05:28 PM
I have a site www.gkmart.com and use oscommerce. Everything was fine until yesterday. Now I am getting this error when I add an item to cart: (shopping cart is empty).

Also I have an image banner.jpg in images directory that is included in index.php but does not show up.

Any clue?

I looked at config.php and everything looks fine there. Here it is:


define('HTTP_SERVER', 'http://gkmart.com'); // eg, http://localhost - should not be empty for productive servers
define('HTTPS_SERVER', 'https://gkmart.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', 'http:/gkmart.com');
define('HTTPS_COOKIE_DOMAIN', 'https://gkmart.secure.powweb.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_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/g/k/gkmart.com/htdocs/');
define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/');
define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/');

stevel
1-12-05, 05:39 PM
You want this instead:

define('HTTP_COOKIE_DOMAIN', 'gkmart.com');
define('HTTPS_COOKIE_DOMAIN', 'gkmart.secure.powweb.com');

gkmart
1-12-05, 11:10 PM
I still get this error. This error started getting after I optimized as per search engines

stevel
1-13-05, 12:29 PM
I don't see a problem when I try your store. What error are you seeing>