Zen Cart Logo
Forums / Addon Admin Tools / Login as Customer module [Support Thread]

Login as Customer module [Support Thread]

Views: 59,659

Results 221 to 240 of 241
4 Jan 2019, 8:35 PM
#221
ndboots avatar

ndboots

New Zenner

Join Date:
Aug 2011
Location:
North Dakota
Posts:
68
Plugin Contributions:
0

Login as Customer module [Support Thread]

swguy:

You'll have to work with your developer to review your installation then. It's impossible for me to know what went wrong.

Hi SWguy, I have same problem with this module and ZenCart 1.56. I get a store page that the main section is blank white (header, menu, and column shows) but says "Home::Login As Customer". Interesting also, if I refresh that page I get the red banner attached. Attachment 18234But I wonder if the Master Password module is maybe the root of the problem with version 1.56. I tried to login to my test email address using the master password, which should work on all email addresses, and I get "Error: Sorry, there is no match for that email address and/or password." I also checked my server Error Report and nothing shows up for either module.

4 Jan 2019, 9:00 PM
#222
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,706
Plugin Contributions:
56

Re: Login as Customer module [Support Thread]

You get the expired message if you try to refresh the storefront page that you get when you press Place Order in admin.

Not sure what you guys are doing wrong. Works fine for me in PHP 5.6 and 7.2 with Zen Cart 1.5.6.
Like I said, you'll have to work with your developer to straighten out what ever is wrong.

4 Jan 2019, 9:01 PM
#223
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

NDboots:

Hi SWguy, I have same problem with this module and ZenCart 1.56. I get a store page that the main section is blank white (header, menu, and column shows) but says "Home::Login As Customer". Interesting also, if I refresh that page I get the red banner attached. Attachment 18234But I wonder if the Master Password module is maybe the root of the problem with version 1.56. I tried to login to my test email address using the master password, which should work on all email addresses, and I get "Error: Sorry, there is no match for that email address and/or password." I also checked my server Error Report and nothing shows up for either module.

This is exactly what I am getting. Depending on what Webbrowser I use, it either shows the expired token message, or just a blank page with no log in at all. I uninstalled are reinstalled it several times because I thought I was doing something wrong, but it's the same each time. On different languages it stops showing the customer names and ID.

4 Jan 2019, 9:05 PM
#224
dustie avatar

dustie

Zen Follower

Join Date:
Nov 2010
Posts:
159
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

[QUOTE=swguy;1352956]You get the expired message if you try to refresh the storefront page that you get when you press Place Order in admin.

QUOTE]

HI Scot, I don't refresh anything, this is what I get when I click on Place Order. :(

4 Jan 2019, 9:49 PM
#225
ndboots avatar

ndboots

New Zenner

Join Date:
Aug 2011
Location:
North Dakota
Posts:
68
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Dustie:

This is exactly what I am getting. Depending on what Webbrowser I use, it either shows the expired token message, or just a blank page with no log in at all. I uninstalled are reinstalled it several times because I thought I was doing something wrong, but it's the same each time. On different languages it stops showing the customer names and ID.

Well, I'm still trying to work out this problem myself. And if the Master Password don't work, for sure the Login as Customer is not going to work either. I just did get my Master Password to work. I went via FTP program and found that even though I reloaded the file 3 times already, it was not the same size file, it was smaller. So I reloaded the file again for a fourth time. Then it showed up the same size. Next I CHMOD the file to 644, even though it said that already. Then I went to my carts home page and hit the login link, in the login window I put my test email address, then stuck in my Master Password, and finally it worked. Make sure you did not load the Master Password file into the Admin area, as it works in the public area. But I still have the same problem with my Login as Customer. So, going to check file sizes and CHMOD on those next.

4 Jan 2019, 10:13 PM
#226
ndboots avatar

ndboots

New Zenner

Join Date:
Aug 2011
Location:
North Dakota
Posts:
68
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Okay, I just got it to work with ZenCart 1.56. I reloaded all the files, made sure they were CHMOD to 644. I notice the folder in the public area: includes/function is empty for this module. I think the following might of been the real problem I had though: includes/templates/YOUR_CUSTOM_TEMPLATE/templates/tpl_login_as_customer_default.php I put it here: includes/templates/templates/responsive_classic/templates/tpl_login_as_customer_default.php and I did leave it there as that is the template I'm using. But, as an after thought I put a second copy here and now Login as Customer works: includes/templates/template_default/templates/tpl_login_as_customer_default.php

6 Jan 2019, 12:52 PM
#227
swguy avatar

swguy

Administrator

Join Date:
Feb 2006
Location:
Tampa Bay, Florida
Posts:
10,706
Plugin Contributions:
56

Re: Login as Customer module [Support Thread]

NDboots:

I think the following might of been the real problem I had though: includes/templates/YOUR_CUSTOM_TEMPLATE/templates/tpl_login_as_customer_default.php I put it here: includes/templates/templates/responsive_classic/templates/tpl_login_as_customer_default.php and I did leave it there as that is the template I'm using.

That was in fact the real problem. You put it in

includes/templates/templates/responsive_classic/templates/tpl_login_as_customer_default.php

it should have been in

includes/templates/responsive_classic/templates/tpl_login_as_customer_default.php

15 Feb 2019, 2:48 PM
#228
mattbough avatar

mattbough

New Zenner

Join Date:
Feb 2015
Location:
UK
Posts:
13
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Hi,

I have installed both the Master Password and Login as customer plugins and ran into a slight problem. I can login using the master password however when logging in with the place order button it says that the credentials are wrong.

I've had a little look and to me it looks like the $pass seems to be looking for MASTER_PASS which does not seem to exist anywhere other than within this module.

Could it be the issues are because the correct admin password is not being passed to the $pass variable?
From memory I think a previous version of master password required the password to be entered within the admin rather than using the Admin account passwords, is it still trying to look for this rather than using the dynamic admin passwords.

Thanks

13 May 2019, 9:12 PM
#229
jsarwar avatar

jsarwar

Zen Follower

Join Date:
Jul 2012
Posts:
347
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Installed but getting following error when tried to use it. When clicked on Place order button on admin/customers.php It opens new tab and same page with following url
https://www.domain.com/admin/customers.php?vcheck=yesindex.php?main_page=login_as_customer

I have uninstalled and installed it again but running into same issue. Zencart version is 1.5.3.

9 May 2020, 11:49 AM
#230
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Does anyone know when Master Password will be compatible with 1.5.6 so Login as Customer Module can be used with 1.5.6?

9 May 2020, 12:05 PM
#231
lat9 avatar

lat9

Administrator

Join Date:
Sep 2009
Location:
Stuart, FL
Posts:
14,097
Plugin Contributions:
56

Re: Login as Customer module [Support Thread]

jodean:

Does anyone know when Master Password will be compatible with 1.5.6 so Login as Customer Module can be used with 1.5.6?
I know that I'm highjacking this thread, but you could do yourself a favor and install Encrypted Master Password instead. Note that it's 'built into' Zen Cart 1.5.7 and later.

9 May 2020, 9:41 PM
#232
jodean avatar

jodean

Totally Zenned

Join Date:
May 2011
Location:
Tennessee
Posts:
511
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Thanks, Encrypted Master Password worked.

10 May 2020, 3:55 AM
#233
oldngrey avatar

oldngrey

Zen Follower

Join Date:
Apr 2008
Location:
Qld, Australia
Posts:
424
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

Although it doesn't state compatibility with ZC1.5.6 I have been running it in my upgrade to 1.5.6a since 156a was released.

environment Dev: Zen Cart 156c; Apache 2.4.33; PHP 7.3.1; MySQL 5.7.21; Windows 10
environment Test: Zen Cart 156a; Apache 2.4.29; PHP 7.2.4; MySQL 5.7.24; Linux 4.15.0

packages / add-ons:
ckeditor ; clone template 1.2.0; payment module fee; Direct bank Deposit V1.5.revised; zencart155 securepayxml (modified); ozpost v4.2.7;
ceon_back_in_stock_notifications.9 (modified); export_shipping_information_V1.3.5 (modified);
edit_orders-4.3.5; master password 4; admin log in as customer; ZCA bootstrap template-for-156-v2.0.0c; image checker 2.0; sales report 3.2.2; email archive manager 1-8e; zenNoncaptcha v0.5

18 May 2020, 9:26 PM
#234
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
970
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

php 7.0 zen 1.56c, module does not send customer id or encrypted password when trying to login as customer. in prior versions on encrypted password. master password was set in admin. i think this line looks to the old version.
$encrypted_data = md5($cInfo->customers_id . MASTER_PASS . date('Y-m-d H:i:s'));
when i turn off encrypted password, customers info is then sent over to login but no password.
why not just use encrypted password to login as customer? cause i still have to type in the password.
i use a point of sale on the backend that looks at a field for a password that lets me login as customer. how can i make login as customer to look at this field?

18 May 2020, 9:34 PM
#235
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
970
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

this is the other field

<?php echo zen_draw_hidden_field("password", POS_CUSTOMER_LOGIN_PASSWORD);?>
25 May 2020, 2:49 AM
#236
jimmie avatar

jimmie

Totally Zenned

Join Date:
Jan 2013
Location:
New Port Richey, Florida
Posts:
970
Plugin Contributions:
0

Re: Login as Customer module [Support Thread]

installed Master Password (not encryted master password) and now works as should.

17 Jan 2021, 8:37 PM
#237
stellarweb avatar

stellarweb

Zen Follower

Join Date:
May 2006
Location:
Montana
Posts:
293
Plugin Contributions:
8

Re: Login as Customer module [Support Thread]

I am trying to install this and Master Password on 1.5.7b site with no mods but this. I updated the 1.5.7 admin/customers file to have the ALAC info in it and have also tried to use the 1.5.6 file. All I get is
Error: Sorry, there is no match for that email address and/or password.
Any help would be appreciated because this mod is essential for this person's business.
Thanks!

17 Jan 2021, 10:20 PM
#238
balihr avatar

balihr

Totally Zenned

Join Date:
Oct 2008
Location:
Croatia
Posts:
1,795
Plugin Contributions:
22

Re: Login as Customer module [Support Thread]

stellarweb:

I am trying to install this and Master Password on 1.5.7b site with no mods but this. I updated the 1.5.7 admin/customers file to have the ALAC info in it and have also tried to use the 1.5.6 file. All I get is
Error: Sorry, there is no match for that email address and/or password.
Any help would be appreciated because this mod is essential for this person's business.
Thanks!

Why are you installing these plugins on a 1.5.7b site? It's built-in, now part of core code. Just enable it from admin->Configuration->My Store

18 Jan 2021, 1:48 AM
#239
stellarweb avatar

stellarweb

Zen Follower

Join Date:
May 2006
Location:
Montana
Posts:
293
Plugin Contributions:
8

Re: Login as Customer module [Support Thread]

balihr:

Why are you installing these plugins on a 1.5.7b site? It's built-in, now part of core code. Just enable it from admin->Configuration->My Store

I don't see it - There is no "Place Order" button by customer name and even if I turn Customer Place Order: Passwordless Login on to true and try to use their email and my login password it doesn't work

Can you give me more specifics? What am I missing?

18 Jan 2021, 4:22 AM
#240
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: Login as Customer module [Support Thread]

The feature is now built-in to Zen Cart since v1.5.7. Here are instructions on how to configure it: https://docs.zen-cart.com/user/running/login_as_customer/