Forgotten Password page missing
I discovered today that customers who click the forgotten password link during the login process are taken to an error page. It seems there's no page at zen/index.php?main_page=password_forgotten
Is this a template override problem, or just an admin configuration problem? I'm not sure of the name or the location of the php file I'd need to look for. Any useful ideas?
Re: Forgotten Password page missing
Any ?main_page=xxxxxxx requires that there be at least the first of these three related components:
/includes/modules/pages/xxxxxxx/header_php.php
/includes/languages/english/xxxxxxxx.php
/includes/templates/a_template_name/templates/tpl_xxxxxxx_default.php
If the header_php.php file is missing, then a 404 will be triggered.
Re: Forgotten Password page missing
Okay. Looks like
/includes/modules/pages/xxxxxxx/header_php.php
/includes/languages/english/xxxxxxxx.php
are there, and this one's there under templates/template_defaults/templates/ but it's not in templates/mytemplate/templates
/includes/templates/a_template_name/templates/tpl_xxxxxxx_default.php
Re: Forgotten Password page missing
It doesn't need to be in your mytemplate folder if you haven't customized anything in it beyond what's in template_default. (template_default IS the "default", ie: what will be used if there's no override in your custom template folder)
Try changing the setting in Admin->Configuration->My Store->Missing Page Check from "404 Not Found" to "Off" and see what error message is shown, if any. That's for testing/debugging only, not for live use ... so be sure to put it back to Not Found or to Home/On again.
Re: Forgotten Password page missing
Okay. I got 'remote server or file not found'. Perhaps I've got something in my custom template that's causing trouble...
Re: Forgotten Password page missing
Still haven't figured out what the problem is here. Been going over the 3 files to see if I noticed anything amiss, but can't figure out why the page wouldn't show up.
Re: Forgotten Password page missing
Switch back to the 'classic' template. Does the problem go away? If so, its definelty something to do with your custom template. :)
Cheers
Rod
Re: Forgotten Password page missing
Re: Forgotten Password page missing
Working on this problem still. Tracking backwards from the link that doesn't work. I found that the inclues/languages/english/login.php page assigns the text 'Forgot your password' to a variable called TEXT_PASSWORD_FORGOTTEN. Now searching for the file where that variable is used...
Re: Forgotten Password page missing
Found it in templates/template_default/templates/tpl_login_default.php