Ci4 Routing Issue |
Hey Guys,
im still new to CodeIgniter... I finally got it working on my live server (.htdocs, seperating folders etc.) with a VueJs frontend. Now, currently im able to access the "user/login" route with which I authenticate the user credentials and return a a bearer token, which is working quite fine. But if i try to add a new controller function, like, getUsers or getUser/testUser, or anything else, i always get the error code 500: Undefined property: App\\Controllers\\User::$load Following are the User Controller and the Routes.php config: PHP Code: <?php namespace App\Controllers; Here are the Routes: PHP Code: $routes->setDefaultNamespace('App\Controllers');
What is property $load?
Simple CI 4 project for beginners codeigniter-expenses
Don' use get use the http verbs
What did you Try? What did you Get? What did you Expect?
Joined CodeIgniter Community 2009. ( Skype: insitfx )
|
Welcome Guest, Not a member yet? Register Sign In |