Jump to content



Photo
- - - - -

Cookies (I think) Issue....


This topic has been archived. This means that you cannot reply to this topic.
4 replies to this topic

#1   MTG Mania

MTG Mania
  • Members
  • 55 posts

Posted 25 July 2012 - 17:12

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

#2   14steve14

14steve14
  • Members
  • 4,140 posts

Posted 25 July 2012 - 19:23

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.oscomm...igurephp-files/

REMEMBER BACKUP, BACKUP AND BACKUP

 

Find information about the bootstrap community version here

 

Due to the current work load, the light at the end of the tunnel has been switched off.


#3   MTG Mania

MTG Mania
  • Members
  • 55 posts

Posted 26 July 2012 - 00:17

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   a.forever

a.forever
  • Members
  • 250 posts

Posted 26 July 2012 - 03:48

Try:

define('HTTP_COOKIE_DOMAIN', '');
define('HTTPS_COOKIE_DOMAIN', '');


#5   MTG Mania

MTG Mania
  • Members
  • 55 posts

Posted 27 July 2012 - 02:04

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