ween Posted November 20, 2004 Posted November 20, 2004 Help Please!! I am a noob. I have a problem with my cart. Every time I try to "add to cart" or "buy Now" the cart always say it's empty. I went into the Mysql and saw that there are items in the "customers_basket" field. It doesn't display in the browser though. Any clue what would be creating this problem. My thoughts..... I think its the Shopping_cart.php file but like I said I'm a Noob. Feel free to see for yourself https://apmgraphics.com/catalog Thanks for any assistance
Guest Posted November 20, 2004 Posted November 20, 2004 If you don't get an answer in a few days I'll give you some debug code to help pinpoint the problem...how soon are you going live with your store?
ween Posted November 20, 2004 Author Posted November 20, 2004 If you don't get an answer in a few days I'll give you some debug code to help pinpoint the problem...how soon are you going live with your store? <{POST_SNAPBACK}> I'm in the learning stages. It's not a rush but it has been a problem from the very begining. I just went past it to learn other things. Any help would be appreciated. It is very frustrating though Thanks Ween
Guest Posted November 20, 2004 Posted November 20, 2004 If you don't get an answer in a few days I'll give you some debug code to help pinpoint the problem...how soon are you going live with your store? <{POST_SNAPBACK}> y not just giv him the debug code
Guest Posted August 24, 2005 Posted August 24, 2005 UGH! Im having the same problem. Someone please help, theres no solution anywhere on these forums!
♥Vger Posted August 24, 2005 Posted August 24, 2005 Make sure that in includes/configure.php file that your http_cookie_domain is set to www.yourdomain.com and not http://www.yourdomain.com Vger
Guest Posted August 24, 2005 Posted August 24, 2005 Make sure that in includes/configure.php file that your http_cookie_domain is set to www.yourdomain.com and not http://www.yourdomain.com Vger <{POST_SNAPBACK}> I have made sure. This doenst solve the problem. http://supercheaphydro.com/index.php Take a look, see if you can spot the problem. From what I can see, and from what other posters have commented. it appears to be loosing the session.... How can I remedy this?
♥Vger Posted August 24, 2005 Posted August 24, 2005 Your ssl cert is not issued to the website you posted, and it's worthless anyway as it's a self-signed cert. Set enable_ssl to false in both configure.php files and see if that fixes the problem. Vger
Guest Posted August 24, 2005 Posted August 24, 2005 Your ssl cert is not issued to the website you posted, and it's worthless anyway as it's a self-signed cert. Set enable_ssl to false in both configure.php files and see if that fixes the problem. Vger <{POST_SNAPBACK}> Thanks, I think we are getting somewhere. I have set the /includes/configure.php enable_ssl value to false. The problem persists. Where is the other configure.php file?
Guest Posted August 24, 2005 Posted August 24, 2005 admin/includes/ Vger <{POST_SNAPBACK}> Interesting, it was set to "true" with quotation marks... I have changed it to false (no quotes) Doesnt look like its working though.
Guest Posted August 24, 2005 Posted August 24, 2005 could it have something to do with the site using http instead of https for the most part? Should i switch to all https?
Guest Posted August 27, 2005 Posted August 27, 2005 Here is my admin/includes/configure.php define('HTTP_SERVER', 'http://supercheaphydro.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://supercheaphydro.com'); define('HTTPS_CATALOG_SERVER', 'https://supercheaphydro.com'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/usr/local/www/supercheaphydro.com/htdocs/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/admin/'); // absolute path required define('DIR_FS_ADMIN', '/usr/local/www/supercheaphydro.com/htdocs/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/'); // absolute path required define('DIR_FS_CATALOG', '/usr/local/www/supercheaphydro.com/htdocs/'); // 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', 'localhost'); // 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 my /includes/configure.php define('HTTP_SERVER', 'http://supercheaphydro.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://supercheaphydro.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'supercheaphydro.com'); define('HTTPS_COOKIE_DOMAIN', 'supercheaphydro.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', '/usr/local/www/supercheaphydro.com/htdocs/'); define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); // define our database connection define('DB_SERVER', 'localhost'); // 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', 'mysql'); // leave empty '' for default handler or set to 'mysql' Anything wrong?
Recommended Posts
Archived
This topic is now archived and is closed to further replies.