MyBB Community Forums

Full Version: Password recovery option is not working
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
When i change the email in user control panel, it successfully sends email changed email

However when i try password recovery, no email comes, no message is displayed

How can i debug the issue?

my forum is : http://forum.pokemonpets.com

please help me ty

By the way the mybb version is 1.8.19
(2018-12-17, 07:25 AM)MonsterMMORPG Wrote: [ -> ]By the way the mybb version is 1.8.19

Hi,

your version it's not 1.8.19:

<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/general.js?ver=1810"></script>

Try to fix this first

https://community.mybb.com/thread-206896.html

P.S.: and don't forget to check your templates, and look for changes that happended in the last versions of MyBB, sure you'll find the root ot the problem you have.
[url=https://community.mybb.com/thread-206896.html][/url]
(2018-12-17, 10:02 AM)NoRules Wrote: [ -> ]
(2018-12-17, 07:25 AM)MonsterMMORPG Wrote: [ -> ]By the way the mybb version is 1.8.19

Hi,

your version it's not 1.8.19:

<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/general.js?ver=1810"></script>

Try to fix this first

https://community.mybb.com/thread-206896.html

You're wrong, he's using MyBB 1.8.19 and that can't be a problem with javascript.
(2018-12-17, 10:02 AM)NoRules Wrote: [ -> ]
(2018-12-17, 07:25 AM)MonsterMMORPG Wrote: [ -> ]By the way the mybb version is 1.8.19

Hi,

your version it's not 1.8.19:

<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/jquery.js?ver=1806"></script>
<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/jquery.plugins.min.js?ver=1806"></script>
<script type="text/javascript" src="http://forum.pokemonpets.com/jscripts/general.js?ver=1810"></script>

Try to fix this first

https://community.mybb.com/thread-206896.html


i did proper install

also my previous version was 1.8.12

so what do i need to do now i didnt get from the thread you have linked

i need to change ver number? from where?

also my scripts are exactly same as mybb.com not a letter is different

i compared each one of them
(2018-12-17, 11:18 AM)chack1172 Wrote: [ -> ]You're wrong, he's using MyBB 1.8.19 and that can't be a problem with javascript.

True.., I pasted the javascript versions to show up that he was wrong about the version.

As I added in my PS, the problem it's in the template.

But if you want to help a little more, you're welcome Wink

(2018-12-17, 11:19 AM)MonsterMMORPG Wrote: [ -> ]i need to change ver number? from where?

also my scripts are exactly same as mybb.com not a letter is different

i compared each one of them

You'll have to change the version manually in the template of the theme you're using.

What you must compare as I said in the PS, are the templates of your theme with the default ones of the last version of MyBB, and you'll find something that sure is missing or unset.
Monster can you send the code of template member_lostpw?
The problem can be the missing captcha.
(2018-12-17, 11:30 AM)chack1172 Wrote: [ -> ]Monster can you send the code of template member_lostpw?
The problem can be the missing captcha.

here the template


<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->lost_pw}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="member.php" method="post">
<div class="container-fluid">	
	<div class="panel panel-primary">
		<div class="panel-heading"><span class="panel-title"><strong>{$lang->lost_pw_form}</strong></span></div>
  			<div class="panel-body">	
				<div class="row">
					<div class="col-lg-4 padding-8px"><strong>{$lang->email_address}</strong></div>
					<div class="col-lg-8 padding-8px"><input type="text" class="form-control" name="email"></div>
				</div>	
			</div>
	</div>
	<input type="submit" class="btn btn-block btn-lg btn-primary" value="{$lang->request_user_pass}">
	<input type="hidden" name="action" value="do_lostpw">
</div>
</form>
{$footer}
</body>
</html>
The problem is the missing captcha. Change the template with this:
<html>
<head>
<title>{$mybb->settings['bbname']} - {$lang->lost_pw}</title>
{$headerinclude}
</head>
<body>
{$header}
<form action="member.php" method="post">
<div class="container-fluid">	
	<div class="panel panel-primary">
		<div class="panel-heading"><span class="panel-title"><strong>{$lang->lost_pw_form}</strong></span></div>
  			<div class="panel-body">	
				<div class="row">
					<div class="col-lg-4 padding-8px"><strong>{$lang->email_address}</strong></div>
					<div class="col-lg-8 padding-8px"><input type="text" class="form-control" name="email"></div>
				</div>
				{$captcha}
			</div>
	</div>
	<input type="submit" class="btn btn-block btn-lg btn-primary" value="{$lang->request_user_pass}">
	<input type="hidden" name="action" value="do_lostpw">
</div>
</form>
{$footer}
</body>
</html>
@chak1172 ty very much problem is solved