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):
Code:
$entropy = sha1_file('includes/configure.php'); // BUG: was: '/includes/configure.php' AND THROWS ERROR with leading '/'
Chris Lemke
aka Mega Moonshine
Bookmarks