Welcome Guest, Not a member yet? Register   Sign In
404... That really shouldn't be
#2

[eluser]CroNiX[/eluser]
Try changing
Code:
file_exists('application/views/higherone/'.$page.'.php')
to
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.
$route['higherone/(:any)'] = 'higherone/view/$1'; //notice () around (:any)
$route['higherone'] = 'higherone/view';


Messages In This Thread
404... That really shouldn't be - by El Forum - 11-15-2013, 11:24 AM
404... That really shouldn't be - by El Forum - 11-15-2013, 05:21 PM
404... That really shouldn't be - by El Forum - 11-15-2013, 07:37 PM



Theme © iAndrew 2016 - Forum software by © MyBB