Zen Cart Logo
Forums / Bug Reports / [Duplicate] Submitting Email Address on Forgot Password throws error and logs

[Duplicate] Submitting Email Address on Forgot Password throws error and logs

Locked

Views: 1,473

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
16 Dec 2013, 7:46 AM
#1
mega_moonshine avatar

mega_moonshine

New Zenner

Join Date:
May 2009
Location:
North Las Vegas, NV
Posts:
44
Plugin Contributions:
0

[Duplicate] Submitting Email Address on Forgot Password throws error and logs

BUG REPORT for Zen Cart version 1.5.1

PROBLEM AREA: Forgot Password generates ERROR and is logged in the logs folder.

I don't remember any mods added that may have change the file mentioned below...

Found a simple and quick fix for the Forgot Password problem I found. Unfortunately I didn't save the error log, but I remember it pretty well...

To recreate, use the Forgot Password option for Login. Enter your email address and submit. The error is generated (only occurs) once you submit the email address for a password reset.

Check the logs and you will see a new entry (file) listed. The error comes from the file (Line 118):

includes/functions/password_funcs.php

Here's Line 118 from my file (with the fix and a comment):

$entropy = sha1_file('includes/configure.php'); // BUG: was: '/includes/configure.php' AND THROWS ERROR with leading '/'

Chris Lemke
aka Mega Moonshine