Solution Fatal error: Call to undefined function base_url() in Codeigniter
In this Post We Will Explain About is Solution Fatal error: Call to undefined function base_url() in Codeigniter With Example and Demo.Welcome on Pakainfo.com – Examples, The best For Learn web development Tutorials,Demo with Example! Hi Dear Friends here u can know to call to undefined function base_url() in codeigniter 3 Example
In this post we will show you Best way to implement call to undefined function site_url() codeigniter, hear for message call to undefined function base_url() codeigniter with Download .we will give you demo,Source Code and examples for implement Step By Step Good Luck!.
php – Fatal error: Call to undefined function base_url()
In this Codeigniter post, We will let you know simple solution like two way. how to fix the this issue “Call to undefined function base_url()” in simple way to resolve Codeigniter.
Generally all the users When We was simple started with PHP based Frameworks Codeigniter then We had faced all time new some fatal error like this type errors :
[Solved]Fatal error: Call to undefined function base_url() in Codeigniter
Call to undefined function base_url() in d:\wamp\www\Demo-CI\application\views\products\list.php on line 5
We was face to getting some an error because We did not simple load the url data helper to access some that function.
We put controller in Codeigniter url in autoload file and We will find the autoload.php in following simple path Like as aapplication/config/autoload.php.
$autoload['helper'] = array('url');
and changes this Save your simple page ctrl+s autoload.php file After that run your webapplication, simple base_url() function will work currently now.
After that second options in Error resolve to Codeigniter, you can add simple following line of source code somewhere in Codeigniter controller :
We Hope, Above simple Codeigniter solution will resolve perfetly your issue whenever you will get kind of some error.
You are Most welcome in my youtube Channel Please subscribe my channel. and give me FeedBack.
I hope you have Got What is Codeigniter Fatal error: Call to undefined function base_url() And how it works.I would Like to have FeedBack From My Blog(Pakainfo.com) readers.Your Valuable FeedBack,Any Question,or any Comments about This Article(Pakainfo.com) Are Most Always Welcome.
Here are some more FAQ related to this Article: