REQUEST_DATE: 2022-06-24 17:09:38
PAN_VERSION: 6.8.25
OS_VERSION: Debian GNU/Linux 10 x86_64(Py3.7.9)
REMOTE_ADDR: 84.17.46.3
REQUEST_URI: POST /config?action=SetPHPConf
REQUEST_FORM: {'short_open_tag': 'On', 'max_execution_time': '300', 'max_input_time': '60', 'memory_limit': '1024M', 'post_max_size': '300M', 'file_uploads': 'On', 'upload_max_filesize': '300M', 'max_file_uploads': '300', 'default_socket_timeout': '60', 'error_reporting': 'E_ALL & ~E_NOTICE & ~E_DEPRECATED', 'display_errors': 'On', 'cgi.fix_pathinfo': '1', 'date.timezone': 'Europe/Moscow', 'btn_fresh': '', 'btn_save': '', 'version': '74'}
USER_AGENT: Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/102.0.0.0 Safari/537.36
Traceback (most recent call last):
File "/www/server/panel/BTPanel/__init__.py", line 1687, in publicObject
return run_exec().run(toObject, defs, get)
File "/www/server/panel/BTPanel/__init__.py", line 1635, in run
result = getattr(toObject,get.action)(get)
File "class/config.py", line 963, in SetPHPConf
filename = '/www/server/php/' + get.version + '/etc/php.ini'
AttributeError: 'dict_obj' object has no attribute 'version'
@aaPanel_Kern How to solve the problem?