大家好,最近在CentOS 7上架設Open-AudIT 3.3.2版
但在使用Open-AudIT附的腳本回傳電腦的資訊時
Open-AudIT 卻一直都沒有收到
後來去看了log顯示
[Tue Jul 07 10:33:11.066940 2020] [php7:error] [pid 21732] [client
XX.XX.XX.XX:50978] PHP Fatal error: Uncaught Error: Object of class stdClass
could not be converted to string in
/usr/local/open-audit/code_igniter/application/helpers/audit_helper.php:192\nStack
trace:\n#0
/usr/local/open-audit/code_igniter/application/controllers/include_input_devices.php(144):
audit_convert()\n#1
/usr/local/open-audit/code_igniter/application/controllers/input.php(297):
include('/usr/local/open...')\n#2
/usr/local/open-audit/code_igniter/application/controllers/input.php(174):
Input->devices()\n#3
/usr/local/open-audit/code_igniter/system/core/CodeIgniter.php(326):
Input->_remap()\n#4 /var/www/html/open-audit/index.php(332):
require_once('/usr/local/open...')\n#5 {main}\n thrown in
/usr/local/open-audit/code_igniter/application/helpers/audit_helper.php on
line 192
在網路上看了很多資料,卻還是不知道怎麼修改
謝謝大家