Home > Backend Development > PHP Tutorial > Solve the problem of ThinkPHP reporting an error when opening APP_DEBUG=>false

Solve the problem of ThinkPHP reporting an error when opening APP_DEBUG=>false

WBOY
Release: 2016-08-08 09:25:39
Original
1230 people have browsed it

I recently developed a project using ThinkPHP. After the local development and testing was completed and uploaded to the server, it opened normally for the first time. When I refreshed the page, the error "Page debugging error, the page cannot be found, please try again" appeared. I I'm really depressed. It's clear that the local setting of define('APP_DEBUG', false) works fine, but why does it go wrong when I put it on the server? Baidu, Google still hasn't found a solution, and suddenly found that the project APP_Name/Runtime/Cache directory and APP_Name/Runtime/Logs directory did not have writable permissions, so I changed it decisively, F5, oh well, mom no longer has to worry about error messages!

The above introduces how to solve the problem of error when opening APP_DEBUG=>false in ThinkPHP, including the relevant content. I hope it will be helpful to friends who are interested in PHP tutorials.

Related labels:
source:php.cn
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template