Guest Posted September 17, 2004 Share Posted September 17, 2004 I've looked through this forum and I see this issue over and over again, but I'm not finding solutions that will help me. I have a shared SSL (I know, "buy the real thing." I would but I don't have the money). I have modified all 3 configure files... includes/configure.php extras/win32/configure.php admin/includes/configure.php and I'm still running across the same problem. I'm dropping my session ID. I add something to the cart, go to checkout, it prompts me for login. I login, go to checkout and my cart is empty... Okay, I think "maybe I need to login first for some reason, then add to cart." I login, go to catalog, and I'm logged out. The minute I move from http to https I lose my session ID. I've spent the last hour talking with my webhost via yahoo messenger. I was told that I need to upload as normal add the "s" to the "http" and configure my code to point to the correct file. Been there, done that, got the tee shirt but still no results. I'm open to suggestions. Thanks, Tina Link to comment Share on other sites More sharing options...
Guest Posted September 18, 2004 Share Posted September 18, 2004 you should post the configure.php files. now what is the extras/win32/configure.php file? what are you running, or what version are you running? dont post the database info, username, password Link to comment Share on other sites More sharing options...
Guest Posted September 18, 2004 Share Posted September 18, 2004 Thank you for your willingness to help. My code for includes/configure.php follows... <?php /* ?osCommerce, Open Source E-Commerce Solutions ?https://www.oscommerce.com ?Copyright (c) 2003 osCommerce ?Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) // * DIR_WS_* = Webserver directories (virtual/URL) ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_SERVER', 'http://smdwynne.com'); // eg, https://localhost - should not be empty for productive servers ?define('HTTPS_SERVER', 'https://67.19.156.130/~smdwynne'); // eg, https://localhost - should not be empty for productive servers ?define('ENABLE_SSL', true); // secure webserver for checkout procedure? ?define('HTTP_COOKIE_DOMAIN', 'smdwynne.com'); ?define('HTTPS_COOKIE_DOMAIN', 'smdwynne.com'); ?define('HTTP_COOKIE_PATH', '/hospital-supplies/'); ?define('HTTPS_COOKIE_PATH', '/hospital-supplies/'); ?define('DIR_WS_HTTP_CATALOG', '/hospital-supplies/'); ?define('DIR_WS_HTTPS_CATALOG', '/hospital-supplies/'); ?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', '/home/smdwynne/public_html/hospital-supplies/'); ?define('DIR_FS_DOWNLOAD', DIR_FS_CATALOG . 'download/'); ?define('DIR_FS_DOWNLOAD_PUBLIC', DIR_FS_CATALOG . 'pub/'); ?> for admin/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright (c) 2003 osCommerce Released under the GNU General Public License */ // Define the webserver and path parameters // * DIR_FS_* = Filesystem directories (local/physical) // * DIR_WS_* = Webserver directories (virtual/URL) define('HTTP_SERVER', 'http://smdwynne.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://smdwynne.com'); define('HTTPS_CATALOG_SERVER', 'https://67.19.156.130/~smdwynne'); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/home/smdwynne/public_html/hospital-supplies/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/hospital-supplies/admin/'); // absolute path required define('DIR_FS_ADMIN', '/home/smdwynne/public_html/hospital-supplies/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/hospital-supplies/'); // absolute path required define('DIR_FS_CATALOG', '/home/smdwynne/public_html/hospital-supplies/'); // 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/'); ?> I'm running osCommerce 2.2-MS2 with PHP Version 4.3.8 on Linux 2.4.27.EIS1smp Thanks again, Tina Link to comment Share on other sites More sharing options...
AlanR Posted September 18, 2004 Share Posted September 18, 2004 You're on a Linux server, you don't need that extras/win32/ folder or its contents. Delete the folder. Try define('HTTPS_COOKIE_DOMAIN', '67.19.156.130/~smdwynne'); instead of define('HTTPS_COOKIE_DOMAIN', 'smdwynne.com'); Local: Mac OS X 10.5.8 - Apache 2.2/php 5.3.0/MySQL 5.4.10 • Web Servers: Linux Tools: BBEdit, Coda, Versions (Subversion), Sequel Pro (db management) Link to comment Share on other sites More sharing options...
Guest Posted September 19, 2004 Share Posted September 19, 2004 Thank you thank you thank you! It's working now! Tina :rolleyes: :P :D Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.