【已完成】求助:出错了,面板运行时发生错误!
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:7.9.0系统版本:WIN2008 R2 64位
问题描述:建立网站后,打开网站目录时,面板报错:AttributeError: 'NoneType' object has no attribute 'groups'
相关截图(日志、错误):
本帖最后由 宝塔用户_beypnj 于 2024-1-15 12:35 编辑
REQUEST_DATE: 2024-01-14 13:50:06
PAN_VERSION: 7.9.0
OS_VERSION: Windows Server 2008 R2 Datacenter (build 7601) x64 (Py3.8.6)
REMOTE_ADDR: 222.140.174.194
REQUEST_URI: POST /site?action=GetDirUserINI
REQUEST_FORM: {'id': '12', 'path': 'd:/wwwroot/'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36 Edg/120.0.0.0
Traceback (most recent call last):
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
return run_exec().run(toObject, defs, get)
File "D:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
result = eval(fun)
File "", line 1, in
File "D:\BtSoft\panel/class\panelSite.py", line 1730, in GetDirUserINI
info = self.get_site_info(get.name)
File "D:\BtSoft\panel/class\panelSite.py", line 2739, in get_site_info
binds = re.search('\s?server_name\s(.+);', conf).groups()
AttributeError: 'NoneType' object has no attribute 'groups' 尝试给网站内的防跨站攻击打开
或者删除重新创建一下 阿珂 发表于 2024-1-15 11:11
尝试给网站内的防跨站攻击打开
或者删除重新创建一下
好,谢谢.我直接把系统重装了.....:'(我自己都不知道怎么折腾的,后来自己好了
页:
[1]