Welcome Guest, Not a member yet? Register   Sign In
I am having problems using base_url, setting maybe?
#1

[eluser]The Beginner[/eluser]
Hi all, it's me again. I finished playing with tutorials and dynamic menus and nested views. I created a new instance of CI and started my project and the first time I needed to get the base url it failed with an error A PHP Error was encountered, Severity: Notice, Message: Undefined variable: base_url, Filename: controllers/wpapp.php, Line Number: 15.
I have tried every variation of the call that I can think of and still the error. I have set $config['base_url'] = "http://localhost/CI/";in config.php, I have also in my controller included $this->load->helper['url'];
I have looked through all the files in my tutorials copy and I am using base_url there in several places and it works fine.
Any suggestions?
Thanks,
Del
:-S


Messages In This Thread
I am having problems using base_url, setting maybe? - by El Forum - 09-25-2009, 05:31 PM
I am having problems using base_url, setting maybe? - by El Forum - 09-25-2009, 05:56 PM
I am having problems using base_url, setting maybe? - by El Forum - 09-25-2009, 06:02 PM
I am having problems using base_url, setting maybe? - by El Forum - 09-25-2009, 06:38 PM
I am having problems using base_url, setting maybe? - by El Forum - 09-25-2009, 06:58 PM
I am having problems using base_url, setting maybe? - by El Forum - 09-25-2009, 07:47 PM
I am having problems using base_url, setting maybe? - by El Forum - 09-25-2009, 11:57 PM
I am having problems using base_url, setting maybe? - by El Forum - 09-26-2009, 08:34 AM
I am having problems using base_url, setting maybe? - by El Forum - 09-26-2009, 11:00 AM
I am having problems using base_url, setting maybe? - by El Forum - 09-26-2009, 11:52 AM
I am having problems using base_url, setting maybe? - by El Forum - 12-29-2010, 07:24 AM



Theme © iAndrew 2016 - Forum software by © MyBB