( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.10284085232require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10334114224include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10334114224get_header( $name = ???, $args = ??? ).../single.php:10
60.10334114440locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10334114536load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10334115080require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10354122488wp_head( ).../header.php:18
100.10354122488do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10354122704WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10354122704WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10374126120wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10374126120do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10374126336WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10374126336WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10384128224twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.10404129744wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.10404129744WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.10404129744WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.10404129744_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.10404130064wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.10404136448trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

( ! ) Deprecated: Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers. in /var/www/html/wp-includes/functions.php on line 6131
Call Stack
#TimeMemoryFunctionLocation
10.0000484048{main}( ).../index.php:0
20.0000484400require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.10284085232require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.10334114224include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.10334114224get_header( $name = ???, $args = ??? ).../single.php:10
60.10334114440locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.10334114536load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.10334115080require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.10354122488wp_head( ).../header.php:18
100.10354122488do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.10354122704WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.10354122704WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.10374126120wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.10374126120do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.10374126336WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.10374126336WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.10384128224twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.13054137552wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.13054137552WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.13054137552WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.13054137552_deprecated_argument( $function_name = 'WP_Dependencies->add_data()', $version = '6.9.0', $message = 'IE conditional comments are ignored by all supported browsers.' ).../class-wp-dependencies.php:317
220.13064137872wp_trigger_error( $function_name = '', $message = 'Function WP_Dependencies->add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:5925
230.13064138096trigger_error( $message = 'Function WP_Dependencies-&gt;add_data() was called with an argument that is <strong>deprecated</strong> since version 6.9.0! IE conditional comments are ignored by all supported browsers.', $error_level = 16384 ).../functions.php:6131

在AS4下安裝/升級MySql5問題.

 安裝MySQL 5出錯
1. 既便安裝RHEL時没有選擇安裝MySQL,在安裝MySQL5時也會出錯,説與MySQL4衝突

2. 實際上RHEL安裝了一些MySQL相關的DBD、OBDC、PHP-MySQL等

3.1.2 卸載MySQL4

1. 使用“rpm -qa | grep mysql”查看MySQL4及其相關的安裝軟件

2. 逐個使用rpm –e ––nodeps 强制卸載MySQL4

3.1.3 安裝MySQL5

使用rpm –ivh正常安裝即可。

3.1.4 MySQL5無法啓動

是因為SELinux(安全Linux)使能了,導致MySQL5没有訪問權限。

關閉SELinux或配置相應的目録權限即可。

3.1.5 遠程訪問MySQL

不管用何種方式(用自己寫的程序和MySQL Query Browser),都無法連接mysql數據庫,提示如下:

Could not connect to the specified instance.

Mysql error number 1130

#HY000Host ‘hostname’ is not allowed to connect to this MySQL server

權限問題,打開mysql數據庫中的user表,把你用來連接數據庫的用户所在那條記録的host字段改成%就行了。

%表示可重任何地方連接到mysql服務器,LOCALHOST表示只能在mysql所在服務器進行連接。在用户授權時是可能限定ip地址或地址段進行連接的。

你可以查閲mysql用户授權相關資料,另外當用户授權項發生變化時請更新授權表,否則不會生效。

3.2 如何重啓MySQL

#service mysql restart

3.3 停止與啓動MySQL

要啓動 MySQL 的方法:(以本文將 MySQL 安裝在 /usr/local/mysql 為例)
# /usr/local/mysql/share/mysql.server start

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.