MyBB Community Forums

Full Version: badlostpwcode
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Hi all.

Mybb 1.8.12 upgraded yesterday from mybb 1.8.10

Forum link https://www.vxoc.org.uk/forum/index.php

User has forgotten their password and they can't rest it the keep being met with HTTP 500 errors. or the badlostpwcode error page.

I've tried to change the password via the admin control panel and get the same result using Google chrome IE & Firefox.

Can anyone help?

Cheers Rusty.
basically recent entries of server error log should be checked to trace cause of error 500

also you can run file verification tool from below location. what does it report ?
admin panel >> tools & maintenance >> file verification

ignore reported images & ignore files reported from install folder & its sub-folders
Sorry for the delay in responding.

Here is log errors

[Sat Jun 03 14:31:51.081220 2017] [:error] [pid 13128] [client xxx.xxx.xxx.xxx:50640] PHP Fatal error: Call to undefined function create_password_hash() in /var/www/html/forum/inc/datahandlers/user.php on line 219, referer: https://www.vxoc.org.uk/forum/member.php


[Fri Jun 02 14:43:24.913753 2017] [:error] [pid 3491] [client xxx.xxx.xxx.xxx:57001] PHP Fatal error: Call to undefined function create_password_hash() in /var/www/html/forum/inc/datahandlers/user.php on line 219, referer: https://www.vxoc.org.uk/forum/member.php...n=register

I've attached the result from File verification

I've changed any of the php so not sure whats happening here.

Thanks Rusty.
basically you have to replace ~/inc/datahandlers/login.php file from the source files pack of your forum's MyBB version.

it would be also better to replace most of other files reported as changed at file verification

if you are using Google SEO plugin then do not replace ~/inc/functions.php file
Thank-you .m.

All fixed and working again.

Cheers Rusty.