宝塔7.9面板设置伪静态发生错误,wordpress页面打开乱码
如图,伪静态设置页面报错。wordpress页面打开乱码(还不清楚乱码原因是不是伪静态设置原因照成的)
附件上传完成!成功 0 个,失败 1 个:
伪静态出现问题2...: 服务器限制无法上传那么大的附件
这里连个十几kb的文件都不能上传?
出错了,面板运行时发生错误!TypeError: 'bool' object is not subscriptable
REQUEST_DATE: 2023-11-10 10:46:08
PAN_VERSION: 7.9.0
OS_VERSION: Windows Server 2019 Datacenter (build 17763) x64 (Py3.8.6)
REMOTE_ADDR: 175.0.141.24
REQUEST_URI: POST /site?action=SetSiteRewrite
REQUEST_FORM: {'siteName': 'zsff-2.siiyi.net', 'data': ''}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/113.0.0.0 Safari/537.36 Edg/113.0.1774.42
Traceback (most recent call last):
File "E:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
return run_exec().run(toObject, defs, get)
File "E:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
result = eval(fun)
File "", line 1, in
File "E:\BtSoft\panel/class\panelSite.py", line 2402, in SetSiteRewrite
for x in range(len(old_data['rules']['rule']) - 1, -1, -1):
TypeError: 'bool' object is not subscriptable
页:
[1]