本帖最后由 宝塔用户_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()[0]
AttributeError: 'NoneType' object has no attribute 'groups' |