1
A
回答
0
在撰写本文时,10月安装时关闭了调试模式。您应该在生产中启用它。打开PHP文件config/app.php
并将调试值更新为false
。
/*
|--------------------------------------------------------------------------
| Application Debug Mode
|--------------------------------------------------------------------------
|
| When your application is in debug mode, detailed error messages with
| stack traces will be shown on every error that occurs within your
| application. If disabled, a simple generic error page is shown.
|
| You can create a CMS page with route "/error" to set the contents
| of this page. Otherwise a default error page is shown.
|
*/
'debug' => true,
这会将错误转换为通用并且由文档推荐。
http://octobercms.com/docs/setup/configuration#debug-mode
重要:在
app.debug
设置始终设置为false
用于生产环境。
+0
第二句:你应该**在生产中禁用**。或者你应该在开发时启用**。 – Ametad
相关问题
- 1. 十月CMS后端模型
- 2. 十月CMS后端查看分页
- 3. MAC登录终端错误
- 4. 添加一个图标通过后端十月CMS
- 5. 异常在十月缩小打开CMS
- 6. 十月CMS - 带上传文件的API
- 7. 十月CMS - 如何正确路由
- 8. 十月CMS |与翻译的消息
- 9. Raspberry Pi登录错误 - 登录错误
- 10. 在Django marcador教程中设置前端登录的错误
- 11. TYPO3前端登录总是返回错误的用户/密码
- 12. 十月cms“SQLSTATE [HY000]:一般错误:1364字段没有默认值
- 13. Squirrelmail错误登录错误
- 14. 文件上传不工作前端10月CMS
- 15. Django-CMS - 前端没有包含CMS javascript
- 16. SSRS - 登录错误
- 17. OpenX登录错误
- 18. BCP登录错误
- 19. 登录codeigniter错误
- 20. Pygooglevoice登录错误
- 21. TYPO3登录错误
- 22. tracd登录错误
- 23. Php登录错误
- 24. MGtwitter登录错误
- 25. DVWA登录错误
- 26. SQL登录错误
- 27. Piranha CMS登录问题
- 28. Django CMS登录页面
- 29. Piranha CMS Manager登录会话
- 30. Django登录错误,无法登录
您是否启用了调试模式? – dragontree