FrontEndUsers Lost Password Verification 404

Have a question or a suggestion about a 3rd party addon module or plugin?
Let us know here.
Post Reply
TannSan
New Member
New Member
Posts: 6
Joined: Tue Oct 04, 2016 8:28 pm

FrontEndUsers Lost Password Verification 404

Post by TannSan »

Hi, when I use the forgotten password functionality I receive the email saying to click the verification link but it gives me a 404:

Code: Select all

http://test.com/feu/verify/forgotten-password/17/E67259145FC19304FEAF613D6/
"forgotten-password" is the alias of the page with the FEU forgotten password form. I just see a 404 not found page. The server log shows the same with no errors happening along the way.

Things I tried:
  • Changing the page alias
  • Changing to "internal" url rewriting
  • Turning off url rewriting
  • Different user
I've run out of ideas and I've spent most of today trying to work out what I have done wrong. For now I'm just going to disable the forgotten password functionality which is a bit annoying as I have to undo a bunch of the design changes. I'm looking for any fresh ideas of things to try out.

I'm using CMS MS 2.1.5 with FEU 2.1.1 on Apache with url_rewrite enabled in the CMS config file as I usually do:

$config['url_rewriting'] = 'mod_rewrite';
$config['page_extension'] = '/';

The rest of the CMS pages display correctly and I have confirmed that url rewriting is working normaly.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: FrontEndUsers Lost Password Verification 404

Post by Jo Morg »

Did you try without the $config['page_extension'] = '/';?
Or rather setting to a real extension or just no extension?
Note that $config['page_extension'] = '/'; is a bad practice and may lead to other errors.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
TannSan
New Member
New Member
Posts: 6
Joined: Tue Oct 04, 2016 8:28 pm

Re: FrontEndUsers Lost Password Verification 404

Post by TannSan »

Winner! I commented that config line out and now the the verification code link outputs the page ID instead of alias:

Code: Select all

 http://test.com/feu/verify/37/17/B3F65A08910A10CA70B1F6656/
No more 404 and I see the fields for the next step. I had commented that line out but I did it in tandem with turning rewriting on/off.

I'll stop using it in future projects. This is the first time I've seen a problem with it in years tbh but you clearly know more about it than me.

Can't ask for better than that, solution in the first reply! Thank you very much. I'll mark the title solved.
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: FrontEndUsers Lost Password Verification 404

Post by Jo Morg »

TannSan wrote:Can't ask for better than that, solution in the first reply! Thank you very much.
Your post was fairly well documented, so you may claim that you have helped yourself ;).
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
TannSan
New Member
New Member
Posts: 6
Joined: Tue Oct 04, 2016 8:28 pm

Re: FrontEndUsers Lost Password Verification 404

Post by TannSan »

I can't edit my original post to tag it as solved, probably due to being a new user in this forum. I do consider this solved as I'm already working on the next section of the site woohoo!
User avatar
Jo Morg
Dev Team Member
Dev Team Member
Posts: 1978
Joined: Mon Jan 29, 2007 4:47 pm

Re: FrontEndUsers Lost Password Verification 404

Post by Jo Morg »

TannSan wrote:I can't edit my original post to tag it as solved, probably due to being a new user in this forum. I do consider this solved as I'm already working on the next section of the site woohoo!
There is a time limit to editing posts in effect currently.
On this particular board there is a green tick on every post, just click on the one of the post that solved your issue. It lock the post too.
"There are 10 types of people in this world, those who understand binary... and those who don't."
* by the way: English is NOT my native language (sorry for any mistakes...).
Code of Condut | CMSMS Docs | Help Support CMSMS
My developer Page on the Forge
GeekMoot 2015 in Ghent, Belgium: I was there!
GeekMoot 2016 in Leicester, UK: I was there!
DevMoot 2023 in Cynwyd, Wales: I was there!
Post Reply

Return to “Modules/Add-Ons”