An Error Was Encountered Unable to load the requested file: helpers/form_validation_helper.php
<p>Log in page is not working in my project during, so it says </p>

<blockquote>
  <p>Unable to load the requested file: helpers/form_validation_helper.php</p>
</blockquote>

<p>I have already loaded the mentioned file in config file of my project. But still it is not working.</p>

<p>Controller is include two function <code>auth</code> function check the authentication and <code>index</code> function which load the view</p>

<p>login controller source code:</p>

<pre><code>&lt;?php
defined('BASEPATH') OR exit('No direct script access allowed');

class Login extends CI_Controller {
    public function index() {
        $this-&gt;load-&gt;view('pages/login');
    }

    function auth() {
        $this-&gt;load-&gt;helper('form');
        $this-&gt;load-&gt;helpers('form_validation');

        $rules = array(
                    array(
                        'field' =&gt; 'username',
                        'label' =&gt; 'Username',
                        'rules' =&gt; 'required'
                    ),
                    array(
                        'field' =&gt; 'password',
                        'label' =&gt; 'Password',
                        'rules' =&gt; 'required'
                    )
                ); 
        $this-&gt;form_validation-&gt;set_rules($rules);

        if($this-&gt;form_validation-&gt;run() == false) {
            $this-&gt;load-&gt;view('pages/login');
        } else {
            echo "valid form";
        }
    }
}
</code></pre>

<p>login view source code:</p>

<pre><code>&lt;body&gt;
    &lt;section class="container"&gt;
        &lt;div class="login"&gt;
            &lt;h1&gt;Login to Web App&lt;/h1&gt;
            &lt;?php $this-&gt;load-&gt;helper('form');
            echo validation_errors();
            echo form_open('login/auth');
            $username = form_input(array('name'=&gt; 'username', 'placeholder' =&gt; 'username or Email'));
            $password = form_password(array('name' =&gt; 'password', 'placeholder' =&gt; 'password'));
            $checkbox = form_checkbox('remember', '1');
            $submit = form_submit('submit','Login')
            ?&gt;

            &lt;p&gt;&lt;?=$username;?&gt;&lt;/p&gt;
            &lt;p&gt;&lt;?=$password;?&gt;&lt;/p&gt;
            &lt;p class="remember_me"&gt;
                &lt;label&gt;
                    &lt;?=$checkbox;?&gt;
                    Remember me on this computer
                &lt;/label&gt;
            &lt;/p&gt;
            &lt;p class="submit"&gt;&lt;?=$submit;?&gt;&lt;/p&gt;
            &lt;?php form_close(); ?&gt;
        &lt;/div&gt;
    &lt;/section&gt;
&lt;/body&gt;
&lt;/html&gt;
</code></pre>