Topic-icon Password Reset- no email sent

Active Subscriptions:

None
7 years 8 months ago #64551 by jdnewton
I am having a problem with the password reset email not being sent and think it possibly could be due to this module. When a user enters their email to reset their password the page just reloads and no password is sent. Further if i use the url or menu item directly for a password reset it works. The url included with the SClogin module for password resets does not seem to be functioning (at least not on my site at Joomla 3.8.12). I suppose it could possibly be a template problem but am not quite sure how that works out. Please let me know any thoughts on this. Thank you.
The topic has been locked.
Support Specialist
7 years 8 months ago #64555 by alzander
Can you post the relative (not including the domain name) that the password reset link tries to go to? To get where it's trying to go, right click on the link and use the 'Copy Link Address' option.

Also, a good comparison point would be to enable the standard Joomla mod_login module to check if it tries to go to the same, or different, password reset page.

Finally, one thing to check is the "Registration Component" setting in the SCLogin module parameters. That can be set to things like Joomla, Community Builder, EasySocial. Please make sure it's set to the right extension that you use for user management. If not set to Joomla, try setting it to 'Joomla' as well to see if that works.

Let us know and we'll gladly investigate if there's a possible issue.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 8 months ago #64559 by jdnewton
The registration component is set to Joomla. The relative URL when the reset password link is clicked is /index.php?option=com_users&view=reset&Itemid=435. The correct URL should be /index.php?option=com_users&view=reset if I'm not mistaken. If I manually navigate to the correct URL the reset works. For some reason I am getting a "&Itemid=435" appended to the end. If no one else can reproduce this maybe it is some sort of script conflict on my site.
The topic has been locked.
Support Specialist
7 years 8 months ago #64561 by alzander
The forgot password link is generated by Joomla. The module 'asks' Joomla what the correct link is for index.php?option=com_users&view=reset, and Joomla will return an SEF or non-SEF version and will append the correct Itemid to the URL based on your menu structure.

As noted above, I'd try the Joomla login module to see if the forgot password link there is incorrect as well. That will help narrow things down very quickly.

The other thing to investigate is going into the Menu Manager in Joomla and finding out what menu item is at ID 435.

Now, rereading it, I'm also confused by your first message:

When a user enters their email to reset their password the page just reloads and no password is sent.

So you're saying the link does work and it brings the user to a page that has a reset email field, but that page just doesn't work? Does the page look identical if you take off the &Itemid=435 or are they different looking pages? If they look different, then that seems like some other extension that's at Menu ID 435 has it's own password reset feature that isn't working.

Lots of questions, I know, but hopefully something above helps narrow things down.

Thanks,
Alex
The topic has been locked.
Active Subscriptions:

None
7 years 8 months ago #64562 by jdnewton
I added a menu item linking to the joomla login form and tested the reset password and it works. It appends the menu ID for the login form item to the URL in this case 1526.

The SCLogin reset adds a 435 ID which happens to correspond to the homepage menu item. The link would take you to a page that looked the same it is just would reload when pressing send email instead of proceeding to where you could input the code and would not send the email. Interestingly after adding the new menu item then unpublishing the item the reset link is now working again. So it appears my problem is fixed for the time being anyway. Still not quite sure what it was.
The topic has been locked.
Support Specialist
7 years 8 months ago #64565 by alzander
What you did was correct, I think :) When asking Joomla for the best link to any component, at first, it will search for a matching menu item with the same URL. If none is found, it links to your home page.

Normally though, the Itemid is used to determine what modules should display on the page and such. There's no normal reason that the home page Itemid would prevent the form submission *unless* there's something running on the home page that is conflicting with the reset password form. I don't know what that could be, and it's definitely perplexing, but it sounds like you're working, so I wouldn't worry about it unless other similar issues start cropping up.

Glad we could... help? :)

Thanks,
Alex
The topic has been locked.