View Single Post
  #14  
Old 06-29-2012, 08:04 PM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,201
 

Default Re: X-Cart v4.5.1 released

I suspect this bug exists in 4.4.x and 4.5.x. Have all 3 security settings in admin checked - login https and redirect to http. Then login. Browse. No matter if you are on http or https page - click on logout. Cart redirects to https. Reason - url is login.php?mode=logout. login.php is one of the https scripts. It should NOT redirect to https - it should redirect to http. Simple fix until QT provides an offical one

In /home/cmarket/public_html/https.php find

Code:
if (empty($https_scripts)) return false;

and after add

Code:
// added by CFL Systems to avoid https when loggin out $p = strpos($link, 'logout'); if ($p !== false) return false;
__________________
Steve Stoyanov
CFLSystems.com
Web Development