<div> <h3>出错了,[redis]运行时发生错误!</h3>
<div style="margin-bottom: 15px;margin-top: 15px;color: red;">
<h4 style="font-size: none;">TypeError: expected string or bytes-like object</h4>
</div>
<pre style="height:165px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px">REQUEST_DATE: 2024-06-27 13:40:33
PAN_VERSION: 8.2.0
OS_VERSION: CentOS 7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 221.3.56.90
REQUEST_URI: POST /plugin%3Faction%3Da%26name%3Dredis%26s%3DSetRedisConf
REQUEST_FORM: {'bind': '127.0.0.1', 'port': '6379', 'timeout': '0', 'maxclients': '10000', 'databases': '16', 'requirepass': 'buliang677', 'maxmemory': '0'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/125.0.0.0 Safari/537.36</pre>
<pre style="height:379px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px">Traceback (most recent call last):
File "class/panelPlugin.py", line 3727, in a
return p.exec_fun(get)
File "class/pluginAuth.py", line 67, in exec_fun
raise public.PanelError(res['msg'])
public.PanelError: 面板运行时发生错误: Traceback (most recent call last):
File "/www/server/panel/plugin/redis/redis_main.py", line 115, in SetRedisConf
self.update_all_php_configs_for_redis(get)
File "/www/server/panel/plugin/redis/redis_main.py", line 130, in update_all_php_configs_for_redis
php_config=config.GetSessionConf(get)
File "class/config.py", line 1400, in GetSessionConf
save_handler = re.search(rep, phpini)
File "/www/server/panel/pyenv/lib/python3.7/re.py", line 185, in search
return _compile(pattern, flags).search(string)
TypeError: expected string or bytes-like object</pre>
<ul class="help-info-text">
<li style="list-style: none;"><b>很抱歉,您在访问[redis]插件时,意外发生错误,请尝试按以下顺序尝试解除此错误:</b></li>
<li style="list-style: none;">1、在[首页]右上角点击修复面板,并退出面板重新登录。</li>
<li style="list-style: none;">2、若此插件不是最新版,尝试更新到最新版,若已是最新版,请尝试重装此插件,若为测试版,请尝试切换为正式版</li>
<li style="list-style: none;">3、若此插件为第三方插件,请在插件窗口中找到插件作者联系方式,尝试联系作者寻求帮助</li>
<li style="list-style: none;">4、如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:<a class="btlink" href="https://www.bt.cn/bbs" target="_blank">https://www.bt.cn/bbs</a></li>
</ul>
</div>
|
|