Note: I recently updated to DNN 9.11 but cannot say when this behaviour startet - the last time we needed to provide a registration page with the subsequent pw-reset-link was three years ago.
Description of the issue: When an authorized user requests a password-reset link, the corresponding email is created with a functioning link to reset the password. The pw-reset-page opens. The user name (which is blurred out in my screenshot) is correct. But when clicking in the fields to set a new pasword, the user is immediately redirected to our Search-Result-Page. The Developer Tools show a gazillion hyperlinks to the Search-Result-Page (including on the fields).
Any help would be greatly appreciated because I don't know where this comes from. I hope the screenshot embedded here via TechSmith Capture works. If not, here is a link to the screenshot
Any help is greatly appreciated Britta
Hi Tycho,
thanks for your quick reply. The idea with the added layer is a good one but when I inspected the page with the developer tools, I found that a hyperlinkink was created around almost every element of the page (see the screensot that I added in my initial post) that caused the wrong behaviour and I don't know where these hyperlinks come from.
Kkind regards, Britta
You can also get these kind of results in the inspector when there's an HTML error on the page. Mostly an unclosed tag.
This sounds like there is something more going on in a module on the page or in the theme maybe... It's odd that there are so many search results wrappers in the HTML, on any page. Do you have a theme developer on your team to troubleshoot that? I'd look for any client-side scripts that are altering the page's HTML output. It's likely a bit of buggy jQuery.
Timo, Will,
thank you. Unfortunately, it is only me dealing with our website so I will have to redeem this myself with the limited DNN knowledge I have.
As far as I checked, it is only the registration page that shows this behaviour with the weird wrappers and only when using it with the parameters PasswordReset&resetToken as called when clicking on a resetPassword Link in the email "you requested a password reset...").
I will check the login and registration pages themselves: maybe remove the respective modules and place them anew or create brand new login and registration pages (although I am not sure whether that has any repercussions on the whole process).
Will report my findings here
Britta
If you're able to, I'd suggest doing some troubleshooting on a test/development instance of the website.
First, when you backup and restore the website, does the same behavior still exist? If yes, then the issue is environmental, but that's not likely in this case.
Next, since you reproduced the issue in another environment, I'd suggest changing the theme to use the default theme entirely and attempt to remove any other modules from the login and registration pages (if there is more than one). Try the test again. I'd expect that it should work as expected this time, which would point you to the theme.
What I believe you'll find is... The theme likely has a ton of JavaScript and something there was put in that wasn't tested against the login/registration workflows.
Will,
thanks a lot. Will try all that out next week.
It was indeed the theme! After testing that in my development environment, I just removed the footer from the two pages and applied one of the standard themes. That is good enough for right now but whenever I find time (which is unlikely), I will check into theme development and maybe will be able to reprogram our theme.
Just a note in honor of the developers of our theme: our website was developed about 10 years ago and back then the theme had been tested against the registration/login/pw-reset process. And the process had worked with our theme until approx. 2018 - the last time we needed it. Apparently with one of the DNN updates since then it broke.
I am ever so grateful for your (and everyone else's) input - THANK YOU!
These Forums are for the discussion of the open source CMS DNN platform and ecosystem.
For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:
Awesome! Simply post in the forums using the link below and we'll get you started.