codeigniter_boilerplate
codeigniter_boilerplate copied to clipboard
Did updates and missing function password_verify
It looks like you did a great job putting this together.
However, witth a fresh install following instructions, I got an error in the admin when trying to log in:
Severity: Error Message: Call to undefined function password_verify() Filename: models/Admin_user_model.php Line Number: 14
Hi,
The function password_verify() is come from native PHP but only after version 5.5 as indicated here: http://php.net/manual/en/function.password-verify.php
So you will need to upgrade PHP version server to enable this function, as well as another function password_hash().
Update:
I checked Codeigniter codes, and it also provide a compat solution for this: system/core/compat/password.php
But I still suggest you work with new PHP version(5.5+).
Thanks, DJ
hi, I wonder how to upgrade to the latest CI version? thanks