在安装php的时候 提示:[url=]ValueError: invalid literal for int() with base 10: 'NaN'[/url]
[url=]请问这个应该怎么处理[/url]
REQUEST_DATE: 2022-12-24 20:38:05 PAN_VERSION: 7.9.71
OS_VERSION: \S x86_64(Py3.7.8)
REMOTE_ADDR: 113.88.115.171
REQUEST_URI: POST /plugin?action=install_plugin
REQUEST_FORM: {'sName': 'php-5.6', 'version': '5.6', 'min_version': '40', 'type': 'NaN'}
USER_AGENT: Mozilla/5.0 (Windows NT 6.1; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/86.0.4240.198 Safari/537.36
Traceback (most recent call last): File "/www/server/panel/BTPanel/__init__.py", line 1841, in publicObject return run_exec().run(toObject, defs, get) File "/www/server/panel/BTPanel/__init__.py", line 1793, in run result = getattr(toObject,get.action)(get) File "class/panelPlugin.py", line 802, in install_plugin if int(get.type) > 4: get.type = '0'ValueError: invalid literal for int() with base 10: 'NaN'
|
|