404... That really shouldn't be |
[eluser]Unknown[/eluser]
Hello, So, I have been reading the documentation and I am trying to figure out how to get a controller I made to work. The URL is supposed to be http://jessicasideways.info/higherone/ and it is using a controller at application/controllers/higherone.php that has this code: Code: <?php (and the reason why I am not using the pages controller is because I want to use custom headers & footers for mini sites I create on this domain, like this one). This is what routes I have defined: Code: $route['default_controller'] = "welcome"; So, what am I doing wrong?
[eluser]CroNiX[/eluser]
Try changing Code: file_exists('application/views/higherone/'.$page.'.php') Code: file_exists(APPPATH . 'views/higherone/'.$page.'.php') Also I believe your routes should be, in this order: Code: //routes go from most segments to least.
|
Welcome Guest, Not a member yet? Register Sign In |