I had my SSL Cert recently installed. However, when I create a test account, creating works fine, but I can't log in. Keeps saying that the user name and/or password is not on file, but the customer info is in OSCommerce, so the account WAS successfully created. I believe it is a configuration problem with cookies in my php file.
Here is what I have in includes/configure.php:
<?php
define('HTTP_SERVER', 'http://www.mtgmania.com');
define('HTTPS_SERVER', 'https://www.mtgmania.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'http://www.mtgmania.com');
define('HTTPS_COOKIE_DOMAIN', 'https://www.mtgmania.com');
define('HTTP_COOKIE_PATH', 'http://www.mtgmania.com');
define('HTTPS_COOKIE_PATH', 'https://www.mtgmania.com');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
And here is what is in Admin/includes/configure.php:
<?php
define('HTTP_SERVER', 'https://mtgmania.com/');
define('HTTP_CATALOG_SERVER', 'https://mtgmania.com/');
define('HTTPS_CATALOG_SERVER', 'https://mtgmania.com/');
define('ENABLE_SSL_CATALOG', true);
What am I dong wrong THIS time? Help please??
Latest News: (loading..)
Cookies (I think) Issue....
Started by MTG Mania, Jul 25 2012 05:12 PM
4 replies to this topic
#1
Posted 25 July 2012 - 05:12 PM
#2
Posted 25 July 2012 - 07:23 PM
Try
define('HTTP_SERVER', 'http://www.mtgmania.com');
define('HTTPS_SERVER', 'https://www.mtgmania.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.mtgmania.com');
define('HTTPS_COOKIE_DOMAIN', 'www.mtgmania.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
and
define('HTTP_SERVER', 'https://mtgmania.com/');
define('HTTP_CATALOG_SERVER', 'https://mtgmania.com/');
define('HTTPS_CATALOG_SERVER', 'http://mtgmania.com/');
define('ENABLE_SSL_CATALOG', true);
Failing that using search will find many posts such as http://forums.oscommerce.com/topic/193738-a-guide-to-the-configurephp-files/
define('HTTP_SERVER', 'http://www.mtgmania.com');
define('HTTPS_SERVER', 'https://www.mtgmania.com');
define('ENABLE_SSL', true);
define('HTTP_COOKIE_DOMAIN', 'www.mtgmania.com');
define('HTTPS_COOKIE_DOMAIN', 'www.mtgmania.com');
define('HTTP_COOKIE_PATH', '/');
define('HTTPS_COOKIE_PATH', '/');
define('DIR_WS_HTTP_CATALOG', '/');
define('DIR_WS_HTTPS_CATALOG', '/');
and
define('HTTP_SERVER', 'https://mtgmania.com/');
define('HTTP_CATALOG_SERVER', 'https://mtgmania.com/');
define('HTTPS_CATALOG_SERVER', 'http://mtgmania.com/');
define('ENABLE_SSL_CATALOG', true);
Failing that using search will find many posts such as http://forums.oscommerce.com/topic/193738-a-guide-to-the-configurephp-files/
REMEMBER BACKUP, BACKUP AND BACKUP
I am not a coder, so dont bother sending PMs asking for help as you wont get any.
OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
I am not a coder, so dont bother sending PMs asking for help as you wont get any.
OSC has a steep learning curve, but in general the program does work. If it doesnt work, the chances are it is something you have done.
#3
Posted 26 July 2012 - 12:17 AM
Ty for your suggestion. We tried the changes but that didn't fix the issue. Tried also to follow the step by step in the link that didn't fix the issue either. Any one have any suggestion on what the problem could be or/and where?
#4
Posted 26 July 2012 - 03:48 AM
Try:
define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');
#5
Posted 27 July 2012 - 02:04 AM
Well, I fixed it. Wasn't a cookies issue after all, it was a simple ! in a place where it shouldn't have been. Thank you to all who tried to help!! I deeply appreciate it!!









