CodeIgniter-Ion-Auth: Bcrypt not works at PHP7.0+

I have upgraded server to PHP7.1 and cannot sign in. I tied also 7.0 and 7.2. All versions with the same error.

A PHP Error was encountered Severity: 8192 Message: crypt(): Supplied salt is not valid for DES. Possible bug in provided salt format. Filename: libraries/Bcrypt.php Line Number: 40 Backtrace: File: /nfsmnt/hosting2_2/8/4/845faa92-38a1-46de-8cc0-83667e6a48b7/labak.net/web/application/libraries/Bcrypt.php Line: 40 Function: crypt File: /nfsmnt/hosting2_2/8/4/845faa92-38a1-46de-8cc0-83667e6a48b7/labak.net/web/application/models/Ion_auth_model.php Line: 320 Function: verify File: /nfsmnt/hosting2_2/8/4/845faa92-38a1-46de-8cc0-83667e6a48b7/labak.net/web/application/models/Ion_auth_model.php Line: 1005 Function: hash_password_db File: /nfsmnt/hosting2_2/8/4/845faa92-38a1-46de-8cc0-83667e6a48b7/labak.net/web/application/libraries/Ion_auth.php Line: 104 Function: login File: /nfsmnt/hosting2_2/8/4/845faa92-38a1-46de-8cc0-83667e6a48b7/labak.net/web/application/controllers/System.php Line: 85 Function: __call File: /nfsmnt/hosting2_2/8/4/845faa92-38a1-46de-8cc0-83667e6a48b7/labak.net/web/index.php Line: 315 Function: require_once `

About this issue

  • Original URL
  • State: closed
  • Created 7 years ago
  • Comments: 25 (12 by maintainers)

Most upvoted comments

Excuse me, is this github or stackoverflow? Oooh my goodness, That’s right, this is Github. Thank you.