Page 1 of 1
customer password reset not working
Posted: Sat Oct 13, 2018 5:50 pm
by Evilonion
hi, when you click to reset password the link gets sent to the email provided.
When you then click that link it just goes to a blank page saying localhost.
Any ideas what has been set wrong?
Mail is all setup and works in the site settings and recovery passwords set to yes.
Ive searched the site for answers but can't seem to find anything relating to latest opencart version 3 (not alpha)
Re: customer password reset not working
Posted: Sat Oct 13, 2018 9:05 pm
by ocmta
Show an example of email message that it send out.
Re: customer password reset not working
Posted: Sat Oct 13, 2018 9:19 pm
by rjcalifornia
Evilonion wrote: ↑Sat Oct 13, 2018 5:50 pm
hi, when you click to reset password the link gets sent to the email provided.
When you then click that link it just goes to a blank page saying localhost.
Any ideas what has been set wrong?
Mail is all setup and works in the site settings and recovery passwords set to yes.
Ive searched the site for answers but can't seem to find anything relating to latest opencart version 3 (not alpha)
Is it a clean install or a migration? Seems odd that you get a "localhost" link
Re: customer password reset not working
Posted: Sat Oct 13, 2018 9:51 pm
by straightlight
Ensure your config.php and admin/config.php file have the right relative paths for your server. If using SEO links, ensure your .htaccess file is properly configured once being stored on a PCI server.
Re: customer password reset not working
Posted: Sun Oct 14, 2018 2:19 am
by Evilonion
not a clean install its an upgrade from 1.5
the store has been running for a long time, customers just made a complaint saying the link didn't work.
i made an account to test the link and the customer is correct that it doesn't work.
the link in the email just opens up a blank internet page with 'localhost'
config files are all working as the site works fine.
its never been on a local server only ever been a live site.
Re: customer password reset not working
Posted: Sun Oct 14, 2018 2:27 am
by straightlight
Relative paths to test for both config files:
viewtopic.php?f=199&t=198781&p=699560#p699560 . Also ensure to monitor the server access logs per each logins. Notice any error messages in the logs when logging in?
Re: customer password reset not working
Posted: Sun Oct 14, 2018 4:31 am
by Evilonion
created and ran that file in the link suggested and shows all paths are in config.
With regard to error log with login, is that per admin login or customer account login?
Re: customer password reset not working
Posted: Sun Oct 14, 2018 4:49 am
by Evilonion
would this old error that still keeps popping up cause the issue?
as i login, logout, or click about on the site another line of this error appears under the previous.
Error log was 18mb of this one error which i previously reported but we couldn't find a cause...
PHP Warning: unlink(/var/sites/f/website.co.uk/storage/cache/cache.catalog.language.1539466604): No such file or directory in /var/sites/f/website.co.uk/public_html/system/library/cache/file.php on line 48
no other errors are showing in the log.
link to get email reset link works.
email gets sent to customer email account.
email has full info with a link to click to reset...
click the link and it goes to a http address then says localhost.
Re: customer password reset not working
Posted: Sun Oct 14, 2018 7:02 am
by straightlight
PHP Warning: unlink(/var/sites/f/website.co.uk/storage/cache/cache.catalog.language.1539466604): No such file or directory in /var/sites/f/website.co.uk/public_html/system/library/cache/file.php on line 48
FAQ:
viewtopic.php?f=176&p=737014#p737014