04-04-2020, 09:45 AM
Hello, I'm new at CI4, but I used CI3.
I wanted to work with modules at CI4. A tutorial on Youtube helped to set everything necessary. The problem now is that the methods and variables are not recognized by the controller.
This message always comes:
Controller or its method is not found: App\Controllers\Users:
how
Users is a controller in the Users module and show is the method. The URL is http://ocanext:8888/users/show/2
If I create a controller under App/Controllers, everything works without problems.
Where is the mistake?
I wanted to work with modules at CI4. A tutorial on Youtube helped to set everything necessary. The problem now is that the methods and variables are not recognized by the controller.
This message always comes:
Controller or its method is not found: App\Controllers\Users:

Users is a controller in the Users module and show is the method. The URL is http://ocanext:8888/users/show/2
If I create a controller under App/Controllers, everything works without problems.
Where is the mistake?