title: Zend Framework 1.12 - Plugin by name 'Paginationcontrol' was not found in the registry
body: <p>I have got error messages when i m load view all student controller </p>
  
  <pre><code>An error occurred
  Application error
  Exception information:
  </code></pre>
  
  <p>Message: Plugin by name 'Paginationcontrol' was not found in the registry; used paths: Admin_View_Helper_: /home/aiengine/public_html/zend/psc_app_final_4/application/modules/admin/views/helpers/ ZendX_JQuery_View_Helper_: ZendX/JQuery/View/Helper/ Zend_View_Helper_: Zend/View/Helper/:./views/helpers/ </p>
  
  <p><strong>viewallstudentAction</strong></p>
  
  <pre><code> public function viewallstudentsAction() {
       $db = Zend_Db_Table::getDefaultAdapter();
  
  
      $selection = $db-&gt;select()-&gt;from('tblstudents');
      $paginator = Zend_Paginator::factory($selection);
      $paginator-&gt;setcurrentpagenumber($this-&gt;_getparam('page', 1));
      $paginator-&gt;setItemcountperpage('10');
      $paginator-&gt;setpagerange('5');
      $this-&gt;view-&gt;paginator = $paginator;
  
      $searchstudent_form = new Admin_For`enter code here`m_Searchstudent();
      $this-&gt;view-&gt;searchstudent_form = $searchstudent_form;
  }
  
  -------------
  **viewallstudents.phtml**
  
  &lt;div id="view-content"&gt;
      &lt;div class="row"&gt;           
  
          &lt;div class="col-md-3"&gt;              
              &lt;div class="form-group"&gt;                    
                  &lt;?php echo $this-&gt;searchstudent_form; ?&gt;
              &lt;/div&gt;       
  
          &lt;/div&gt;
  
          &lt;div class="col-md-8"&gt;
              &lt;br/&gt;
              &lt;?php echo $this-&gt;paginationcontrol($this-&gt;paginator, 'Sliding', 'students/index.phtml') ?&gt;
          &lt;/div&gt;
          &lt;div class="col-md-1"&gt;
              &lt;div class="form-group"&gt; 
                  &lt;br/&gt;&lt;br/&gt;
                  &lt;input type="button" id="del_student_confirm" value="Delete" class="btn btn-primary"/&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;div class="col-md-12"&gt;
  
          &lt;table class="table table-hover" id="viewallstudents"&gt;
              &lt;th&gt;
                  &lt;label class="checkbox-inline"&gt;
                      &lt;input type="checkbox" id="checkAll" &gt; 
                  &lt;/label&gt;
  
              &lt;/th&gt;
              &lt;th&gt; studentID&lt;/th&gt;
              &lt;th&gt; name&lt;/th&gt;
              &lt;th&gt; sex&lt;/th&gt;
              &lt;th&gt;Action&lt;/th&gt;
              &lt;tr id="search_result" class="success"&gt;
  
  
              &lt;/tr&gt;
              &lt;?php
              foreach ($this-&gt;paginator as $record) {
                  ?&gt;
  
                  &lt;tr id="&lt;?php echo $record['studentID']; ?&gt;"&gt;
                      &lt;td&gt;
                          &lt;div id="c_b"&gt;
                              &lt;label class="checkbox-inline"&gt;
                                  &lt;input type="checkbox" id="inlineCheckbox1" value="&lt;?php echo $record['studentID']; ?&gt;" name="studentID[]"&gt; 
                              &lt;/label&gt;
                          &lt;/div&gt;
                      &lt;/td&gt;
                      &lt;td&gt; &lt;?php echo $record['studentID']; ?&gt;&lt;/td&gt;
                      &lt;td&gt; &lt;?php echo $record['name']; ?&gt;&lt;/td&gt;
                      &lt;td&gt; &lt;?php echo $record['sex']; ?&gt;&lt;/td&gt;
                      &lt;td&gt;&lt;a id='update' href="&lt;?php echo $this-&gt;url(array('module' =&gt; 'admin', 'controller' =&gt; 'students', 'action' =&gt; 'editstudent', 'studentID' =&gt; $record['studentID'], 'name' =&gt; $record['name'], 'name' =&gt; $record['name'], 'sex' =&gt; $record['sex']), null, true); ?&gt;"&gt;&lt;img src="&lt;?php echo $this-&gt;serverUrl() . $this-&gt;baseUrl(); ?&gt;/img/edit.png"/&gt;&lt;/a&gt; &lt;/td&gt;
                  &lt;/tr&gt;
                  &lt;?php
              }
              ?&gt;
          &lt;/table&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  
  &lt;!--Model Display--&gt;
  &lt;div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
              &lt;div class="modal-body"&gt;
                  &lt;h4&gt;&lt;img src="&lt;?php echo $this-&gt;serverUrl() . $this-&gt;baseUrl(); ?&gt;/img/warning.png"/&gt; &amp;nbsp;Are you sure you wish to delete?&lt;/h4&gt;
              &lt;/div&gt;
              &lt;div class="modal-footer"&gt;
                  &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
                  &lt;button type="submit" class="btn btn-primary" id="delete_me"&gt;Delete&lt;/button&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;div class="modal fade" id="myModal2" tabindex="-1" role="dialog" aria-labelledby="myModalLabel" aria-hidden="true"&gt;
      &lt;div class="modal-dialog"&gt;
          &lt;div class="modal-content"&gt;
  
              &lt;div class="modal-body"&gt;
  
                  &lt;h4&gt;&lt;img src="&lt;?php echo $this-&gt;serverUrl() . $this-&gt;baseUrl(); ?&gt;/img/warning.png"/&gt; &amp;nbsp;Are you sure you wish to Update?&lt;/h4&gt;
  
              &lt;/div&gt;
              &lt;div class="modal-footer"&gt;
                  &lt;button type="button" class="btn btn-default" data-dismiss="modal"&gt;Close&lt;/button&gt;
                  &lt;button type="button" class="btn btn-primary" id="update_me"&gt;Update&lt;/button&gt;
              &lt;/div&gt;
          &lt;/div&gt;
      &lt;/div&gt;
  &lt;/div&gt;
  &lt;script type="text/javascript"&gt;
  
  //    $("form").submit(function(event) {
  //
  //        event.preventDefault();
  //    });
  
      $('#checkAll').click(function() {
          $('input:checkbox').prop('checked', this.checked);
      });
  
      //identify selected checkbox count
  
  
  
      $("#del_student_confirm").click(function() {
  
          var searchIDs = $('#inlineCheckbox1:checked').map(function() {
  
              return $(this).val();
  
          });
          if (searchIDs.length &gt; 0) {
  
              $('#myModal').modal('show');
          }
  
  
          //delete functionality'
  
          $("#delete_me").click(function() {
  
              var searchIDs = [];
              $('#inlineCheckbox1:checked').each(function() {
                  searchIDs.push(this.value);
              });
  
              //Identify Selected Checked boxes and clear all items
  
              $.each(searchIDs, function(index, value) {
                  $.ajax({
                      type: "POST",
                      url: "&lt;?php echo $this-&gt;serverUrl() . $this-&gt;baseUrl(); ?&gt;/admin/students/deletestudents/studentID/" + value,
                      success: function(response) {
                          alert(response);
                          $('table#viewallstudents tr#' + value).remove();
                          $('#myModal').modal('hide');
                      }
                  });
              });
  
              $.each(searchIDs, function(index, value) {
                  searc.splice(index, value);
  
              });
          });
      });
  
      //Search Function
  //    $("#student_name").keyup(function() {
  //
  //        alert($("#student_name").val());
  //    });
      $("#autocomplete").keypress(function() {
  
          var value = $("#autocomplete").val();
          $.ajax({
              type: "POST",
              url: "&lt;?php echo $this-&gt;serverUrl() . $this-&gt;baseUrl(); ?&gt;/admin/students/searchstudents/",
              data: {student_name: value},
              success: function(response) {
                  //  alert(response.empty);
  
                  if (response.empty === "0") {
  
                  } else {
                      var check_Box = "&lt;div id='c_b'&gt;" +
                              "&lt;label class='checkbox-inline'&gt;" +
                              "&lt;input type='checkbox' id='inlineCheckbox1' value=" + response.studentID + " name='studentID[]'&gt;" +
                              "&lt;/label&gt;" +
                              "&lt;/div&gt;";
  
                      var update_icon = "&lt;a id=\"update\" href='&lt;?php echo $this-&gt;serverUrl() . $this-&gt;baseUrl(); ?&gt;/admin/students/editstudent/studentID/" + response.studentID + "/name/" + response.name + "/sex/" + response.sex + "'&gt;&lt;img src='&lt;?php echo $this-&gt;serverUrl() . $this-&gt;baseUrl(); ?&gt;/img/edit.png'/&gt;&lt;/a&gt;";
                      var html_content = "&lt;td&gt;";
  
                      html_content += check_Box;
                      html_content += "&lt;/td&gt;";
  
                      html_content += "&lt;td&gt;";
                      html_content += response.studentID;
                      html_content += "&lt;/td&gt;";
  
                      html_content += "&lt;td&gt;";
                      html_content += response.name;
                      html_content += "&lt;/td&gt;";
  
                      html_content += "&lt;td&gt;";
                      html_content += response.sex;
                      html_content += "&lt;/td&gt;";
  
                      html_content += "&lt;td&gt;";
                      html_content += update_icon;
                      html_content += "&lt;/td&gt;";
  
  
  
  
                      $("#search_result").html(html_content);
                      //$('table#viewallstudents tr#' + response.studentID).remove();
                  }
  
              }
          });
  
  
      });
  
      $('#student_name').keyup(function() {
          if ($('#student_name').val().length === 0) {
              alert('empty');
          }
      });
  
  
  
  &lt;/script&gt;
  
  -------------------------------------------------------
  </code></pre>