If you are facing this error "Fatal error: Call to undefined function base_url() .........." in codelgniter, this is very simple to resolve this. You need to open "codelgniter/application/config/autoload.php" this file and make the changes as below:
$autoload['helper'] = array();
// Make changes in this helper as below
$autoload['helper'] = array('url');
0 Comment(s)