Welcome Guest, Not a member yet? Register   Sign In
Call to undefined function base_url()
#1

[eluser]Anandafit[/eluser]
Hi,
I am new for the this framework. I am fallowing a tutorial and now I have a error called "Call to undefined function base_url()"

I used this function in my view as fallow,
"<link href=”<?= base_url();?>css/default.css” rel=”stylesheet” type=”text/css” />"

I configured autoload.php file for url helper as fallow,
"$autoload['helpe'] = array('url','form','text','date','security');"

But I didn't any change for "$config['base_url']= "http://your-site.com/";" in config.php.

I think that this error appear as a result of "$config['base_url']" in config.php. But I don't know really is it.

Help me to solve this.

Regards,
Ananda,


Messages In This Thread
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:06 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:12 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:16 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:18 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:30 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:31 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:36 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:40 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 12:51 AM
Call to undefined function base_url() - by El Forum - 02-10-2009, 04:14 AM



Theme © iAndrew 2016 - Forum software by © MyBB