为了能快速了解并处理您的问题,请提供以下基础信息:
系统版本:系统:CentOS 7.8.2003 x86_64(Py3.7.8)
问题描述:设置-网站日志,其他设置,网站安全,反向代理,配置文件均报错,修复也不行
AttributeError: 'dict_obj' object has no attribute 'id'
REQUEST_DATE: 2024-03-31 03:01:35 VERSION: CentOS 7.8.2003 x86_64(Py3.7.8) - 8.0.62 REMOTE_ADDR: 42.48.132.4 REQUEST_URI: POST /config?action=get_php_session_pathREQUEST_FORM: {'s_type': '1'} USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/123.0.0.0 Safari/537.36Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 2416, in publicObject res = run_obj.run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 2363, in run result = getattr(toObject, get.action)(get) File "class/config.py", line 1973, in get_php_session_path site_info = public.M('sites').where('id=?', (get.id,)).field('name,path').find()AttributeError: 'dict_obj' object has no attribute 'id'
|
|