当前位置:论坛首页 > Linux面板 > 讨论

【已完成】出错了,面板运行时发生错误!

发表在 Linux面板2023-12-9 22:01 [复制链接] 1 1083

REQUEST_DATE: 2023-12-09 21:45:52
PAN_VERSION: 8.0.45
  OS_VERSION: CentOS  7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 123.180.196.144
REQUEST_URI: POST /site?action=AddSite
REQUEST_FORM: {'webname': '{"domain":"x62.cn","domainlist":[],"count":0}', 'type': 'PHP', 'port': '80', 'ps': 'x62.cn', 'path': '/www/wwwroot/x62.cn', 'type_id': '1', 'version': '80', 'ftp': 'false', 'sql': 'false', 'codeing': 'utf8mb4', 'need_index': '0', 'need_404': '0'}
  USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/119.0.0.0 Safari/537.36
Traceback (most recent call last):
  File "/www/server/panel/BTPanel/__init__.py", line 2276, in publicObject
    res = run_obj.run(toObject, defs, get)
  File "/www/server/panel/BTPanel/__init__.py", line 2223, in run
    result = getattr(toObject, get.action)(get)
  File "/www/server/panel/class/panelSite.py", line 672, in AddSite
    result = self.nginxAdd()
  File "/www/server/panel/class/panelSite.py", line 232, in nginxAdd
    with open('/www/server/panel/class/404_settings.json', 'r') as f:
FileNotFoundError: [Errno 2] No such file or directory: '/www/server/panel/class/404_settings.json'


使用道具 举报 只看该作者 回复
发表于 2023-12-11 10:52:10 | 显示全部楼层
缺少这个文件/www/server/panel/class/404_settings.json
手动创建一下,文件内容:
  1. {"status": "0"}
复制代码
使用道具 举报 回复 支持 反对
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

普通问题处理

论坛响应时间:72小时

问题处理方式:排队(仅解答)

工作时间:白班:9:00 - 18:00

紧急问题处理

论坛响应时间:10分钟

问题处理方式:1对1处理(优先)

工作时间:白班:9:00 - 18:00

工作时间:晚班:18:00 - 24:00

立即付费处理

工作时间:09:00至24:00

快速回复 返回顶部 返回列表