Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

login error


nowhereman

Recommended Posts

Quasi newbe my store site is installed and seems to operate well. Except for one problem. I start at mystore.com " https://mystore.com/catalog/index.php" is in the address of internet explorer. The Lock icon appears. From the main page I choose "log yourself in?". I am taken to the login page. https://mystore.com/catalog/login.php Lock icon appears.

Upon pressing the "sign in" button I receive this security alert.

security%20alert.gif

If I choose yes I am then redirected to http://mystore.com/catalog/index.php

No lock icon

If I choose My account from top menu bar and I Login, I do not receive the above error. Is there a real problem or is oscommerce supposed to do this. Any help would be appreciated :huh:

Link to comment
Share on other sites

in .../catalog/includes/index.php do you have all of the HTTPS defines set properly?

 

define('HTTPS_SERVER', 'https://mystore.com/catalog');

 

There are other defines similar to the one above that you should check to ensure that they are correct (in the file mentioned above). I tried using your steps to reproduce the problem on my domain and it logged me in just fine to https://mystore.com with no alert.

Link to comment
Share on other sites

below is the code for index.php and configure.php

 

any help?

 

 

code for mystore.com/catalog/index.php

 

<base href="<?php echo (($request_type == 'SSL') ? HTTPS_SERVER : HTTP_SERVER) . DIR_WS_CATALOG; ?>">

<link rel="stylesheet" type="text/css" href="stylesheet.css">

</head>

<body marginwidth="0" marginheight="0" topmargin="0" bottommargin="0" leftmargin="0" rightmargin="0">

<!-- header //-->

<?php require(DIR_WS_INCLUDES . 'header.php'); ?>

<!-- header_eof //-->

 

 

 

code for mystore.com/catalog/configure.php

 

// Define the webserver and path parameters

// * DIR_FS_* = Filesystem directories (local/physical)

// * DIR_WS_* = Webserver directories (virtual/URL)

define('HTTP_SERVER', 'http://mystore.com'); // eg, http://localhost - should not be empty for productive servers

define('HTTPS_SERVER', 'https://mystore.com'); // eg, https://localhost - should not be empty for productive servers

define('ENABLE_SSL', true); // secure webserver for checkout procedure?

define('HTTP_COOKIE_DOMAIN', 'mystore.com');

define('HTTPS_COOKIE_DOMAIN', 'mystore.com');

define('HTTP_COOKIE_PATH', '/catalog/');

define('HTTPS_COOKIE_PATH', '/catalog/');

define('DIR_WS_HTTP_CATALOG', '/catalog/');

Link to comment
Share on other sites

Did your hosting company reboot the server after installing the certificate? If they say their server setup does not require that they do this - then ask them to do it anway.

 

It's not possible to offer any more advice on this without you providing a link to your site.

 

Vger

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...