宝塔用户_ltdbci 发表于 2023-12-27 02:45:54

win上的redis,宝塔是装在C盘的

为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:最 新版
系统版本:win2016
问题描述:点击redis错误
相关截图(日志、错误):REQUEST_DATE: 2023-12-27 02:42:35
PAN_VERSION: 7.9.0
OS_VERSION: Windows Server 2012 R2 Datacenter (build 9600) x64 (Py3.8.6)
REMOTE_ADDR: 121.207.133.105
REQUEST_URI: POST /database/redis/get_db_keylist?
REQUEST_FORM: {'data': '{"db_type":0,"db_idx":12,"limit":20}'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/118.0.0.0 Safari/537.36 Edg/118.0.2088.46
Traceback (most recent call last):
File "C:\BtSoft\panel\BTPanel\__init__.py", line 1581, in publicObject
    return run_exec().run(toObject, defs, get)
File "C:\BtSoft\panel\BTPanel\__init__.py", line 1813, in run
    result = eval(fun)
File "", line 1, in
File "C:\BtSoft\panel/class\panelDatabaseController.py", line 79, in model
    result = run_object(pdata)
File "C:\BtSoft\panel/class/databaseModel/redisModel.py", line 291, in get_db_keylist
    item['val'] = public.xsssec(item['val'])
File "C:\BtSoft\panel/class\public.py", line 3970, in xsssec
    return text.replace('&', '&').replace('"', '"').replace('<', '<').replace('>', '>')
AttributeError: 'dict' object has no attribute 'replace'
页: [1]
查看完整版本: win上的redis,宝塔是装在C盘的