soccercheese Posted December 28, 2004 Posted December 28, 2004 I've removed Ad Tracker contribution and OSC Affiliate contribution, which as far as I knew didn't have anything to do with the login box. Now I can't login. I can create an account, but can't login afterwards. url is www.huyett.com/catalog/ Can anyone help please?
Guest Posted December 28, 2004 Posted December 28, 2004 do u have a test account email and password setup?
soccercheese Posted December 29, 2004 Author Posted December 29, 2004 I don't have the original one, but I do have one that you can use. user: [email protected] pw: test
Guest Posted December 29, 2004 Posted December 29, 2004 post your configure.php file here without the database info
soccercheese Posted December 29, 2004 Author Posted December 29, 2004 I just added the HTTPS_SERVER, just to let you know... <?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://www.huyett.com'); // eg, http://localhost - should not be empty for productive servers define('HTTPS_SERVER', 'https://www.huyett.com'); // eg, https://localhost - should not be empty for productive servers define('ENABLE_SSL', false); // secure webserver for checkout procedure? define('HTTP_COOKIE_DOMAIN', 'http://www.huyett.com'); define('HTTPS_COOKIE_DOMAIN', ''); define('HTTP_COOKIE_PATH', '/catalog/'); define('HTTPS_COOKIE_PATH', ''); define('DIR_WS_HTTP_CATALOG', '/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', '/home/glhuyett/web/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', 'localhost'); // 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', 'mysql'); // leave empty '' for default handler or set to 'mysql' // CLR 020605 defines needed for Product Option Type feature define('PRODUCTS_OPTIONS_TYPE_SELECT', '0'); define('PRODUCTS_OPTIONS_TYPE_TEXT', '1'); define('PRODUCTS_OPTIONS_TYPE_RADIO', '2'); define('PRODUCTS_OPTIONS_TYPE_CHECKBOX', '3'); define('PRODUCTS_OPTIONS_TYPE_TEXTAREA', '4'); define('TEXT_PREFIX', '_txt'); define('PRODUCTS_OPTIONS_VALUE_TEXT_ID', '0'); //Must match id for user defined TEXT value in db table TABLE_PRODUCTS_OPTIONS_VALUES ?>
orientalgiftgallery.com Posted December 29, 2004 Posted December 29, 2004 did you turn on force cookie use?
soccercheese Posted December 29, 2004 Author Posted December 29, 2004 did you turn on force cookie use? <{POST_SNAPBACK}> Nope
Guest Posted December 29, 2004 Posted December 29, 2004 change this: define('HTTP_COOKIE_DOMAIN', 'http://www.huyett.com'); to this: define('HTTP_COOKIE_DOMAIN', 'www.huyett.com'); and we can start there
soccercheese Posted December 29, 2004 Author Posted December 29, 2004 change this: define('HTTP_COOKIE_DOMAIN', 'http://www.huyett.com'); to this: define('HTTP_COOKIE_DOMAIN', 'www.huyett.com'); and we can start there <{POST_SNAPBACK}> Ok did that, but it didn't seem to make a difference.
♥Vger Posted December 29, 2004 Posted December 29, 2004 Okay, you've followed Mibble's advice, and your cookie domain is now correct - but your site is definitely not generating any session ids. If 'Force Cookie Use' is not set to 'true' in Configuration --> Sessions then something else is preventing sessions being generated, and this is why you can't Login. Back to Mibble! Vger
soccercheese Posted December 29, 2004 Author Posted December 29, 2004 Thanks for the response. I turned on "Force Cookie Use" and it does work now. I don't know if users will want to use cookies though since this "store" is just for quoting. What do you guys and gals think? Thanks for the explanation, and thanks for the help so far.
Recommended Posts
Archived
This topic is now archived and is closed to further replies.