- REQUEST_DATE: 2022-06-13 13:16:17
- PAN_VERSION: 7.6.0
- OS_VERSION: Windows Server 2008 R2 Enterprise (build 7601) x64 (Py3.8.6)
- REMOTE_ADDR: 127.0.0.1
- REQUEST_URI: POST /site?action=AddSite
- REQUEST_FORM: {'webname': '{"domain":"xxxx","domainlist":[],"count":0}', 'ps': 'xxxxxx', 'path': 'xxxxx', 'ftp': 'false', 'sql': 'false', 'codeing': 'utf8', 'type': 'PHP', 'version': '55', 'type_id': '0', 'port': '80', 'check_dir': '1'}
- USER_AGENT: Mozilla/5.0 (Windows NT 6.1; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.5005.115 Safari/537.36
- Traceback (most recent call last):
- File "D:\BtSoft\panel\BTPanel\__init__.py", line 1507, in publicObject
- return run_exec().run(toObject, defs, get)
- File "D:\BtSoft\panel\BTPanel\__init__.py", line 1703, in run
- result = eval(fun)
- File "", line 1, in
- File "D:\BtSoft\panel/class\panelSite.py", line 135, in AddSite
- result = self.iisAdd(siteObj)
- File "D:\BtSoft\panel/class\panelSite.py", line 703, in iisAdd
- rRet = files.files().SetFileAccess(get)
- File "D:\BtSoft\panel/class\files.py", line 1243, in SetFileAccess
- for new_path in list: self.set_file_access(new_path,get.user,access)
- File "D:\BtSoft\panel/class\files.py", line 1279, in set_file_access
- sd = win32security.GetFileSecurity(filename, win32security.DACL_SECURITY_INFORMATION)
- pywintypes.error: (2, 'GetFileSecurity', '系统找不到指定的文件。')
复制代码 之前用的是api进行的网站插入,然后插入到107个网站的时候,返回null然后使用手动添加站点,就提示上面的错误。
也进行了修复,还是同样的错误
|
|