Right - In 1.5.5 this value (ENABLE_SSL_ADMIN) is no longer defined in admin/configure.php. That's why I noted a different approach in 1.5.5. See https://www.zen-cart.com/showthread....54#post1300354.
That Software Guy. My Store: Zen Cart Support
Available for hire - See my ad in Services
Plugin Moderator, Documentation Curator, Chief Cook and Bottle-Washer.
Do you benefit from Zen Cart? Then please support the project.
hello,
I've just installed this mod on ZC 1.5.4 over Encrypted Master Password 2.1.0.
I get the "Place Order" button on the customers list, when I click it I get a new page saying "place order/cancel order" (which I don't need), but most when I click on this Place Order button I get to the login page with mail and password pre-filled but when I click Sign In the answer is "not a valid mail or password".
If this mod purpose is to be faster than typing things in forms wouldn't it have been more elegant and more useful to completely avoid typing by :
1- Avoiding the confirmation page.
If I want to cancel I've got the logout button and as I'm not placing the order with these buttons but only logging in that makes no difference from the orders point of vue.
2- Avoiding the Sign In step and directly being signed in as the customer.
Why not adding a little notice in the header saying "logged in as xx" as a confirmation of the success.
About my problem of pre-filled password, seems this mod has been made for an older EMP (even if it claims to be ZC 1.5.5 compliant) it doesn't seem EMP 2.1.0 compliant. Am I wrong ?
Hubert
The current version of EMP, which I believe you're referencing, already includes the "login-as-customer" feature (that's what the Place Order button does). I'm not sure what additional functionality you were looking for in installing this one.
That plugin used to automatically login to the selected customer's account until DrByte pointed out that the feature essentially gave any admin-hacker the keys-to-the-kingdom, so the functionality was removed. If you choose to restore it, you can see how it was done in an older version of EMP.
Let me be more precise.
The site I'm planning to use EMP on is on a local machine only available to our cashier, not on the Web. This version will be used as a POS. So it will be very often that the cashier will have to type his password to enter as a customer.
What I'm looking at is a way to avoid this to directly get login as customer when he clicks on the Place Order button.
Of course this would be less secure, but as the machine is not exposed to the web the risk is far less to be hacked.
I'll take a look on an older version. Thanks.
Hmmm ? I just took a look at the page. Can you tell me which one to look at ? 1.6.0 ?
Last edited by hubert; 20 Feb 2016 at 02:29 PM.
i just updated my cart from 1.5.1 to 1.5.5 installed the add-on with master password and every time i click "place order" i just get redirected to the admin/customers page. it does not go to the page to login as customer like it did in 1.5.1.
I've reinstalled, double checked spelling on the template folder, etc.. and i can't seem to figure it out.
this was installed to the "responsive_classic" template that is default on 1.5.5
i have ssl enabled on both store and admin, if that matters.
this is the page it tries to load.... customers.php?vcheck=yesindex.php?main_page=login_as_customer
but like i said it just loads admin/customers page.
any help would be greatly appreciated. thanks!
I have a problem with Login as Customer with Master Password and COWOA installed on 1.5.4. I can use it perfectly with regular accounts. I can not login as customer with COWOA created accounts. What would it make fail just with COWOA accounts? It simply says email or password incorrect. I reinstalled all again to make sure I did not miss anything.
Live and learn... the Zen way.
I have exactly the same problem and same situation. Going from 1.5.1 to 1.5.5
The procedure I use is
install a fresh version of 1.5.5a
delete all the tables the db 1.5.5 created during install
copy the db 1.5.1 into the emptied 1.5.5
run zc_install to update the db back to 1.5.5
copy the italian languages files from 1.5.1 to the freshly installed 1.5.5
install all the plugins without any problem
install login as customer and it fails
(in my live version 1.5.1 login as customer works well)
I went trough the whole customers.php file and I can not understand why the link is built as follows
http://www.mystore.it/myadmin/customers.php?vcheck=yesindex.php?main_page=login_as_customer
which is obviously wrong becaue it should be
http://www.mystore.it/index.php?main...in_as_customer
Any help would be appreciated.
Thanks
enzo
I am going from 1.5.1 to 1.5.5e and have same basic problems you experenced.
Were you able to fix this module? If so would you share the fix?
Lat9 said "used to automatically login to the selected customer's account until DrByte pointed out that the feature essentially gave any admin-hacker the keys-to-the-kingdom, so the functionality was removed."
If true then I don't want to use it and jeopardize security.
Admin Login as Customer for 1.55f
This fix may be useful for testing, definitely NOT recommended for a production site - To correct the 'failed attempt to load directly to SSL HTTPS link when no SSL certificate is installed'.
admin/customers.php
// BOF Set variables for login_as_customer module
$place_order_button = 'includes/languages/english/images/buttons/button_placeorder.gif';
$login_as_customer = 'index.php?main_page=login_as_customer';
// $p_url = HTTPS_CATALOG_SERVER . DIR_WS_HTTPS_CATALOG; // Twitch - uncomment to enable SSL
$p_url = HTTP_CATALOG_SERVER . DIR_WS_CATALOG; // no SSL
$p_url .= $login_as_customer;
//EOF Set Variables for login_as_customer module
Also define in admin/includes/configure.php
define('ENABLE_SSL_CATALOG', 'false');
and includes/configure.php
define('ENABLE_SSL', 'false');
Just remember to install your SSL AND change all of the settings back to point at SSL - true
Twitch.
https://www.twitchtoo.com Do you work for free? Please donate.
June 7.2026 - NOW AVAILABLE - Twitch Base8 - Obsidian