Fatal error: Call to undefined function base_url() in CodeIgniter

You need to load the url helper within controller constructor or  function.
$this->load->helper('url');
OR
Add below code under application/config/autoload.php that looks like
$autoload['helper'] = array('url');

Comments

Popular posts from this blog

Stop video playing when Bootstrap modal is closed