title: jquery post internal server error
body: <pre><code>    $('.active-teacher').click(function() {
         $.post('&lt;?php echo base_url('authsm8csk/change_teacher'); ?&gt;/'+this.id);
      });
  </code></pre>
  
  <p>when i execute this url by typing in the web browser, the code in controller is running, so i think that the code in controller is no problems. but when i running in via clicking the element with 'active-teacher' class. internal server error 500. please help me.</p>
  
  <p>the error show like this in chrome development console, sorry i can't post an image</p>
  
  <p>POST <a href="http://domain.com/sman8kab/authsm8csk/change_teacher/3" rel="nofollow">http://domain.com/sman8kab/authsm8csk/change_teacher/3</a> 500 (Internal Server Error)</p>