How to debug the controller that cannot be loaded in ThinkPHP? ?
How to debug the controller that cannot be loaded in ThinkPHP? ?
Test with breakpoints to see where it loads. I personally feel that there is something wrong with your tp configuration?
1. Whether the namespace of the controller is correct
2. The version of the framework
3. Screenshot of the error message
4. How to write the controller code
Check whether the address is wrong and then test with breakpoints. Furthermore, you can take a look at the error message or upload a screenshot for us to help you take a look
Specify what error was reported! The tp framework has rules for class and file naming