Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • Thread Starter cyjyi

    (@cyjyi)

    Problem solved, thanks Till!

    Thread Starter cyjyi

    (@cyjyi)

    Yes, it works! Thank you for your help and time very much!

    I don’t understand the code but I’m glad it finally works. And your plugin is very useful and convenient to purge the nginx cache.

    Thank you again!

    Thread Starter cyjyi

    (@cyjyi)

    The output is:

    #0 NginxCache->initialize_filesystem() called at [/var/www/zyz/wp-content/plugins/nginx-cache/nginx-cache.php:169] #1 NginxCache->is_valid_path() called at [/var/www/zyz/wp-content/plugins/nginx-cache/nginx-cache.php:232] #2 NginxCache->flush_zone() called at [/var/www/zyz/wp-content/plugins/nginx-cache/nginx-cache.php:221] #3 NginxCache->flush_zone_once(13) #4 call_user_func_array(Array ([0] => NginxCache Object ([] => tools_page_nginx-cache,[] => manage_options,[] => tools.php?page=nginx-cache),[1] => flush_zone_once), Array ([0] => 13)) called at [/var/www/zyz/wp-includes/plugin.php:496] #5 do_action(clean_post_cache, 13, WP_Post Object ([ID] => 13,[post_author] => 1,[post_date] => 2015-05-06 14:42:47,[post_date_gmt] => 2015-05-06 06:42:47,[post_content] => [wr_row width=”boxed” background=”none” solid_color_value=”#FFFFFF” solid_color_color=”#ffffff” gradient_color=”0% #FFFFFF,100% #000000″ gradient_direction=”vertical” repeat=”full” img_repeat=”full” autoplay=”yes” position=”center center” paralax=”no” border_width_value_=”0″ border_style=”solid” border_color=”#000″ div_padding_top=”10″ div_padding_bottom=”10″ div_padding_right=”10″ div_padding_left=”10″ ][wr_column span=”span8″ ][wr_text text_margin_top=”0″ text_margin_bottom=”0″ enable_dropcap=”no” appearing_animation=”0″ disabled_el=”no” ]1st article. This is the first article, we should say something about the website to let you know who we are. 2ndt article. 3rd article. 4th article. 5th article. 6th article. 7th article. A whole week.[/wr_text][/wr_column][wr_column span=”span4″ ][wr_text text_margin_top=”0″ text_margin_bottom=”0″ enable_dropcap=”no” appearing_animation=”0″ disabled_el=”no” ]ZYZ_2_Logo[/wr_text][wr_button div_margin_top=”0″ div_margin_bottom=”25″ disabled_el=”no” css_suffix=”” id_wrapper=”” el_title=”” button_text=”Button” link_type=”url” button_type_url=”https://” single_item=”” open_in=”current_browser” icon=”” copy_style_from=”0″ button_alignment=”inherit” button_margin=”” button_margin_top=”0″ button_margin_right=”0″ button_margin_bottom=”0″ button_margin_left=”0″ button_size=”default” button_color=”btn-default” appearing_animation=”0″ appearing_animation_speed=”Medium” div_margin=”” div_margin_left=”0″ div_margin_right=”0″ ][/wr_button][/wr_column][/wr_row],[post_title] => Article,[post_excerpt] => ,[post_status] => publish,[comment_status] => open,[ping_status] => open,[post_password] => ,[post_name] => article,[to_ping] => ,[pinged] => ,[post_modified] => 2015-05-06 21:00:21,[post_modified_gmt] => 2015-05-06 13:00:21,[post_content_filtered] => ,[post_parent] => 0,[guid] => https://45.56.88.233/?p=13,%5Bmenu_order%5D => 0,[post_type] => post,[post_mime_type] => ,[comment_count] => 5,[filter] => raw)) called at [/var/www/zyz/wp-includes/post.php:5470] #6 clean_post_cache(WP_Post Object ([ID] => 13,[post_author] => 1,[post_date] => 2015-05-06 14:42:47,[post_date_gmt] => 2015-05-06 06:42:47,[post_content] => [wr_row width=”boxed” background=”none” solid_color_value=”#FFFFFF” solid_color_color=”#ffffff” gradient_color=”0% #FFFFFF,100% #000000″ gradient_direction=”vertical” repeat=”full” img_repeat=”full” autoplay=”yes” position=”center center” paralax=”no” border_width_value_=”0″ border_style=”solid” border_color=”#000″ div_padding_top=”10″ div_padding_bottom=”10″ div_padding_right=”10″ div_padding_left=”10″ ][wr_column span=”span8″ ][wr_text text_margin_top=”0″ text_margin_bottom=”0″ enable_dropcap=”no” appearing_animation=”0″ disabled_el=”no” ]1st article. This is the first article, we should say something about the website to let you know who we are. 2ndt article. 3rd article. 4th article. 5th article. 6th article. 7th article. A whole week.[/wr_text][/wr_column][wr_column span=”span4″ ][wr_text text_margin_top=”0″ text_margin_bottom=”0″ enable_dropcap=”no” appearing_animation=”0″ disabled_el=”no” ]ZYZ_2_Logo[/wr_text][wr_button div_margin_top=”0″ div_margin_bottom=”25″ disabled_el=”no” css_suffix=”” id_wrapper=”” el_title=”” button_text=”Button” link_type=”url” button_type_url=”https://” single_item=”” open_in=”current_browser” icon=”” copy_style_from=”0″ button_alignment=”inherit” button_margin=”” button_margin_top=”0″ button_margin_right=”0″ button_margin_bottom=”0″ button_margin_left=”0″ button_size=”default” button_color=”btn-default” appearing_animation=”0″ appearing_animation_speed=”Medium” div_margin=”” div_margin_left=”0″ div_margin_right=”0″ ][/wr_button][/wr_column][/wr_row],[post_title] => Article,[post_excerpt] => ,[post_status] => publish,[comment_status] => open,[ping_status] => open,[post_password] => ,[post_name] => article,[to_ping] => ,[pinged] => ,[post_modified] => 2015-05-06 21:00:21,[post_modified_gmt] => 2015-05-06 13:00:21,[post_content_filtered] => ,[post_parent] => 0,[guid] => https://45.56.88.233/?p=13,%5Bmenu_order%5D => 0,[post_type] => post,[post_mime_type] => ,[comment_count] => 5,[filter] => raw)) called at [/var/www/zyz/wp-includes/comment.php:2346] #7 wp_update_comment_count_now(13) called at [/var/www/zyz/wp-includes/comment.php:2319] #8 wp_update_comment_count(13) called at [/var/www/zyz/wp-includes/comment.php:1929] #9 wp_insert_comment(Array ([comment_post_ID] => 13,[comment_author] => zhiyouzhan,[comment_author_email] => [email protected],[comment_author_url] => ,[comment_content] => Still doesn\’t work.,[comment_type] => ,[comment_parent] => 15,[user_ID] => 1,[user_id] => 1,[comment_as_submitted] => Array ([comment_author] => zhiyouzhan,[comment_author_email] => [email protected],[comment_author_url] => ,[comment_content] => Still doesn\’t work.,[comment_type] => ,[user_ID] => 1,[user_id] => 1,[user_ip] => 113.87.190.143,[user_agent] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36,[blog] => https://www.zhiyouzhan.com,[blog_lang] => zh_CN,[blog_charset] => UTF-8,[permalink] => https://www.zhiyouzhan.com/article/),[akismet_result] => false,[comment_author_IP] => 113.87.190.143,[comment_agent] => Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_3) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/42.0.2311.135 Safari/537.36,[comment_date] => 2015-05-07 18:44:11,[comment_date_gmt] => 2015-05-07 10:44:11,[filtered] => 1,[comment_approved] => 1)) called at [/var/www/zyz/wp-includes/comment.php:2083] #10 wp_new_comment(Array ([comment_post_ID] => 13,[comment_author] => zhiyouzhan,[comment_author_email] => [email protected],[comment_author_url] => ,[comment_content] => Still doesn\’t work.,[comment_type] => ,[comment_parent] => 15,[user_ID] => 1)) called at [/var/www/zyz/wp-comments-post.php:137]

    Thread Starter cyjyi

    (@cyjyi)

    Thanks for your reply!

    Here is some information of the website:
    WordPress version 4.1.4
    PHP version 5.5.9-1 ubuntu4.9
    MySQL version 5.5.43-0 ubuntu0.14.04.1
    cURL version 7.35.0
    Server nginx/1.8.0
    Operating System Linux
    PHP SAPI fpm-fcgi

    Thread Starter cyjyi

    (@cyjyi)

    Hello,
    I have set the domain name, but the problem is still the same.
    I’m using nginx 1.8.0, does this cause the plugin incompatible?

    Thread Starter cyjyi

    (@cyjyi)

    Thank you for your reply!

    I found this in nginx error.log:

    2015/05/07 10:44:34 [error] 9681#0: *2305 FastCGI sent in stderr: “PHP message: PHP Fatal error: Call to undefined function request_filesystem_credentials() in /var/www/zyz/wp-content/plugins/nginx-cache/nginx-cache.php on line 250” while reading response header from upstream, client: 113.87.190.143, server: zhiyouzhan.com, request: “POST /wp-comments-post.php HTTP/1.1”, upstream: “fastcgi://unix:/var/run/php5-fpm.sock:”, host: “45.56.88.233”, referrer: “https://45.56.88.233/article/”

    Is this because that I didn’t set the domain name pointing to the IP address?

Viewing 6 replies - 1 through 6 (of 6 total)