Class 'Controller' not found |
[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.
[eluser]Colin Williams[/eluser]
Sure. Start here: http://ellislab.com/codeigniter/user-gui...arted.html
[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..........
[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.
|
Welcome Guest, Not a member yet? Register Sign In |