Welcome Guest, Not a member yet? Register   Sign In
404 Error - Installation Fail? [SOLVED]
#1

[eluser]Ashton.Sanders[/eluser]
Hi All,

I just installed CI for the first time, but every page I get is a 404. I'm sure it's a simple setting I forgot...

Here's more info if it helps:
I have installed CI "index.php" in a subdirectory "/art/"
I have put "/system" in the root
I have put "/application" in the root.
I have updated the index file to load ../system and ../application
I did the htaccess rewrite, which seems to be working correctly. ( I have the 404 error page spitting out what PHP_SELF says "Page Loaded from: /art/index.php/welcome".
I haven't doe anything with controllers/welcome

I have tried copy/pasting the code for a blog controller as well...

I hope that's enough info.
Thanks,
Ashton
#2

[eluser]InsiteFX[/eluser]
Did you set your base_url in application/config/config.php ?

Your index.php should start in your web root.

Enjoy
InsiteFX
#3

[eluser]Ashton.Sanders[/eluser]
Yes, the Base_url is set correctly.

Is it possible to have the index.php in a sub directory? so I can install another program in the root? I guess I could make it a subdomain... would that fix the problem?
#4

[eluser]Ashton.Sanders[/eluser]
I solved this problem by chaning the URI_protocol (in the /application/config.php) to:


Code:
$config['uri_protocol']    = "REQUEST_URI";

(I'm hosted with Godaddy... which may have caused it.)

Thanks for your help InsiteFX




Theme © iAndrew 2016 - Forum software by © MyBB