This topic contains a post which is marked as Best Answer. Press here if you would like to see it.
*

brsdid

  • **
  • 9 posts
User password recovery
« on: April 15, 2021, 06:05:45 PM »

Hello, I have a problem when a user uses the option to recover his password, he does not receive an e-mail, my server works, everything is done properly, but he does not receive an e-mail.
I get this error
[15-Apr-2021 18:55:57 Europe/Sofia] PHP Warning:  current() expects parameter 1 to be array, null given in /home/******/public_html/oc-includes/osclass/emails.php on line 366

*

MB Themes

Re: User password recovery
« Reply #1 on: April 15, 2021, 07:12:39 PM »
It looks like you are missing email template for this action.
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

brsdid

  • **
  • 9 posts
Re: User password recovery
« Reply #2 on: April 15, 2021, 07:35:51 PM »
how to add this template

*

MB Themes

Re: User password recovery
« Reply #3 on: April 15, 2021, 07:39:52 PM »
That can be done on database level only
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots

*

brsdid

  • **
  • 9 posts
Re: User password recovery
« Reply #4 on: April 15, 2021, 07:43:01 PM »
okay can you help me or give me some instruction to read about that

Marked as best answer by frosticek on April 15, 2021, 08:58:53 PM
*

brsdid

  • **
  • 9 posts
Re: User password recovery
« Reply #5 on: April 15, 2021, 08:16:34 PM »
Okay i  manage to do it by my own

I post the solution if someone have that isue like me
Go to PhpMyadmin

Code: [Select]
and insert manual
[b]email_user_forgot_password[/b]
in
[b]_t_pages[/b]

Then go to osclass admin panel email templates and this is

Code: [Select]
{USER_NAME}
User name

{USER_EMAIL}
User email

{PASSWORD_LINK}
Change user password link

{PASSWORD_URL}
change user password url

{DATE_TIME}
Date time

*

MB Themes

Re: User password recovery
« Reply #6 on: April 15, 2021, 08:58:46 PM »
Thanks for posting solution ;)
  To get fast support, we need following details: Detail description, URL to reproduce problem, Screenshots