solidad Posted July 31, 2005 Share Posted July 31, 2005 I installed the newest version of OSC and only added one contribution. Simple Template System (also newest version). So I thought I would try the shopping cart. So I click on an item and proceed to buy. Shopping cart is empty...So I click on the item again and this time it tells me to log in..so I create an account..which takes me back to the main page so now I have to find that product again...so I purchase it....shopping cart empty...so I try again and it goes through. I hit checkout and it spits me back to the main page....with the shopping cart empty.... so I try again with a new product...it goes through plus the other 3 that I had tried earlier...so I delete 2 of them (leaving 1 of 1 product 1 of the other) and instead it takes me back to the main page and empties the cart...so I try ANOTHER product and this time it remembers everything I had done before! What the heck is going on....I either can't checkout because it randomly dumps the cart or I can't get anywhere because it throws me back to the main page or I can't do anything because I am not logged in. Any help would be greatly apreciated. Robert Link to comment Share on other sites More sharing options...
solidad Posted July 31, 2005 Author Share Posted July 31, 2005 Since I can't edit this... URL: here configure.php define('HTTP_SERVER', 'http://gocny.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', ''); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'gocny.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/store/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/store/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/o/gocny.com/htdocs/store/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', ''); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', ''); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', ''); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' // STS: ADD: Define Simple Template System files define('STS_TEMPLATE_DIR', DIR_WS_INCLUDES . 'sts_templates/osc/'); define('STS_START_CAPTURE', DIR_WS_INCLUDES . 'sts_start_capture.php'); define('STS_STOP_CAPTURE', DIR_WS_INCLUDES . 'sts_stop_capture.php'); define('STS_RESTART_CAPTURE', DIR_WS_INCLUDES . 'sts_restart_capture.php'); define('STS_DEFAULT_TEMPLATE', STS_TEMPLATE_DIR . 'sts_template.html'); define('STS_DISPLAY_OUTPUT', DIR_WS_INCLUDES . 'sts_display_output.php'); define('STS_USER_CODE', DIR_WS_INCLUDES . 'sts_user_code.php'); define('STS_PRODUCT_INFO', DIR_WS_INCLUDES . 'sts_product_info.php'); define('STS_FUNCTIONS', DIR_WS_INCLUDES . 'sts_functions.php'); // STS: EOADD ?> Link to comment Share on other sites More sharing options...
Guest Posted July 31, 2005 Share Posted July 31, 2005 did you remove the quantity box from product_info.php? if so, you should readd it. Link to comment Share on other sites More sharing options...
solidad Posted July 31, 2005 Author Share Posted July 31, 2005 did you remove the quantity box from product_info.php? if so, you should readd it. <{POST_SNAPBACK}> I havent edited a single php file except the configure.php. I am really confused because now I can reload the main page and it either logs me in and adds a bunch of products to the cart or loads a guest and adds products or nothing at all. it's like there are multiple cookies being randomly loaded or something. Link to comment Share on other sites More sharing options...
♥Vger Posted July 31, 2005 Share Posted July 31, 2005 The above configure.php file is not the one your site is currently using, because your site is set up for a full ssl cert when you're using only a shared ssl from PowWeb. You also have not yet deleted your install folder nor set the right permissions on your includes/configure.php file. Vger Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.