Hi people:
I’ve just upgrade from 2.4.6 to latest version 2.4.7-1, after a successful upgrade, we now having problem to sign in, the error message is:
Fatal error: require_once(): Failed opening required ‘/usr/home/xxxx/xxxx/xxxx/lib/password_compat/lib/password.php’ (include_path=’.:/usr/home/xxx/classes:/usr/home/xxx/pages:/usr/home/xxx/lib/pkp:/usr/home/xxx/lib/pkp/classes:/usr/home/xxx/lib/pkp/pages:/usr/home/xxx/lib/pkp/lib/adodb:/usr/home/xxx/lib/pkp/lib/phputf8:/usr/home/xxx/lib/pkp/lib/pqp/classes:/usr/home/xxx/lib/pkp/lib/smarty:.:/usr/local/lib/php’) in /usr/home/xxx/classes/security/Hashing.inc.php on line 100
I have temporary solved this by editing classes/security/Hashing.inc.php
line 97 to 104:
if ($init === null) {
// password_compat uses namespaces, so ensure PHP version supports this
//if (version_compare(phpversion(), '5.3.0', '>=')) {
// $init = require_once(BASE_SYS_DIR . '/lib/password_compat/lib/password.php');
//}
//else {
$init = false;
//}
}
i have met another problem that maybe related to what i changed here on the hashing page:
My user always get this message whenever they trying to reset their password:
Sorry, the link you clicked on has expired or is not valid. Please try resetting your password again.
Reset Password