false" to "true" to display the error message."/> false" to "true" to display the error message.">
search
HomeCommon ProblemWhat should I do if thinkphp does not prompt an error message?

Solution to thinkphp not prompting error message: 1. Open the "app.php" file in the config folder; 2. Change the "false" of "'show_error_msg'=>false" to "true" ” will display the error message.

What should I do if thinkphp does not prompt an error message?

The operating environment of this tutorial: Windows 7 system, ThinkPHP version 6.0, Dell G3 computer.

What should I do if thinkphp does not prompt an error message?

ThinkPHP6.0 turns on debugging mode and displays error messages

(1) Displays error messages

Open the app in the config folder .php file, change 'show_error_msg'=>false,' false to true. At this point, an error message may be displayed.

What should I do if thinkphp does not prompt an error message?

(2) Turn on the debugging mode

It can be done in one step, modify the .example.env environment variable sample file in the project root path to .env . APP_DEBUG is true by default.

What should I do if thinkphp does not prompt an error message?

# Remember: Turn off debug before the project goes online, otherwise server information may be leaked. Just change true to false.

Recommended learning: "thinkPHP Video Tutorial"

The above is the detailed content of What should I do if thinkphp does not prompt an error message?. For more information, please follow other related articles on the PHP Chinese website!

Statement
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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

AI Hentai Generator

AI Hentai Generator

Generate AI Hentai for free.

Hot Tools

MinGW - Minimalist GNU for Windows

MinGW - Minimalist GNU for Windows

This project is in the process of being migrated to osdn.net/projects/mingw, you can continue to follow us there. MinGW: A native Windows port of the GNU Compiler Collection (GCC), freely distributable import libraries and header files for building native Windows applications; includes extensions to the MSVC runtime to support C99 functionality. All MinGW software can run on 64-bit Windows platforms.

PhpStorm Mac version

PhpStorm Mac version

The latest (2018.2.1) professional PHP integrated development tool

DVWA

DVWA

Damn Vulnerable Web App (DVWA) is a PHP/MySQL web application that is very vulnerable. Its main goals are to be an aid for security professionals to test their skills and tools in a legal environment, to help web developers better understand the process of securing web applications, and to help teachers/students teach/learn in a classroom environment Web application security. The goal of DVWA is to practice some of the most common web vulnerabilities through a simple and straightforward interface, with varying degrees of difficulty. Please note that this software

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft