Codeigntier: Unable to load the requested file: helpers/phpass_helper.php on Ubuntu 14.04 Codeigntier: Unable to load the requested file: helpers/phpass_helper.php on Ubuntu 14.04 codeigniter codeigniter

Codeigntier: Unable to load the requested file: helpers/phpass_helper.php on Ubuntu 14.04


As you can see in the Codeigniter Docs:

Unlike most other systems in CodeIgniter, Helpers are not written in an Object Oriented format. They are simple, procedural functions. Each helper function performs one specific task, with no dependence on other functions.

To load a helper, the name of the file has to be like "phpass_helper.php"and inside the controller, you load this way

$this->load->helper('phpass_helper');

But in your case with the "PasswordHash" class I would suggest you convert that to a Library, which would be a better fit for your application and a correct way to apply too.

Creating libraries in Codeigniter