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

WBOY
Release: 2016-07-13 09:56:29
Original
1059 people have browsed it

To solve the problem of ThinkPHP reporting an error when opening APP_DEBUG=>false, thinkphpapp_debug

I recently developed a project with ThinkPHP. After the local development and testing was completed and uploaded to the server, the first It opened normally for the first time, but when I refreshed the page, the error "Page debugging error, the page cannot be found, please try again " appeared. I was depressed, because the local setting define('APP_DEBUG', false) was running There's no problem, but why did 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!

www.bkjia.comtruehttp: //www.bkjia.com/PHPjc/987571.htmlTechArticleSolved the problem of ThinkPHP reporting an error when opening APP_DEBUG=false, thinkphpapp_debug Recently developed a project with ThinkPHP, and the local development test was uploaded After arriving at the server, it opened normally for the first time...
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!