Welcome Guest, Not a member yet? Register   Sign In
Class 'Controller' not found
#1

[eluser]bhagatwala[/eluser]
Can any one tell me how to configure Codeigniter with wampserver?
I have folder Demo("D:\wamp\www\Demo") where i am storing my php files.
#2

[eluser]Colin Williams[/eluser]
Sure. Start here: http://ellislab.com/codeigniter/user-gui...arted.html
#3

[eluser]bhagatwala[/eluser]
Thank you dear.

Now i am getting error ( " Fatal error: Class 'Controller' not found in D:\wamp\www\Demo\blog.php on line 7 ")

for this written code is
____________________
<html>
<head>
<title> Demo </title>
</head>
<body>
<?php
class Blog extends Controller
{
function index()
{
echo 'Hello World!';
}
}
?>
</body>
</html>
_________________________

can u tell me how i can set this Controller or what could be the solution as i am beginner i dont know this things..........
#4

[eluser]Colin Williams[/eluser]
You don't call the controller file up. You call the index.php bootstrap/front controller. You are missing so many of the basic points. Check out the video tutorials, and read through the first few sections of the user guide.
#5

[eluser]bhagatwala[/eluser]
Thanks i got it........




Theme © iAndrew 2016 - Forum software by © MyBB