Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

SSL SECURE PAGE FIX HERE


Guest

Recommended Posts

ALL

 

After hours and hours and hours of trying to figure out why i keep getting error messages in IE5+ when going from secure to non secure pages i have found a fix.

 

here goes:

 

login.php at around line 67 change the redirects to SSL as below:

 

 

if (sizeof($navigation->snapshot) > 0) {

 

$origin_href = tep_href_link($navigation->snapshot['page'], tep_array_to_string($navigation->snapshot['get'], array(tep_session_name())), 'SSL');

 

$navigation->clear_snapshot();

 

tep_redirect($origin_href);

 

} else {

 

tep_redirect(tep_href_link(FILENAME_DEFAULT,'','SSL'));

 

}

 

 

then

 

application_top.php search for the 'notify case' around line 406 and change the tep redirects and add SSL as below:

 

tep_redirect(tep_href_link(basename($PHP_SELF), tep_get_all_get_params(array('action')), 'SSL'));

 

 

 

thats all folks - bugger of a bug, hope you can all sleep better now - many sleepless nights on this one!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...