An error on Homepage - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: An error on Homepage (/showthread.php?tid=40720) |
An error on Homepage - El Forum - 04-16-2011 [eluser]doudou[/eluser] Hi, i have this error on my home page: Code: An Error occured Do you know how to fix this? An error on Homepage - El Forum - 04-16-2011 [eluser]InsiteFX[/eluser] application/config/routes.php - This should match the name of your Home page Controller! If you changed the name of the controller or assigned a new one then change "welcome" below to you controller name... Code: $route['default_controller'] = "welcome"; InsiteFX An error on Homepage - El Forum - 04-16-2011 [eluser]doudou[/eluser] thanks for yor reply, but i can't find that file, i have only those attached. An error on Homepage - El Forum - 04-16-2011 [eluser]InsiteFX[/eluser] What version of Codeigniter are you running? InsiteFX An error on Homepage - El Forum - 04-16-2011 [eluser]doudou[/eluser] 2.0.2, i been told the error may come from system file An error on Homepage - El Forum - 04-16-2011 [eluser]InsiteFX[/eluser] What do you mean you cannot find that file? application/config/routes.php If it is not there then you have a problem! Because I can run CI 2.0.2 with no problems! Maybe when you downloaded it was corrupted. I have had problems in the pass were I had to download it 3 or 4 times to get a clean copy that would work. InsiteFX An error on Homepage - El Forum - 04-16-2011 [eluser]doudou[/eluser] YOu are right, i found it and replace it and now i have a 404 error " 404 Page Not Found The page you requested was not found. " thanks for your help |