Please select To the mobile version | Continue to access the desktop computer version
| |
| | |

CodersClub

 Forgot password?
 Register
Search
View: 47|Reply: 2
Collapse the left

[Suggestion] 建议让运行出错信息不显示绝对路径

[Copy link]
Post time: 2018-7-6 11:02
| Show all posts |Read mode
本帖最后由 AlanJia2017 于 2018-7-6 11:10 编辑

看到别人的网站运行出错不会显示绝对路径,而我的网站只显示了完整的安装路径信息。

这个提示页面是否可以修改或者屏蔽呢?
我在官方论坛看到这样一条关于这个问题的帖子:
http://www.discuz.net/thread-512152-1-1.html

个人觉得应该可以有个配置或者对外屏蔽掉这个运行出错信息的页面。只写入错误日志里面就行了。
errorlog.php

看了下,这个页面似乎是在这个php文件里面控制显示的。
  1. source\class\discuz\discuz_error.php
Copy the Code

This post contains more resources

You have to Login for download or view attachment(s). No Account? Register

x

 Russia

Post time: 2018-7-13 20:09
| Show all posts
Try this:
admin.php -> Admins -> Database -> Run query
Enter the SQL query:
repair table pre_security_failedlog

then press [Submit]

 Russia

Post time: 2018-7-13 22:06
| Show all posts
I have understood!
Plugin "security" does not work anymore!!
Just remove it!
And all the obsolete cloud plugins too!
Use the script "clearcloud.php" from the /utility/ folder.


You have to log in before you can reply Login | Register

Points Rules

Archive|Mobile|Dark room|CodersClub  

2018-7-16 09:29 GMT+3 , Processed in 0.086527 sec., 9 queries .

Powered by Discuz! X3.4

Release 20170801, © 2001-2018 Comsenz Inc.

MultiLingual version, Rev. 710, © 2009-2018 codersclub.org

Quick Reply To Top Return to the list