系统信息数据显示出错

- 4 年 前

安装插件后,系统信息出现以下错误,不知道是什么原因,没能识别出服务器数据,Opcache及Memcached的数据可以出来
系统 Linux
配置
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/cpuinfo) is not within the allowed path(s): (/www/wwwroot/www.域名.com/:/tmp/) in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 85

Warning: file_get_contents(/proc/cpuinfo): failed to open stream: Operation not permitted in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 85

Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/meminfo) is not within the allowed path(s): (/www/wwwroot/www.域名.com/:/tmp/) in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 89

Warning: file_get_contents(/proc/meminfo): failed to open stream: Operation not permitted in /www/wwwroot/www.xieyinwang.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 89
1核CPU / 0G内存
运行时间
Warning: file_get_contents(): open_basedir restriction in effect. File(/proc/uptime) is not within the allowed path(s): (/www/wwwroot/www.域名.com/:/tmp/) in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 107

Warning: file_get_contents(/proc/uptime): failed to open stream: Operation not permitted in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 107

Warning: A non-numeric value encountered in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 109
1秒
空闲率
Warning: A non-numeric value encountered in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 114

Warning: Division by zero in /www/wwwroot/www.域名.com/wp-content/plugins/wpjam-basic/admin/pages/server-status.php on line 114
NAN%

2条回复

- 4 年 前

有兄弟提到是服务器根目录有个user的配置文件,但我在这边是没有的,不知道怎么办了现在

- 4 年 前

已经完美解决了,关闭防跨站攻击的选项就可以了

我要回复

暂时不支持网页回复,请安装