Zabbix Web页面DashBoard 无法显示,求助!!!!!

PHP前端页面二次发或优化

版主: malajiding

回复
duping225
初学乍练
初学乍练
Articles: 0
帖子: 1
注册时间: 2021年 8月 21日 10:15 星期六

Zabbix Web页面DashBoard 无法显示,求助!!!!!

帖子 duping225 »

求助
php7.4.14        添加Oracle OCI扩展源码编译
zabbix 5.4.3     基于Oracle数据库源码编译
Centos 7.9

当编译完成后启动一切正常,但是在登录web页面后出现dashboard无法显示和主机列表中某台主机图形选项后,持续在加载的情况 页面错误可查看附件
编译PHP make 期间会出现一些Warning,未出现Error错误,且make正常结束。
 /zabbix_soft/zabbix/php7.4/php-7.4.14/ext/oci8/oci8.c -o ext/oci8/oci8.lo 
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/oci8/oci8.c: In function ‘php_oci_do_connect_ex’:
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/oci8/oci8.c:1925:14: warning: ‘le’ may be used uninitialized in this function [-Wmaybe-uninitialized]
      le->ptr = NULL;
              ^

/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/xmlwriter/php_xmlwriter.c -o ext/xmlwriter/php_xmlwriter.lo 
/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/zip/php_zip.c -o ext/zip/php_zip.lo 
In file included from /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend.h:27:0,
                 from /home/zabbix_soft/zabbix/php7.4/php-7.4.14/main/php.h:33,
                 from /home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/zip/php_zip.c:24:
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/zip/php_zip.c: In function ‘php_zip_extract_file.isra.8’:
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_types.h:1041:2: warning: ‘file_basename’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  return --(p->refcount);
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/zip/php_zip.c:152:15: note: ‘file_basename’ was declared here
  zend_string *file_basename;
               ^/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/zip/zip_stream.c -o ext/zip/zip_stream.lo 

sing -DZEND_SIGNALS   -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_default_classes.c -o Zend/zend_default_classes.lo 
sing -DZEND_SIGNALS   -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_inheritance.c -o Zend/zend_inheritance.lo 
sing -DZEND_SIGNALS   -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_smart_str.c -o Zend/zend_smart_str.lo 
sing -DZEND_SIGNALS   -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_cpuinfo.c -o Zend/zend_cpuinfo.lo 
END_SIGNALS   -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_execute.c -o Zend/zend_execute.lo 
In file included from /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend.h:27:0,
                 from /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_execute.c:26:
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_execute.c: In function ‘zend_fetch_static_property_address_ex’:
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_types.h:524:38: warning: ‘tmp_name’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 #define GC_FLAGS(p)     zval_gc_flags(GC_TYPE_INFO(p))
                                      ^
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_execute.c:2983:22: note: ‘tmp_name’ was declared here
  zend_string *name, *tmp_name;
                      ^
In file included from /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend.h:36:0,
                 from /home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_execute.c:26:
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_variables.h:32:57: warning: ‘free_op1’ may be used uninitialized in this function [-Wmaybe-uninitialized]
 static zend_always_inline void zval_ptr_dtor_nogc(zval *zval_ptr)
                                                         ^
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_execute.c:2982:15: note: ‘free_op1’ was declared here
  zend_free_op free_op1;
               ^
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_execute.c: In function ‘zend_verify_ref_assignable_zval’:
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/Zend/zend_execute.c:3215:42: warning: ‘seen_type’ may be used uninitialized in this function [-Wmaybe-uninitialized]
   } else if (needs_coercion && seen_type != ZEND_TYPE_CODE(prop->type)) {
                                          ^
.lo 
_apache2.lo 
che_config.lo 
_functions.lo 
END_SIGNALS   -c main/internal_functions.c -o main/internal_functions.lo 
 -lcrypt -lrt -lrt -lm -ldl -lxml2 -lssl -lcrypto -lsqlite3 -lz -lcurl -lxml2 -lssl -lcrypto -lz -lpng15 -ljpeg -lfreetype -lonig -lclntsh -lsqlite3 -lxml2 -lxml2 -lcrypt -lxml2 -lxml2 -lxml2 -lxml2 -lzip -lz -lz -lssl -lcrypto -lcrypt  -o libphp7.la
ity=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS    -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/pdo_oci/pdo_oci.c -o ext/pdo_oci/pdo_oci.lo 
ity=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS    -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/pdo_oci/oci_driver.c -o ext/pdo_oci/oci_driver.lo 
ity=hidden -Wall -Wno-strict-aliasing -DZEND_SIGNALS    -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/pdo_oci/oci_statement.c -o ext/pdo_oci/oci_statement.lo 
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/pdo_oci/oci_statement.c:719:2: warning: initialization from incompatible pointer type [enabled by default]
  oci_blob_read,
  ^
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/pdo_oci/oci_statement.c:719:2: warning: (near initialization for ‘oci_blob_stream_ops.read’) [enabled by default]
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/pdo_oci/oci_statement.c: In function ‘oci_stmt_fetch’:
/home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/pdo_oci/oci_statement.c:464:6: warning: ‘ociori’ may be used uninitialized in this function [-Wmaybe-uninitialized]
  ub4 ociori;
      ^
19.9/client64/lib -lclntsh
/bin/sh /home/zabbix_soft/zabbix/php7.4/php-7.4.14/libtool --silent --preserve-dup-deps --mode=install cp ext/pdo_oci/pdo_oci.la /home/zabbix_soft/zabbix/php7.4/php-7.4.14/modules
t-aliasing -DZEND_SIGNALS    -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/opcache/ZendAccelerator.c -o ext/opcache/ZendAccelerator.lo 
t-aliasing -DZEND_SIGNALS    -c /home/zabbix_soft/zabbix/php7.4/php-7.4.14/ext/opcache/zend_accelerator_blacklist.c -o ext/opcache/zend_accelerator_blacklist.lo 
 
 

您没有权限查看这个主题的附件。
回复