logoleaf Posted April 15, 2007 Posted April 15, 2007 I have my template for about a year until now i've switched to a different hosting company and i got problems with cookies setting. After a few days i got it fixed but another problem comes up on page shopping_cart.php. When i try to add items to cart. It just pop up with this message: --------------------------------------- "Your Shopping Cart is empty!" --------------------------------------- Please try this link and add items to cart to see the actual problem: www.logoleaf.com below is my setting with shop/includes/configure.php: define('HTTP_SERVER', 'http://www.logoleaf.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure.hostmonster.com/~logoleaf'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.logoleaf.com'); define('HTTPS_COOKIE_DOMAIN', 'https://secure.hostmonster.com/~logoleaf/'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/'); define('DIR_WS_HTTP_CATALOG', '/shop/'); define('DIR_WS_HTTPS_CATALOG', '/shop/'); 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/'); I'm not sure about cookies path where is it locate, and which folder should it be, and how is it sets? My server is using Share-SSL. Please correct me if there's a wrong set up or link me to any threat that related to my problem. I've read a serveral threats but, doesn't work. Thanks for advance! and hope some one will help to resolve this situation promtly. Please, any of your help are really appreciated.
♥Vger Posted April 15, 2007 Posted April 15, 2007 define('HTTP_COOKIE_DOMAIN', 'www.logoleaf.com'); define('HTTPS_COOKIE_DOMAIN', 'secure.hostmonster.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/~logoleaf/');
logoleaf Posted April 15, 2007 Author Posted April 15, 2007 define('HTTP_COOKIE_DOMAIN', 'www.logoleaf.com');define('HTTPS_COOKIE_DOMAIN', 'secure.hostmonster.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/~logoleaf/'); Hi Vger, It still doesn't work. When i add item to cart it shows 1 item in cart. Then i click check out it will bring me to login page. Then when after i've loged in. It shows up the message "Your Shopping Cart is empty!". Can you please tell what is the problem it could come from? It have to be some way to fix it. Please support me for this impossible problem. Thanks and appreciated for your help. Wait to hear from you soon!
logoleaf Posted April 16, 2007 Author Posted April 16, 2007 define('HTTP_COOKIE_DOMAIN', 'www.logoleaf.com');define('HTTPS_COOKIE_DOMAIN', 'secure.hostmonster.com'); define('HTTP_COOKIE_PATH', '/'); define('HTTPS_COOKIE_PATH', '/~logoleaf/'); I've tried the package from Osc site click here and came up error code like this when proceed to check out: Fatal error: Cannot redeclare tep_show_category() (previously declared in /home/logoleaf/public_html/shop/includes/header.php:163) in /home/logoleaf/public_html/shop/includes/boxes/categories.php on line 13 Please, any help would be really appreciated! Thank you!
Recommended Posts
Archived
This topic is now archived and is closed to further replies.