Welcome Guest, Not a member yet? Register   Sign In
base_url is not available

The problem that I'm facing is, echo site_url()/ base_url is not accessible in my index.php even though I've auto loaded $autoload['helper'] = array('url');. what is the problem here... I'm unable to get it.
Please Help I'll be thankful to you people

[eluser]Bart v B[/eluser]
Some code would be more helpfull to see what the problem is causing.

should be base_url() and not just base_url I think...

index.php is the very first code executed by CI, the loader hasn't happened yet, so base_url()/site_url() aren't going to be available.

@noctrum lol when @nasir031 said index.php I assumed he was talking about the default controller or something like that. Didn't even occurred to me that option lol

Theme © iAndrew 2016 - Forum software by © MyBB