TheAdminMarket
11-24-2014, 04:31 AM
Hello,
My problem in a short. Moving a site in another server I've lost the web files. I had only a MySQL backup.
Trying to recover I uploaded the files (vb 4.2.0) and then I changed the config.php to point to the database with the real data.
Now the problem. Trying to login to admincp I'm getting login details error for both admin accounts (I had 2). Even if I'm sure about the passwords (the usernames are correct as I checked them with phpMyAdmin), I tried to use the reset password function. And here is the problem. It shows the verification image without to show any image. Then with phpMyAdmin I disabled the Human verification (was set to Image), but still it shows it. As I understood the verification images does not cares what setting I've for human verification.
Any idea what else I can try to change to be able to login or recover the password?
Thank you
--------------- Added 1416812341 at 1416812341 ---------------
Ok fixed it. I removed from login.php
//if (fetch_require_hvcheck('lostpw'))
//{
// require_once(DIR . '/includes/class_humanverify.php');
// $verify =& vB_HumanVerify::fetch_library($vbulletin);
// if (!$verify->verify_token($vbulletin->GPC['humanverify']))
// {
// standard_error(fetch_error($verify->fetch_error()));
// }
//}
My problem in a short. Moving a site in another server I've lost the web files. I had only a MySQL backup.
Trying to recover I uploaded the files (vb 4.2.0) and then I changed the config.php to point to the database with the real data.
Now the problem. Trying to login to admincp I'm getting login details error for both admin accounts (I had 2). Even if I'm sure about the passwords (the usernames are correct as I checked them with phpMyAdmin), I tried to use the reset password function. And here is the problem. It shows the verification image without to show any image. Then with phpMyAdmin I disabled the Human verification (was set to Image), but still it shows it. As I understood the verification images does not cares what setting I've for human verification.
Any idea what else I can try to change to be able to login or recover the password?
Thank you
--------------- Added 1416812341 at 1416812341 ---------------
Ok fixed it. I removed from login.php
//if (fetch_require_hvcheck('lostpw'))
//{
// require_once(DIR . '/includes/class_humanverify.php');
// $verify =& vB_HumanVerify::fetch_library($vbulletin);
// if (!$verify->verify_token($vbulletin->GPC['humanverify']))
// {
// standard_error(fetch_error($verify->fetch_error()));
// }
//}