Forums / General Questions / Customor can't login after dual pricing installed

Customor can't login after dual pricing installed

Started by liderbug on 16 Nov 2014, 12:58 AM · Views: 511

Results 1 to 3 of 3
16 Nov 2014, 12:58 AM
#1
liderbug avatar

liderbug

Zen Follower

Join Date:
Jul 2009
Posts:
104
Plugin Contributions:
0

Customor can't login after dual pricing installed

I've set up a sandbox at home. ZM runs fine. As a customer I can login order, logout, login,out,in... So I'm logged in. Then I install dual pricing - goes fine - set a product with wholesale and another with multi-level, set myself with different pricing - works fine. Then I logout and log back in - the page goes blank and there I sit.

I've tried to sdiff old vs new but there is just way too much code that's different (version???)

Suggestion? Thanks
Chuck

16 Nov 2014, 1:23 PM
#2
stevesh avatar

stevesh

Black Belt

Join Date:
Feb 2005
Location:
Lansing, Michigan USA
Posts:
19,793
Plugin Contributions:
2

Re: Customor can't login after dual pricing installed

Any error log files in your /logs folder?

16 Nov 2014, 3:41 PM
#3
liderbug avatar

liderbug

Zen Follower

Join Date:
Jul 2009
Posts:
104
Plugin Contributions:
0

Re: Customor can't login after dual pricing installed

I'm using v1.3.9d - as supplied by hosting company.
No logs but I found a cure. I was going to say fix but not 'fixed' just masked
Was able to create a new customer, logout and back in

includes/modules/pages/login/header_php.php
line 67:

    if (password_needs_rehash($dbPassword, PASSWORD_DEFAULT)) {

$newPassword = zcPassword::getInstance(PHP_VERSION)->updateNotLoggedInCustomerPassword($password, $email_address);

    }

PS: Dual Priceing .... looks like it works as advertised. Great.