【已完成】新装宝塔,没有任何操作,无法保存域名
为了能快速了解并处理您的问题,请提供以下基础信息:面板、插件版本:8.0.4
系统版本:
centos 7.9
问题描述:
新装宝塔,没有任何操作,无法保存域名
相关截图(日志、错误):
<div>
<h3>出错了,面板运行时发生错误!</h3>
<div style="margin-bottom: 15px;margin-top: 15px;color: red;">
<h4 style="font-size: none;">AttributeError: 'dict_obj' object has no attribute 'address'</h4>
</div>
<pre style="height:112px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 10px">REQUEST_DATE: 2023-12-16 12:05:28
PAN_VERSION: 8.0.4
OS_VERSION: CentOS7.9.2009 x86_64(Py3.7.9)
REMOTE_ADDR: 183.192.102.214
REQUEST_URI: POST /config?action=setPanel
REQUEST_FORM: {'domain': 'bt.cvpv.top'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/120.0.0.0 Safari/537.36</pre>
<pre style="height:370px;word-wrap: break-word;white-space: pre-wrap;margin: 0 0 0px">Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 2106, in publicObject
res = run_obj.run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 2053, in run
result = getattr(toObject, get.action)(get)
File "class/config.py", line 503, in setPanel
if get.address:
AttributeError: 'dict_obj' object has no attribute 'address'</pre>
<ul className="help-info-text err_project_ul" style="display:inline-block">
<li style="list-style: none;"><b>很抱歉,面板运行时意外发生错误,请尝试按以下顺序尝试解除此错误:</b></li>
<li style="list-style: none;">修复方案一:在[首页]右上角点击修复面板,并退出面板重新登录。</li>
<li style="list-style: none;">修复方案二:如上述尝试未能解除此错误,请截图此窗口到宝塔论坛发贴寻求帮助, 论坛地址:<a className="btlink" href="https://www.bt.cn/bbs" target="_blank">https://www.bt.cn/bbs</a>
</li>
<li className="consult_project" style="list-style: none;display: none;">修复方案三(<span style="color:#ff7300">推荐</span>):使用微信扫描右侧二维码,联系技术客服。</li>
</ul>
<div style="position: relative;margin-top: 20px;margin-right: 40px;text-align: center;font-size: 12px;display: none;" className="pull-right consult_project"><span id="err_kefu_img" style="padding: 5px;border: 1px solid #20a53a;display: inline-block;height: 113px;"></span><i className="wechatEnterprise" style="position: absolute;top: 44px;left: 44px;"></i>
<div>【微信客服】</div>
</div>
</div>
刚又试了试,发现成功了。不知道原理。 请求路线,请求节点 那几项如果点设置进去之后一直没刷新出来就说明页面没加载完全,你需要重新刷新直到加载出来才行,不然你在页面上的任何操作都无效
页:
[1]