Thread: Login Link
View Single Post
  #64  
Old 02-19-2009, 02:51 PM
 
aaronpost aaronpost is offline
 

Newbie
  
Join Date: Feb 2009
Posts: 2
 

Default Re: Login Link

anybody get this working in 4.2x without an SSL?

I've made a file in main catalog root "mainlogin.php" that I used the code from secure_login.php and commented out the following.

Code:
<?php require "./auth.php"; /* if (!empty($_GET[$XCART_SESSION_NAME])) { if (empty($_COOKIE[$XCART_SESSION_NAME])) $_COOKIE[$XCART_SESSION_NAME] = $XCARTSESSID; func_header_location("secure_login.php"); } */ require $xcart_dir."/include/categories.php"; $location[] = array(func_get_langvar_by_name("lbl_authentication"), ""); x_session_register("login_antibot_on"); x_session_register("username"); //if ($active_modules["Manufacturers"]) // include $xcart_dir."/modules/Manufacturers/customer_manufacturers.php"; # # Assign Smarty variables and show template # if ($login_antibot_on) { $smarty->assign("login_antibot_on", $login_antibot_on); } $smarty->assign("username", $username); $smarty->assign("main", "secure_login_form"); # Assign the current location line $smarty->assign("location", $location); func_display("customer/home.tpl",$smarty); ?>

It displays the form fine but on login tries to go secure (https) and we don't have an ssl and don't plan on using one for this site... how do I bypass the secure login stuff?
__________________
Aaron Post
Version 4.2.0
Reply With Quote