Welcome Guest, Not a member yet? Register   Sign In
Route problem
#1

(This post was last modified: 11-15-2021, 12:51 PM by pippuccio76.)

hi , this is a row of my Route:

$routes->add('admin/', 'Admin::index');

why  if i open this link :
http://localhost:8080/admin/
have i a 404 ?

https://imgur.com/OYFNzJ5.png
Reply
#2

none of my routes have that trailing forward slash 'admin/' unless :

Code:
$routes->get('productCat/(:segment)','Product::getCategory/$1');


it i guess could also be that if index method of Class Admin calls a view which doesn't exist ?
CMS CI4     I use Arch Linux by the way 

Reply




Theme © iAndrew 2016 - Forum software by © MyBB