Error one: Low-level error, will n to see m,1
Figure 1
It took me almost 2 hours to get this wrong. Swept the code several times with it, the internet looked better.
Error Two: This is a low-energy high-level error. Effect of specific template display 2
Figure 2
As long as the relative address and absolute address to find the right, but I have set up, it feels like the constant did not take effect, the result is like 2. My constant setting 3
The portal file defines constants and templates to refer to again
Constants are referenced in the template
The problem lies in:
Configuration of my virtual address
It's gone to the go directory, but I set the path more when I set a constant, resulting in a path error. should be as follows
Error three: Almost forgot to write, in which constants are referenced in the template should be written as {$Think. Const. Constant name} I wrote {$ThinkPHP. Const. Constant name}
Thinkphp three mistakes when adding a template