ThinkPHP3 error 330 with "Page not displayed" solved

Source: Internet
Author: User
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.

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.