beginners routing problem |
[eluser]Unknown[/eluser]
Hello all, I've just started learning to use the framework and I'm following the tutorial here: http://ie.mirror.twsweb-int.com/codeigni...ction.html I have hit a very basic problem that I just can't figure out. I have a News controller class with an index method inside that is just supposed to load a view (for the moment) but when I point my browser to: http://localhost/codeIgniter/index.php/news/index I get a 404 page not found. I am running a local MAMP server and the CI welcome page showed up fine before I changed the routes file - now I can't even show that using the default url format - http://localhost/codeIgniter/index.php/welcome/index Can anyone see what I am doing wrong? Code: <?php routes: Code: $route['default_controller'] = "pages"; Thanks |
Welcome Guest, Not a member yet? Register Sign In |