Frontend Users module - Could not find an email address

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
f34nc015
Forum Members
Forum Members
Posts: 14
Joined: Wed Dec 11, 2013 12:50 pm

Frontend Users module - Could not find an email address

Post by f34nc015 »

Hi, after a lot of time, I have no clue at all about this:

Version:
CMSMS 1.11.11 “San Cristobal”
FEU 1.25.1
All module up to date

Settings:
Email address is username: NO
Allow duplicate emails: NO
Allow duplicate "forgot password" reminders?: YES

Data:
USER: "algo", member of GROUP "customer"

GROUP "customer" has these properties, among others:
contact_email - Email Address - required
contact_email_2 - Email Address - optional
(it tried with or without contact_email_2)

USER "algo" has these 2 fields correctly set to my working e-mail addresses

Template for "lost password" has been changed, but I tried with the original template again, and the problem is still here.

CMSMAILER tested and working.


Problem:
from the login page, I click on "Forgot Username/Password"
from the "password forgot" page, I put "algo", and click on "send password".

I receive this message: "Could not find an email address"


Thanks a lot for any help,
f
User avatar
Dr.CSS
Moderator
Moderator
Posts: 12711
Joined: Thu Mar 09, 2006 5:32 am

Re: Frontend Users module - Could not find an email address

Post by Dr.CSS »

1) There is an email field preloaded in FEU so no need to make one...
2) I've always had problems with trying to use it with this set "Email address is username: NO"...
calguy1000
Support Guru
Support Guru
Posts: 8169
Joined: Tue Oct 19, 2004 6:44 pm

Re: Frontend Users module - Could not find an email address

Post by calguy1000 »

1. Your CMSMS and FEU versions are not the latest.
2. I just checked this in the latest code (exactly as described) and it worked fine here.

So I can only suggest that:
1. You ensure you are running PHP 5.4+
2. Upgrade your CMS and module versions (after taking a backup).
Follow me on twitter
Please post system information from "Extensions >> System Information" (there is a bbcode option) on all posts asking for assistance.
--------------------
If you can't bother explaining your problem well, you shouldn't expect much in the way of assistance.
f34nc015
Forum Members
Forum Members
Posts: 14
Joined: Wed Dec 11, 2013 12:50 pm

Re: Frontend Users module - Could not find an email address

Post by f34nc015 »

ok thanks to both of you, I updated and after the usual freaky messages, it works.

The received link doesn't work on firefox 39, though, it just keeps loading.
It's ok on chrome.

I'm also not sure it sends an error message when we don't enter a strong password. But this may be a problem on our side.

Best,
f
nvtech
New Member
New Member
Posts: 1
Joined: Fri Sep 18, 2015 2:42 pm

Re: Frontend Users module - Could not find an email address

Post by nvtech »

I have FEU module version 1.26 and same problem. The SQL code to retrieve the user's email address is this (lib/class.FrontEndUsersManipulator.php):
SELECT * FROM cms_module_feusers_propdefn,cms_module_feusers_properties WHERE name=title and type=2 and userid= ?

I have been using module for a while and upgraded numerous times (since V1.4.2) so not sure if this problem was introduced due to upgrades but I had created my own field named 'email' sometime ago when first creating users (maybe std email field not available then?).

When I checked the 'cms_module_feusers_propdefn' table, my field 'email' was listed but type=0. When I changed type= 2 for the field definition for email (name=email) in table 'cms_module_feusers_propdefn' all worked again with FEU module properly finding user's email based on their username and responding with a page that confirmed email address the email with reset instructions was sent to.
Post Reply

Return to “Modules/Add-Ons”