Yes, I just reread my post where I first mentioned my blank login and realized I said I didn't know the cause, but I knew it was this mod, just not what in the mod was causing the issue. So I didn't do a very good job of explaining what was going on. Sorry for the confusion!
I am using the most recent version of the mod as it said it was for 1.5.2 but backwards compatible. The site is running Zen-Cart 1.5.1.
This is the block of code that is breaking the login:
PHP Code:
// Check that password is good
//-bof-Encrypted Master Password by stagebrace *** 1/1
//- Start modifications by lat9:
//-bof-a-v1.6.0
} elseif ($emp_login === true) {
$ProceedToLogin = true;
$_SESSION['emp_admin_login'] = true;
$_SESSION['emp_admin_id'] = (int)$_POST['aID'];
//-bof-a-v1.7.0
$sql_data_array = array( 'access_date' => 'now()',
'admin_id' => $_SESSION['emp_admin_id'],
'page_accessed' => 'login.php',
'page_parameters' => '',
'ip_address' => substr($_SERVER['REMOTE_ADDR'],0,45),
'gzpost' => gzdeflate( json_encode( array ( 'action' => 'emp_admin_login' )), 7),
'flagged' => 0,
'attention' => '',
);
zen_db_perform(TABLE_ADMIN_ACTIVITY_LOG, $sql_data_array);
//-eof-a-v1.7.0
//-eof-a-v1.6.0
} else {
//--- Either specific admin ID or an admin within a specific admin profile can use their password to login.
if (!defined('EMP_LOGIN_ADMIN_ID')) define ('EMP_LOGIN_ADMIN_ID', 1); /*lat9-a/c*/
$get_admin_query = "SELECT admin_id, admin_pass
FROM " . TABLE_ADMIN . "
WHERE admin_id = " . (int)EMP_LOGIN_ADMIN_ID; /*lat9-c*/
$check_administrator = $db->Execute($get_admin_query);
$customer = (zen_validate_password($password, $check_customer->fields['customers_password']));
$administrator = (zen_validate_password($password, $check_administrator->fields['admin_pass']));
if ($customer) {
$ProceedToLogin = true;
} elseif ($administrator) {
$ProceedToLogin = true;
$_SESSION['emp_admin_login'] = true; /*lat9-a*/
$_SESSION['emp_admin_id'] = EMP_LOGIN_ADMIN_ID;
} else {
//-bof-lat9-a
if (!defined('EMP_LOGIN_ADMIN_PROFILE_ID')) define ('EMP_LOGIN_ADMIN_PROFILE_ID', 1); /*lat9-a*/
$admin_profile_query = "SELECT admin_id, admin_pass
FROM " . TABLE_ADMIN . "
WHERE admin_profile = " . (int)EMP_LOGIN_ADMIN_PROFILE_ID;
$admin_profiles = $db->Execute($admin_profile_query);
//-eof-lat9-a
$ProceedToLogin = false;
//-bof-lat9-a
while (!$admin_profiles->EOF && !$ProceedToLogin) {
$ProceedToLogin = zen_validate_password($password, $admin_profiles->fields['admin_pass']);
if ($ProceedToLogin) {
$_SESSION['emp_admin_login'] = true;
$_SESSION['emp_admin_id'] = $admin_profiles->fields['admin_id'];
}
$admin_profiles->MoveNext();
}
//-eof-lat9-a
}
}
if (!($ProceedToLogin)) {
//-eof-Encrypted Master Password by stagebrace *** 1/1

Originally Posted by
lat9
OK, that's different; if removing the module's code corrects your overall login problem, then the issue (obviously) lies with the code you've installed for this module!
Specifically, which "code edits" do you remove to cause your login page to work again? What version of Encrypted Master Password are you running? What Zen Cart version?