Latest News: (loading..)

Archived

This topic is now archived and is closed to further replies.

MTG Mania

Cookies (I think) Issue....

5 posts in this topic

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??

Share this post


Link to post
Share on other sites

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/

Share this post


Link to post
Share on other sites

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?

Share this post


Link to post
Share on other sites

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!!

Share this post


Link to post
Share on other sites