Jump to content

Error: Unable to Generate Hash when trying to login into Admin


sam
 Share

Recommended Posts

Ryan, considering the PHP versions after 5.3.7 have the Blowfish problem solved shouldn't the check as follows?

public function supportsBlowfish() {
    return version_compare(PHP_VERSION, '5.3.7') >= 0 && defined("CRYPT_BLOWFISH") && CRYPT_BLOWFISH;
}
  • Like 1
Link to comment
Share on other sites

  • 3 months later...
  • 1 month later...

i've the same problem "Unable to Generate Hash" moving the site from local dev enviroment to web server running PHP 5.3.8

upgrading PHP to 5.4 is not an option.

not a solution, but a simple workaround:

1. installing PW on the web server and creating users

2. moving PW to local dev and complete the development

3. moving back to web server

no problem to login anymore :)

it seems, the key is the initial installation

  • Like 1
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
 Share

×
×
  • Create New...