Recently, ThinkPHP was used in the project and I had to admire its strength. Today I found a problem. If a syntax error occurs in the PHP code section, the page with the output of the $ this-display () template is displayed, there will be a 330 error. The browser prompts the following: Baidu, Google, and all the places that can be searched have been searched. No one has mentioned it. Later I thought about whether it is an environmental problem.
Recently, ThinkPHP was used in the project and I had to admire its strength. Today I found a problem. If a syntax error occurs in the PHP code section, the page with the output of the $ this-display () template is displayed, there will be a 330 error. The browser prompts the following: Baidu, Google, and all the places that can be searched have been searched. No one has mentioned it. Later I thought about whether it is an environmental problem.
Recently, ThinkPHP was used in the project, so I had to admire its strength. Today I found a problem. If a syntax error occurs in the PHP code section, it will take $ this-> display () when the page is output by the template, error 330 is displayed. the browser prompts the following:
Later Baidu and Google searched all the places where they could be searched. No one mentioned it. Later, they thought about whether it was an environmental problem, because the 330 error is generally not supported encoding, but ThinkPHP are unified encoding, their encoder is also unified UTF-8, after a few degrees of depression found 3.0 default opened "Web page compression output ":
In the configuration file, if it is set to false, everything will be OK! ^_^ ..
Original article address: ThinkPHP3 error 330 with "Page not displayed". Thank you for sharing it.