Fresh install of CMSMS 2.2.7. Everything worked fine as usual - no change at all to process.
When entering password on admin/login.php page i get this:
Code: Select all
Fatal error: Call to undefined function CMSMS\password_hash() in /home/xxxxxxx/public_html/lib/classes/internal/class.LoginOperations.php on line 84
I have entered the password wrong, and that behaves normal and just gives you the wrong password error it usally does.
Have changed password and that still gives PHP fatal error.
I have re-installed/freshened 2.2.7 to see if anything was a bit messy on the way orignialyl and nothing has changed I am still getting issue.
I am running PHP version 5.4.45 on my server, which according to the documentation is not high enough as versions 2x require 5.6 and reccomended 7.0.
What I don't understand is why all ofmy other CMSMS installs have worked for 2.2.4, 2.2.5 and 2.2.6!
Has this documentation been updated since 2.2.7?
Is this a known issue with 2.2.7 or is it just me?
On the actual line of code I am being pointed to it says:
Code: Select all
$private_data['hash'] = password_hash( $user->id.$user->password.__FILE__, PASSWORD_BCRYPT );
Thanks!