Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Admin Panel going to http not https


ntwaddel

Recommended Posts

Posted

When i login to the admin panel through https, all the links still point to http. I cant figure out how to change it.

Nick Twaddell

WebSpace Solutions - Custom E-Solutions

Fast, Reliable, Affordable Web Hosting

Posted

this is out of my admin/include/configure.php

 

define('HTTP_SERVER', 'https://www.fourwheelperformance.com'); // eg, http://localhost or - https://localhost should not be NULL $

 define('HTTP_CATALOG_SERVER', 'https://www.fourwheelperformance.com');

 define('HTTPS_CATALOG_SERVER', 'https://www.fourwheelperformance.com');

 define('ENABLE_SSL_CATALOG', 'true'); // secure webserver for catalog module

 

and it still doesent work

Nick Twaddell

WebSpace Solutions - Custom E-Solutions

Fast, Reliable, Affordable Web Hosting

Posted

Hello NTWADDEL,

 

This might help, worked for me. Here's what I did:

 

My host has a shared SSL certificate. They told me if I wanted to use it, I would have to use a url like this: https://www.securesite4.com/~my_username/whatever_file.php. So I put in the value of https://www.securesite4.com/~my_username in place of https://www.mydomain.com and it worked. I also changed the link on the top right hand side of the admin/index.php page by taking out the variable for the admin index and replaced the line like this:

 

<td align="right" class="text" nowrap><?php echo '<a href="[b]https://securesite4.com/~,y_username/catalog/admin/index.php[/b]">' . HEADER_TITLE_ADMINISTRATION . '</a>  |  <a href="' . tep_catalog_href_link() . '">' . HEADER_TITLE_ONLINE_CATALOG . '</a>  |  <a href="http://www.oscommerce.com" target="_blank">' . HEADER_TITLE_SUPPORT_SITE . '</a>'; ?>  </td>

 

See if that doesn't maybe help, like I said it worked for me. Send me a PM if you still can't get it to work and I'll try and get you going. Just got mine going today.

Archived

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

×
×
  • Create New...