Home > Backend Development > PHP Tutorial > How to debug the controller that cannot be loaded in ThinkPHP? ?

How to debug the controller that cannot be loaded in ThinkPHP? ?

WBOY
Release: 2023-03-02 11:18:01
Original
1141 people have browsed it

How to debug the controller that cannot be loaded in ThinkPHP? ?

Reply content:

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

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template