Consistent 404 after initial success |
[eluser]Wittner[/eluser]
Hi, I've been enjoying learing CodIgniter. Today at some stage 'though, it all seemed to fall apart. I had been succesfully using a controller, a model which got some stuff from my db and a view to show it off. So far so good. Suddenly nothing seems to be working. I've done the simplest example of a controller without success (code below) <?php class Names extends Controller{ function index() { echo "Hello World"; } } ?> This gives me a 404 when I browse http://localhost/blah/index.php/names/ The name of the file is names.php. It is sitting in the 'controllers' subdirectory. Initially I had this running a view but when it wouldn't work I stripped it down to the basics you see above. Please help as I was enjoying CodIgniter but now I'm getting a bit concerned as I really want to use it for my next project, cheers, Wittner |
Messages In This Thread |
Consistent 404 after initial success - by El Forum - 06-16-2008, 09:50 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 10:13 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 10:30 AM
Consistent 404 after initial success - by El Forum - 06-16-2008, 04:44 PM
Consistent 404 after initial success - by El Forum - 06-16-2008, 07:31 PM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:00 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:03 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:14 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 03:46 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 04:07 AM
Consistent 404 after initial success - by El Forum - 06-17-2008, 05:53 AM
|