سؤال

Hey i'm new to CI and i guess i'm missing some fundemental understanding of CI and MVC in general.

I've copied all the Ion Auth files to their places, created all tables, created encryption key.

but when i tried to enter any view i get a 404.

Am i suppoused to write anything in my routes file? why could this be?

هل كانت مفيدة؟

المحلول

The problem was i had this code in routes.php :

$route['(:any)'] = 'pages/view/$1';

Which of course means any call is being sent there, which dosen't exist.

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top