Welcome Guest, Not a member yet? Register   Sign In
Problem with base_url() and https://


I have problems with base_url(), my base_url is a https:// address, I dont know if it makes diference. Everytime I put base_url(), like this:
It looks like that in source:

Anyone has idea about that?

Changing for other address, non https:// in the same host didnt work to...

It outputs a message that de function base_url() is undefined

to access base_url() you need to load the url helper

So you can either add it to the autoload
or you can load the helper just when needed in the controller

weird, in my past project I didnt have to autoload url... but I'll try this, thanx!

You are right, in this site I had to autoload de helper url...

Theme © iAndrew 2016 - Forum software by © MyBB