Guest Posted March 15, 2004 Share Posted March 15, 2004 I can not log into my account. I created a dummy account so you can take a look at what I am talking about. http://www.scentfromheavencandles.com/catalog username: test@damato2001.com password: test1 when you log in it just goes back and says welcome guest. Then if you try to add something to the cart it does not show up. It is like a big loop you log in and it just take you back to the beginning. And the same goes for adding a product to the cart it doesnt add it just take you back to the beginning. Hope someone can help. Thanks Dan Link to comment Share on other sites More sharing options...
etepalusip Posted March 15, 2004 Share Posted March 15, 2004 If you post your catalog/includes/configure.php and admin/catalog/includes/configure.php, someone should be able to help Pete Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2004 Share Posted March 16, 2004 Here is catalog/includes/configure.php <?php /* $Id: configure.php,v 1.14 2003/07/09 01:15:48 hpdl Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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', ''); // 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', ''); define('HTTPS_COOKIE_DOMAIN', ''); 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', dirname($HTTP_SERVER_VARS['SCRIPT_FILENAME'])); 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', 'osCommerce'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> And catalog/admin/includes <?php /* $Id: configure.php,v 1.14 2003/02/21 16:55:24 dgw_ Exp $ osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 2002 osCommerce Released under the GNU General Public License */ // define our webserver variables // FS = Filesystem (physical) // WS = Webserver (virtual) define('HTTP_SERVER', ''); // eg, http://localhost or - https://localhost should not be NULL for productive servers define('HTTP_CATALOG_SERVER', ''); define('HTTPS_CATALOG_SERVER', ''); define('ENABLE_SSL_CATALOG', 'false'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', $DOCUMENT_ROOT); // where your pages are located on the server. if $DOCUMENT_ROOT doesnt suit you, replace with your local path. (eg, /usr/local/apache/htdocs) define('DIR_WS_ADMIN', '/admin/'); define('DIR_FS_ADMIN', DIR_FS_DOCUMENT_ROOT . DIR_WS_ADMIN); define('DIR_WS_CATALOG', '/catalog/'); define('DIR_FS_CATALOG', DIR_FS_DOCUMENT_ROOT . DIR_WS_CATALOG); 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', ''); define('DB_SERVER_USERNAME', 'mysql'); define('DB_SERVER_PASSWORD', ''); define('DB_DATABASE', 'osCommerce'); define('USE_PCONNECT', 'false'); define('STORE_SESSIONS', ''); ?> Thanks hope someone can help Link to comment Share on other sites More sharing options...
etepalusip Posted March 16, 2004 Share Posted March 16, 2004 hey dan, those are the unconfigured configure.php files.....we'll need your actual settings, minus db and passwords. Pete Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2004 Share Posted March 16, 2004 Ok here they are again: [COLOR=red]catalog/includes/configure.php[/color] <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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://www.scentfromheavencandles.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://secure1.hostsave.com/ssl/my account name/'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', true); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'www.scentfromheavencandles.com'); define('HTTPS_COOKIE_DOMAIN', 'https://secure1.hostsave.com/ssl/my account name/'); define('HTTP_COOKIE_PATH', '/cookies/'); define('HTTPS_COOKIE_PATH', '/cookies/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/ssl/my account name/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', '/nfs/cust/3/0/1/my account name/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', 'mysql.scentfromheavencandles.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'my login name'); define('DB_SERVER_PASSWORD', 'my password'); define('DB_DATABASE', 'scentf'); define('USE_PCONNECT', 'false'); // use persistent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> catalog/admin/includes/configure.php <?php /* osCommerce, Open Source E-Commerce Solutions http://www.oscommerce.com Copyright © 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://www.scentfromheavencandles.com'); // eg, http://localhost - should not be empty for productive servers define('HTTP_CATALOG_SERVER', 'http://www.scentfromheavencandles.com'); define('HTTPS_CATALOG_SERVER', 'https://secure1.hostsave.com/ssl/my account name'); define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module define('DIR_FS_DOCUMENT_ROOT', '/nfs/cust/3/0/1/my account name/catalog/'); // where the pages are located on the server define('DIR_WS_ADMIN', '/catalog/admin/'); // absolute path required define('DIR_FS_ADMIN', '/nfs/cust/3/0/1/my account name/catalog/admin/'); // absolute pate required define('DIR_WS_CATALOG', '/catalog/'); // absolute path required define('DIR_FS_CATALOG', '/nfs/cust/3/0/1/my account name/catalog/'); // 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', 'mysql.scentfromheavencandles.com'); // eg, localhost - should not be empty for productive servers define('DB_SERVER_USERNAME', 'my account name'); define('DB_SERVER_PASSWORD', 'my password'); define('DB_DATABASE', 'scentf'); define('USE_PCONNECT', 'false'); // use persisstent connections? define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' ?> Thanks alot Link to comment Share on other sites More sharing options...
etepalusip Posted March 16, 2004 Share Posted March 16, 2004 hey dan, i'd try changing these lines in catalog/includes/configure.php: define('HTTP_COOKIE_DOMAIN', 'www.scentfromheavencandles.com'); define('HTTPS_COOKIE_DOMAIN', 'https://secure1.hostsave.com/ssl/my account name/'); define('HTTP_COOKIE_PATH', '/cookies/'); define('HTTPS_COOKIE_PATH', '/cookies/'); to: define('HTTP_COOKIE_DOMAIN', 'scentfromheavencandles.com'); define('HTTPS_COOKIE_DOMAIN', 'secure1.hostsave.com/ssl/my account name/'); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/catalog/'); pete Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2004 Share Posted March 16, 2004 Ok did that and nothing still just doing a big loop. I add a product and it shows up. I go to checkout and it takes me to the login page. When I log in it takes me back to the main page as a guest. :wacko: This has really got me frustrated. Link to comment Share on other sites More sharing options...
user99999999 Posted March 16, 2004 Share Posted March 16, 2004 Try this define('HTTP_SERVER', 'http://www.scentfromheavencandles.com'); define('HTTPS_SERVER', 'https://secure1.hostsave.com/ssl/scentf/'); define('ENABLE_SSL', true); // secure webserver for checkout procedure? //DOMAIN not URL define('HTTP_COOKIE_DOMAIN', 'www.scentfromheavencandles.com'); define('HTTPS_COOKIE_DOMAIN', 'secure1.hostsave.com'); //PATH the directory part after the domain not '/cookies/' define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', '/ssl/scentf/catalog/'); define('DIR_WS_HTTP_CATALOG', '/catalog/'); define('DIR_WS_HTTPS_CATALOG', '/ssl/scentf/catalog/'); Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2004 Share Posted March 16, 2004 ok when I make those changes this is the URL it sends me to and I get a 404 page not found error. https://secure1.hostsave.com/ssl/scentf//ss...ef8110c781abcb4 it is trying to put the ssl/scentf twice. :( Link to comment Share on other sites More sharing options...
user99999999 Posted March 16, 2004 Share Posted March 16, 2004 define('HTTPS_SERVER', 'https://secure1.hostsave.com'); Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2004 Share Posted March 16, 2004 That didnt work either. Link to comment Share on other sites More sharing options...
ThatGirlBytes Posted March 16, 2004 Share Posted March 16, 2004 Any luck yet? I'm having the same problem. Link to comment Share on other sites More sharing options...
Guest Posted March 16, 2004 Share Posted March 16, 2004 nope just keeps going round and round. Nothing works I can see everything all pages load but after login it just goes back to the main screen as a guest. I am so frustrated now I am just pulling my hair out Link to comment Share on other sites More sharing options...
ThatGirlBytes Posted March 16, 2004 Share Posted March 16, 2004 I just made the changes suggested at http://www.creloaded.com/modules.php?name=...viewtopic&t=627 can't tell if it worked yet, i have always been able to go through the entire purchase without a problem. But every 3 out 10 customers are having problems - I'm just glad their letting us know about it. Hope this helps for the both of us ;) Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2004 Share Posted March 17, 2004 i have the same problem. frustrating really, though i suppose it could be worse. i'll keep poking around and let you know if i make any progress. TEGO http://gravitech.net Link to comment Share on other sites More sharing options...
Guest Posted March 17, 2004 Share Posted March 17, 2004 just as etepalusip suggested in an earlier post, it had something to do with cookies (in my case). i hope ya'll get it straightened out quick, i know it's a headache and a half. TEGO http://gravitech.net Link to comment Share on other sites More sharing options...
lukebyrne Posted March 17, 2004 Share Posted March 17, 2004 Hey, I am having the same problem, has anyone figured it out yet. I am not getting the problem when I am doing it myself but when some of my customers are doing it they are getting the same problem. I need to get this sorted asap. I am using db based sessions instead of cookies. Cheers, Luke Link to comment Share on other sites More sharing options...
jgladys Posted March 19, 2004 Share Posted March 19, 2004 Hi, You should not play with configure, but rather change admin settings to: Force Cookie Use - True Recreate Session - False The problem comes from browser, and its level of privacy settings. I hope it will help. Rgs. Link to comment Share on other sites More sharing options...
zebrax Posted March 20, 2004 Share Posted March 20, 2004 I am having a similar problem. When I login I get a message saying "you are about to be directed to a connection that is not secure" It takes me back to my none ssl site and with "Error: No match for E-Mail Address and/or Password." BUT it shows I am loged in now. When I go to checkout it says I am not loged in. It must be a cookie problem Link to comment Share on other sites More sharing options...
Guest Posted April 1, 2004 Share Posted April 1, 2004 Hi Guys, I am a newb at this but I have got my shopping site up and running and it all looks sweet, but I am having the exact same problem as first mentioned. When I add something to my cart it takes me to my shopping cart and says Your Shopping Cart is empty! When I register as a customer it accepts registration and I have checked the table in the DB and my details are there, which suggests to me that it is a cookie problem. What makes it worse is I am only setting it up on my local machine (localhost) which should make it easier. I have tried every combination in the includes/configure.php file with no luck. I would be really grateful if someone could help me out. :blink: Thanks in advance Adam Link to comment Share on other sites More sharing options...
Guest Posted April 1, 2004 Share Posted April 1, 2004 In your catalog/admin/includes/configure.php and catalog/includes/configure.php(near the bottom) try changing this: define('STORE_SESSIONS', ''); // leave empty '' for default handler or set to 'mysql' to this: define('STORE_SESSIONS', 'mysql'); // leave empty '' for default handler or set to 'mysql' Jerry Link to comment Share on other sites More sharing options...
newbie123 Posted April 1, 2004 Share Posted April 1, 2004 Having the same issue. SSL is working across the board, no problems with items diaspearing from shopping cart, just this F&*^$ error "Error: No match for E-Mail Address and/or Password." but yet the user gets logged in. Beers are on me for whoever figures this one out! Link to comment Share on other sites More sharing options...
newbie123 Posted April 2, 2004 Share Posted April 2, 2004 :lol: Fixed It.... In the file catalog/includes/classes/message_stack.php look for the line: $this->messages[] = array('params' => 'class="messageStackError"', 'class' => $class, 'text' => tep_image(DIR_WS_ICONS . 'error.gif', ICON_ERROR) . ' ' . $message); and simply comment it out: //$this->messages[] = array('params' => 'class="messageStackError"', 'class' => $class, 'text' => tep_image(DIR_WS_ICONS . 'error.gif', ICON_ERROR) . ' ' . $message); Hope this helps! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.