( ! ) 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.0000484072{main}( ).../index.php:0
20.0000484424require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.12014099976require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.12064129080include( '/var/www/html/wp-content/themes/twentyfifteen/archive.php ).../template-loader.php:125
50.12064129080get_header( $name = ???, $args = ??? ).../archive.php:19
60.12064129296locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.12064129392load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.12064129936require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.12084137344wp_head( ).../header.php:18
100.12084137344do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.12084137560WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.12084137560WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.12094140976wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.12094140976do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.12094141192WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.12094141192WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.12104267496twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.12124269016wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.12124269016WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.12124269016WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.12124269016_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.12124269336wp_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.12124270088trigger_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.0000484072{main}( ).../index.php:0
20.0000484424require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.12014099976require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.12064129080include( '/var/www/html/wp-content/themes/twentyfifteen/archive.php ).../template-loader.php:125
50.12064129080get_header( $name = ???, $args = ??? ).../archive.php:19
60.12064129296locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.12064129392load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.12064129936require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.12084137344wp_head( ).../header.php:18
100.12084137344do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.12084137560WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.12084137560WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.12094140976wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.12094140976do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.12094141192WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.12094141192WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.12104267496twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.16384271192wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.16384271192WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.16384271192WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.16384271192_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.16384271512wp_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.16394271736trigger_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

Open Webmail 安裝流程

Open Webmail 官方網站:http://openwebmail.org/
注意:要架設 Open Webmail 前,請務必先將 sendmail、dovecot 架設好


安裝


cd
yum -y install perl-suidperl perl-Compress-Zlib perl-Text-Iconv
wget http://openwebmail.org/openwebmail/download/redhat/rpm/release/openwebmail-2.52-1.i386.rpm
rpm -ivh openwebmail-2.52-1.i386.rpm
rm -rf openwebmail-2.52-1.i386.rpm
修改 openwebmail.conf


cp /var/www/cgi-bin/openwebmail/etc/openwebmail.conf /var/www/cgi-bin/openwebmail/etc/openwebmail.conf.bak
vi /var/www/cgi-bin/openwebmail/etc/openwebmail.conf
55行 enable_pop3 yes 修改成–> enable_pop3 no
62行 default_language en 修改成–> default_language zh_TW.Big5
85行 default_iconset Cool3D.English 修改成–> default_iconset Cool3D.Chinese.Traditional


 


76行 <default_signature>
77行 —
78行 Open WebMail Project (http://openwebmail.org)
79行 </default_signature>


#此此四行是使用者寄信的預設簽名檔,請自行修改紅字部分


 


202行 webdisk_rootpath /webdisk 修改成–> webdisk_rootpath /


修改 dbm.conf


cp /var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf /var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf.bak
vi /var/www/cgi-bin/openwebmail/etc/defaults/dbm.conf
dbm_ext .db
dbmopen_ext .db
dbmopen_haslock no


使用 Open WebMail 變更密碼的時候,順便修改 samba 密碼


cp /var/www/cgi-bin/openwebmail/etc/auth_unix.conf /var/www/cgi-bin/openwebmail/etc/auth_unix.conf.bak
vi /var/www/cgi-bin/openwebmail/etc/auth_unix.conf
13行 change_smbpasswd no 修改成–> change_smbpasswd yes


初始化


/var/www/cgi-bin/openwebmail/openwebmail-tool.pl –init
測試:https://IP/cgi-bin/openwebmail/openwebmail.pl
縮短 Open WebMail 連結網址:


vi /etc/httpd/conf/httpd.conf
ScriptAlias /mail “/var/www/cgi-bin/openwebmail/openwebmail.pl”


#在設定檔最後面加上這一行


/etc/rc.d/init.d/httpd restart
測試:https://IP/mail/
註:
參考資料:http://turtle.ee.ncku.edu.tw/~tung/openwebmail/
How to install Open WebMail on Fedora Core 3 By Thomas Chung <tchung AT openwebmail.org>
官方安裝說明檔:more /var/www/data/openwebmail/doc/readme.txt
cd /var/www/cgi-bin/openwebmail/etc/
openwebmail.conf – 主要的設定檔,管理者要設定的選項,應該都寫在這個檔案裡頭
openwebmail.conf.help – openwebmail.conf 所有選項的說明檔