Home > Backend Development > PHP Tutorial > thinkphp怎样检测关闭debug模式的错误

thinkphp怎样检测关闭debug模式的错误

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
Release: 2016-06-06 20:37:22
Original
1281 people have browsed it

thinkphp怎样检测关闭debug模式的错误入口文件define('APP_DEBUG',True);这样是没错的
define('APP_DEBUG',false);一旦关闭 就是页面错误,请稍后重试了 怎样检测错在哪儿啊 求大神支招

回复内容:

thinkphp怎样检测关闭debug模式的错误入口文件define('APP_DEBUG',True);这样是没错的
define('APP_DEBUG',false);一旦关闭 就是页面错误,请稍后重试了 怎样检测错在哪儿啊 求大神支招

这段代码记得是放在配置文件中的吧,而不是在入口文件中的。

应该有错误日志的

搜索日志配置

搜索应用日志目录

Related labels:
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
Latest Issues
php data acquisition?
From 1970-01-01 08:00:00
0
0
0
PHP extension intl
From 1970-01-01 08:00:00
0
0
0
How to learn php well
From 1970-01-01 08:00:00
0
0
0
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template