title: codeigniter form validation error message does not display
body: <p>my form validation error does not show messages in view file when i load model and get row from tables. here is my code.</p>
  
  <pre><code>        $this-&gt;form_validation-&gt;set_rules('bookCategoryId', 'Book SubCategory Id', 'trim|required');
          $this-&gt;form_validation-&gt;set_rules('bookSubCategoryId', 'Book SubCategory Id', 'trim|required');
          $this-&gt;form_validation-&gt;set_rules('bookSubCategoryName', 'Book SubCategory Name', 'trim|required');
  if ($this-&gt;form_validation-&gt;run() == FALSE) {
          /* Load Model */
          $this-&gt;load-&gt;model('book_category');
  
          /* Get Categories */
          $template_data['mainContentData']['book_categories'] = $this-&gt;book_category-&gt;get_all_categories();
  
          /* set view page to be called  */
          $template_data['mainContent'] = 'admin_add_book_subcategory';
  
          /* Load Template */
          $this-&gt;template($template_data);
      }
  </code></pre>
  
  <p>My form works fine if i exclude these two line</p>
  
  <pre><code>        /* Load Model */
          $this-&gt;load-&gt;model('book_category');
  
          /* Get Categories */
          $template_data['mainContentData']['book_categories'] = $this-&gt;book_category-&gt;get_all_categories();
  </code></pre>
  
  <p>than my validations shows error. I dont know where is the problem ?</p>