Home > php教程 > php手册 > 解决ThinkPHP开启APP_DEBUG=>false时报错的问题,thinkphpapp_debug

解决ThinkPHP开启APP_DEBUG=>false时报错的问题,thinkphpapp_debug

WBOY
Release: 2016-06-13 09:06:21
Original
808 people have browsed it

解决ThinkPHP开启APP_DEBUG=>false时报错的问题,thinkphpapp_debug

  最近用ThinkPHP开发一个项目,本地开发测试完成上传到服务器后,第一次打开正常,再刷新页面时就出现 “页面调试错误,无法找开页面,请重试”的错误,我就郁闷啦,明明本地设置define('APP_DEBUG', false) 运行没点问题,怎么放到服务器上就出错了昵?baidu,Google还是没有找到解决方案,突然发现项目APP_Name/Runtime/Cache目录和APP_Name/Runtime/Logs目录没有可写权限,果断更改,F5,唉好啦,妈妈再也不用担心出现错误信息啦!

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 Recommendations
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template