Forums / Addon Admin Tools / Encrypted Master Password support

Encrypted Master Password support

Views: 53,602

Results 161 to 180 of 210
17 Feb 2019, 11:42 PM
#161
kenaniah avatar

kenaniah

Zen Follower

Join Date:
Jun 2005
Posts:
111
Plugin Contributions:
0

Encrypted Master Password support

Sorry, this is a problem with either Google Analytics or Ultimate SEO.... this is working okay if I put this in first.

12 Mar 2019, 8:08 PM
#162
lat9 avatar

lat9

Administrator

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

Re: Encrypted Master Password support

I've just submitted v2.4.0 of Encrypted Master Password to the Zen Cart Plugins for review; I'll post back when it's available for download.

 This release contains changes for these GitHub issues:

#12: Add message to storefront 'header' when an EMP admin is logged in, identifying the customer for whom the admin is shopping.
#24: For zc156+, use a styled button for "Place Order" instead of the ugly button-graphic.

21 Mar 2019, 6:35 PM
#163
zc1000 avatar

zc1000

New Zenner

Join Date:
Jan 2015
Location:
Canada
Posts:
4
Plugin Contributions:
0

Re: Encrypted Master Password support

Hello, just tried installing this and the admin login page gave a blank page. The error log shows the following message

[21-Mar-2019 18:07:54 UTC] PHP Parse error: syntax error, unexpected ')', expecting :: (T_PAAMAYIM_NEKUDOTAYIM) in /home/myroot/public_html/admin/includes/classes/observers/class.emp_admin_customers_observer.php on line 39

21 Mar 2019, 7:01 PM
#164
lat9 avatar

lat9

Administrator

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

Re: Encrypted Master Password support

Hmm, which version of EMP? For v2.4.0 (the most recent), line 39 reads:

                if (!empty(EMP_LOGIN_ADMIN_PROFILE_ID)) {
21 Mar 2019, 7:20 PM
#165
lat9 avatar

lat9

Administrator

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

Re: Encrypted Master Password support

lat9:

I've just submitted v2.4.0 of Encrypted Master Password to the Zen Cart Plugins for review; I'll post back when it's available for download.

 This release contains changes for these GitHub issues:

#12: Add message to storefront 'header' when an EMP admin is logged in, identifying the customer for whom the admin is shopping.
#24: For zc156+, use a styled button for "Place Order" instead of the ugly button-graphic.
As you might have guessed from my previous post, EMP v2.4.0 is now available for download.

20 Jul 2019, 9:25 PM
#167
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Encrypted Master Password support

Will this version work with 1.5.6b? Had the older version and once we upgraded we lost the capability. Design75 had been working on a solution.... not sure where he is at with this....

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

20 Jul 2019, 9:42 PM
#168
carbonless avatar

carbonless

Zen Follower

Join Date:
Jan 2007
Location:
Illinois, USA
Posts:
329
Plugin Contributions:
0

Re: Encrypted Master Password support

:) Answered my own question. YES, it works with the newest version and SO THANKFUL for the update. Special Thanks to @Design75 for his consultation with me as well.

NTO: building a better network thru collaboration
www.needtoorder.com | www.coffeewitheinstein.com

24 Jul 2019, 7:13 PM
#169
lat9 avatar

lat9

Administrator

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

Re: Encrypted Master Password support

I've just submitted v2.4.2 of EMP to the plugin moderators for review and will post back once it's available (https://www.zen-cart.com/downloads.php?do=file&id=94).

 This release contains changes associated with the following GitHub issues:

#26: Correct PHP log on invalid EMP password.
#27: Enable the severity of the storefront "Shopping for ..." message to be customized.

26 Jul 2019, 7:11 PM
#170
lat9 avatar

lat9

Administrator

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

Re: Encrypted Master Password support

lat9:

I've just submitted v2.4.2 of EMP to the plugin moderators for review and will post back once it's available (https://www.zen-cart.com/downloads.php?do=file&id=94).

 This release contains changes associated with the following GitHub issues:

#26: Correct PHP log on invalid EMP password.
#27: Enable the severity of the storefront "Shopping for ..." message to be customized.
Now available for download from the Zen Cart Plugins.

28 Aug 2019, 11:32 PM
#171
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Encrypted Master Password support

Server move without changes to functional zc154. Same version of php on new server as old. 5.6.40

EMP no longer functions. At least using the same password that functioned prior to server move.
Redirect to blank page with typical "WARNING: An Error occurred, please refresh the page and try again."

No logfiles generated.

Got any suggestions where to look. I see other users have been able to login & checkout without hiccups
I'm sure a logfile would have been beneficial.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

28 Aug 2019, 11:49 PM
#172
carlwhat avatar

carlwhat

zennedOut

Join Date:
Nov 2005
Location:
los angeles
Posts:
2,972
Plugin Contributions:
8

Re: Encrypted Master Password support

RixStix:

Server move without changes to functional zc154. Same version of php on new server as old. 5.6.40

EMP no longer functions. At least using the same password that functioned prior to server move.
Redirect to blank page with typical "WARNING: An Error occurred, please refresh the page and try again."

No logfiles generated.

Got any suggestions where to look. I see other users have been able to login & checkout without hiccups
I'm sure a logfile would have been beneficial.

rick,
ZC no doubt tried to create a log file. are you sure you have write permissions to the log directory? have you seen any other ZC log files on the new server?

you can ask your host where the log files for your site reside and get access to them. because i am sure the answer lies there.

once you have access to the logs, you can then troubleshoot why the ZC log overrides are not working and then troubleshoot the EMP problem. which is no doubt another server configuration setting, if what you say is true.

best.

author of square Webpay, now with Apple Pay and Google Pay.
mXworks
donations: venmo or paypal accepted.
premium consistent excellent support. available for hire.

29 Aug 2019, 12:06 AM
#173
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Encrypted Master Password support

carlwhat:

rick,
ZC no doubt tried to create a log file. are you sure you have write permissions to the log directory? have you seen any other ZC log files on the new server?

Yes, both PayPal and Auth.net are set to send logfiles for each transaction and they are present post server change

carlwhat:

you can ask your host where the log files for your site reside and get access to them. because i am sure the answer lies there.

Holy crap. There's errors at the server level log folder instead of zencart level log folder. I did see an emp.something in on of the several thousand lines.

[/QUOTE]

TNX for pointing me in a direction other than my standing still looking lost.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

29 Aug 2019, 11:18 AM
#174
lat9 avatar

lat9

Administrator

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

Re: Encrypted Master Password support

@RixStix, check your admin's Tools->Server/Version Information; my guess is that the server was converted to PHP-FPM.

If that's the case, you can use the zc156c version of both /admin/includes/extra_configures/enable_error_logging.php and /includes/extra_configures/enable_error_logging.php to resurrect your logs' recording in the /logs sub-directory. Otherwise, check the /includes/configure.php to make sure that the definition of DIR_FS_LOGS is still valid.

29 Aug 2019, 2:47 PM
#175
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Encrypted Master Password support

lat9:

@RixStix, check your admin's Tools->Server/Version Information; my guess is that the server was converted to PHP-FPM.

didn't find any reference to PHP-FPM in system info but could have missed something in that long screen

lat9:

If that's the case, you can use the zc156c version of both /admin/includes/extra_configures/enable_error_logging.php and /includes/extra_configures/enable_error_logging.php to resurrect your logs' recording in the /logs sub-directory. Otherwise, check the /includes/configure.php to make sure that the definition of DIR_FS_LOGS is still valid.

both configure.php files
define('DIR_FS_LOGS', '/home/CPANELid/public_html/logs');

At least we didn't coordinate a upgrade CentOS and zencart upgrade at the same time.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

29 Aug 2019, 2:59 PM
#176
lat9 avatar

lat9

Administrator

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

Re: Encrypted Master Password support

That makes sense (the DIR_FS_LOGS setting), since you'd indicated that PayPal logs were being created.

Try using those updated enable_error_logging.php files.

29 Aug 2019, 3:03 PM
#177
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Encrypted Master Password support

TNX Cindy,

Will do... after coffee and I can get to a desktop instead of this "TV watching" laptop.
Trying not to make too many changes while host is chasing things.

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

29 Aug 2019, 5:10 PM
#178
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Encrypted Master Password support

After coffee. PHP-FPM seems to be the default in the latest version of CentOS. Host changed it to CGI/FastCGI

At least the error files are being saved in the proper folder instead of being appended to a single file in a different folder.

Here's the error. My expectation was that everything zencart "should" work as before the server update, so I have not made the file changes you suggested yet. php version stayed the same. mysql/maria should be the same.

[29-Aug-2019 09:59:14 America/Los_Angeles] Request URI: /index.php?main_page=login&action=process, IP address: 98.146.164.107
#1 trigger_error() called at [/home/CpanelID/public_html/includes/classes/db/mysql/query_factory.php:155]
#2 queryFactory->show_error() called at [/home/CpanelID/public_html/includes/classes/db/mysql/query_factory.php:132]
#3 queryFactory->set_error() called at [/home/CpanelID/public_html/includes/classes/db/mysql/query_factory.php:262]
#4 queryFactory->Execute() called at [/home/CpanelID/public_html/includes/functions/functions_general.php:965]
#5 zen_db_perform() called at [/home/CpanelID/public_html/includes/classes/observers/class.emp_order_observer.php:94]
#6 emp_order_observer->update() called at [/home/CpanelID/public_html/includes/classes/class.base.php:103]
#7 base->notify() called at [/home/CpanelID/public_html/includes/modules/pages/login/header_php.php:71]
#8 require(/home/CpanelID/public_html/includes/modules/pages/login/header_php.php) called at [/home/CpanelID/public_html/index.php:36]

[29-Aug-2019 09:59:14 America/Los_Angeles] PHP Fatal error: 1364:Field 'logmessage' doesn't have a default value :: INSERT INTO admin_activity_log (access_date, admin_id, page_accessed, page_parameters, ip_address, gzpost, flagged, attention) VALUES (now(), '6', 'login.php', '', '98.146.164.107', '«VJL.ÉÌÏS²RJÍ-ˆOLÉÍÌ‹ÏÉOÏÌSª\0', '0', '') ==> (as called by) /home/CpanelID/public_html/includes/functions/functions_general.php on line 965 <== in /home/CpanelID/public_html/includes/classes/db/mysql/query_factory.php on line 155

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

29 Aug 2019, 5:10 PM
#179
rixstix avatar

rixstix

Totally Zenned

Join Date:
Aug 2009
Location:
North Idaho, USA
Posts:
2,015
Plugin Contributions:
0

Re: Encrypted Master Password support

darn forum duplicates. deleted

Rick
RixStix (dot) com
aka: ChainWeavers (dot) com

29 Aug 2019, 5:41 PM
#180
lat9 avatar

lat9

Administrator

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

Re: Encrypted Master Password support

Hmm, what version of EMP is installed? I'll note that the latest release (v2.4.2) does include that "required" logmessage value.