Page 1 of 1

FrontEndUsers Lost Password Verification 404

Posted: Tue Oct 04, 2016 8:45 pm
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.

Re: FrontEndUsers Lost Password Verification 404

Posted: Tue Oct 04, 2016 9:13 pm
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.

Re: FrontEndUsers Lost Password Verification 404

Posted: Tue Oct 04, 2016 10:01 pm
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.

Re: FrontEndUsers Lost Password Verification 404

Posted: Tue Oct 04, 2016 10:31 pm
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 ;).

Re: FrontEndUsers Lost Password Verification 404

Posted: Tue Oct 04, 2016 10:39 pm
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!

Re: FrontEndUsers Lost Password Verification 404

Posted: Wed Oct 05, 2016 2:59 pm
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.