CodeIgniter Forums
404 Page Not Found Error - Printable Version

+- CodeIgniter Forums (https://forum.codeigniter.com)
+-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20)
+--- Forum: Archived General Discussion (https://forum.codeigniter.com/forumdisplay.php?fid=21)
+--- Thread: 404 Page Not Found Error (/showthread.php?tid=15156)

Pages: 1 2


404 Page Not Found Error - El Forum - 01-27-2009

[eluser]buddhika2009[/eluser]
I have problem in installing the CI .it gives me an error of '404 Page Not Found' .whats the problem .i have check my folder settings in the config.php file but that also ok .

pls help


404 Page Not Found Error - El Forum - 01-27-2009

[eluser]cairo140[/eluser]
What URI are you entering that gives you the 404?


404 Page Not Found Error - El Forum - 01-27-2009

[eluser]buddhika2009[/eluser]
when i started to view my web site


404 Page Not Found Error - El Forum - 01-27-2009

[eluser]Colin Williams[/eluser]
Is it a 404 from CodeIgniter, or a 404 from your webserver?


404 Page Not Found Error - El Forum - 01-28-2009

[eluser]buddhika2009[/eluser]
404 from CodeIgniter


404 Page Not Found Error - El Forum - 01-28-2009

[eluser]buddhika2009[/eluser]
I am running code igniter on windows+apachie server .when i configure the all the 'code igniter ' code in the folder called CI and
configure the index.php and config.php file but when i run the appication by http://localhost/ci/index.php its give me an error saying that '
404 Page Not Found

The page you requested was not found.


i cannot go over with this..

what is the problem like ?help


404 Page Not Found Error - El Forum - 01-28-2009

[eluser]Colin Williams[/eluser]
Check your $route['default_controller'] configuration, and then be sure the controller it points to exists.

For example, in a fresh install, route['default_controller'] is set to "welcome" and then there is a "welcome.php" controller. If you changed one without the other, you will get 404. Furthermore, your class needs have the class named correctly, like class Welcome extends Controller {}


404 Page Not Found Error - El Forum - 01-29-2009

[eluser]buddhika2009[/eluser]
i am run this application on 'C:\Program Files\Apache Group\Apache2\htdocs' folder and my index.php is in the ci folder .is this the issue .ur configuration part was i did almost


404 Page Not Found Error - El Forum - 01-29-2009

[eluser]Colin Williams[/eluser]
Not what I was getting at. URLs are mapped to controllers as such:

Path: "http://www.example.com/index.php/welcome" = Controller: "welcome.php" = Class: "Welcome"

And by default, when there is no first parameter, CI tries to use the 'default_controller' that you set in application/config/routes.php. If you set it to a class/controller that does not exist, you'll get a 404 from CI


404 Page Not Found Error - El Forum - 01-29-2009

[eluser]buddhika2009[/eluser]
can u upload some working code ..so that i can checkout