出错了,面板运行时发生错误!
AttributeError: 'dict_obj' object has no attribute 'sid'
REQUEST_DATE: 2024-04-08 15:54:23
VERSION: CentOS 7.9.2009 x86_64(Py3.7.9) - 8.0.6
REMOTE_ADDR: 192.168.1.1
REQUEST_URI: POST /site?action=AddSite
REQUEST_FORM: {'path': '/home/wangzhan/wp.aipao.top', 'ftp': 'false', 'type': 'PHP', 'type_id': '0', 'ps': 'wp.aipao.top', 'port': '80', 'version': '73', 'need_index': '0', 'need_404': '0', 'sql': 'MySQL', 'codeing': 'utf8mb4', 'webname': '{"domain":"wp.aipao.top","domainlist":[],"count":0}', 'datauser': 'wp_aipao_top', 'datapassword': 'Z56zziDXcdES'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2422, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2369, in run
result = getattr(toObject, get.action)(get)
File "/www/server/panel/class/panelSite.py", line 808, in AddSite
result = database.database().AddDatabase(get)
File "/www/server/panel/class/database.py", line 690, in AddDatabase
sid=get.sid
AttributeError: 'dict_obj' object has no attribute 'sid' |