( ! ) 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.0000484240{main}( ).../index.php:0
20.0000484592require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.15454098840require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.15544127832include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.15544127832get_header( $name = ???, $args = ??? ).../single.php:10
60.15544128048locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.15544128144load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.15544128688require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.15574136096wp_head( ).../header.php:18
100.15574136096do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.15574136312WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.15574136312WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.15604139728wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.15604139728do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.15604139944WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.15604139944WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.15624141832twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.15654143352wp_style_add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.php:440
190.15654143352WP_Styles->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../functions.wp-styles.php:245
200.15654143352WP_Dependencies->add_data( $handle = 'twentyfifteen-ie', $key = 'conditional', $value = 'lt IE 9' ).../class-wp-styles.php:385
210.15654143352_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.15654149304wp_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.15664268840trigger_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.0000484240{main}( ).../index.php:0
20.0000484592require( '/var/www/html/wp-blog-header.php ).../index.php:17
30.15454098840require_once( '/var/www/html/wp-includes/template-loader.php ).../wp-blog-header.php:19
40.15544127832include( '/var/www/html/wp-content/themes/twentyfifteen/single.php ).../template-loader.php:125
50.15544127832get_header( $name = ???, $args = ??? ).../single.php:10
60.15544128048locate_template( $template_names = [0 => 'header.php'], $load = TRUE, $load_once = TRUE, $args = [] ).../general-template.php:48
70.15544128144load_template( $_template_file = '/var/www/html/wp-content/themes/twentyfifteen/header.php', $load_once = TRUE, $args = [] ).../template.php:749
80.15544128688require_once( '/var/www/html/wp-content/themes/twentyfifteen/header.php ).../template.php:814
90.15574136096wp_head( ).../header.php:18
100.15574136096do_action( $hook_name = 'wp_head' ).../general-template.php:3197
110.15574136312WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
120.15574136312WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
130.15604139728wp_enqueue_scripts( '' ).../class-wp-hook.php:341
140.15604139728do_action( $hook_name = 'wp_enqueue_scripts' ).../script-loader.php:2311
150.15604139944WP_Hook->do_action( $args = [0 => ''] ).../plugin.php:522
160.15604139944WP_Hook->apply_filters( $value = '', $args = [0 => ''] ).../class-wp-hook.php:365
170.15624141832twentyfifteen_scripts( '' ).../class-wp-hook.php:341
180.18094269944wp_style_add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.php:444
190.18094269944WP_Styles->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../functions.wp-styles.php:245
200.18094269944WP_Dependencies->add_data( $handle = 'twentyfifteen-ie7', $key = 'conditional', $value = 'lt IE 8' ).../class-wp-styles.php:385
210.18094269944_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.18094270264wp_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.18104270488trigger_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

resin + nginx

download the upstream jvm route from http://code.google.com/p/nginx-upstream-jvm-route/

[root@web1 nginx-1.2.0]# tar -zxf nginx-upstream-jvm-route-0.1.tar.gz

[root@web1 nginx-1.2.0]# patch -p0 ./nginx_upstream_jvm_route/jvm_route.patch

[root@web1 nginx-1.2.0]# ./configure –sbin-path=/usr/sbin/ –conf-path=/etc/nginx/nginx.conf –with-http_stub_status_module –with-http_ssl_module –add-module=./nginx_upstream_jvm_route

 

edit /etc/nginx/nginx.conf

add

upstream resin_proxy {

server 127.0.0.1:85 srun_id=app-by1 max_fails=2 fail_timeout=10s weight=200; //负载均衡
server web3:85 srun_id=app-by2 max_fails=2 fail_timeout=10s weight=200;      //负载均衡
jvm_route $cookie_JSESSIONID|sessionid;
}

server {
listen 80;
server_name default yourhosts;
location / {
proxy_pass http://resin_proxy;
include proxy.conf;
index index.jsp index.html index.htm;
}
}

create proxy.conf

proxy_redirect off;
proxy_set_header Host $host;
proxy_set_header Host $host;
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
client_max_body_size 10m;
client_body_buffer_size 128k;
proxy_connect_timeout 300;
proxy_send_timeout 300;
proxy_read_timeout 300;
proxy_buffer_size 4k;
proxy_buffers 4 32k;
proxy_busy_buffers_size 64k;
proxy_temp_file_write_size 64k;

 

 

One thought on “resin + nginx”

  1. 老大,你好几个月没有制作resin pro的crack文件了,期待您能抽空做一个啊!
    resin 4.0.27和3.1.12发布很久了!
    谢谢!

Leave a Reply to zmcjs Cancel 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.