Welcome Guest, Not a member yet? Register   Sign In
An error on Homepage
#1

[eluser]doudou[/eluser]
Hi,

i have this error on my home page:

Code:
An Error occured

Do you know how to fix this?
#2

[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
#3

[eluser]doudou[/eluser]
thanks for yor reply, but i can't find that file, i have only those attached.
#4

[eluser]InsiteFX[/eluser]
What version of Codeigniter are you running?

InsiteFX
#5

[eluser]doudou[/eluser]
2.0.2,
i been told the error may come from system file
#6

[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
#7

[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




Theme © iAndrew 2016 - Forum software by © MyBB