Forum Replies Created

Viewing 6 replies - 1 through 6 (of 6 total)
  • I have the same issue. Plugin runs and I see the files in my ftp along with a log file showing DONE PROCESSING with passed integrity checks.

    But i got a Host Build Interrupt status: 502 Bad Gateway.

    running nginx 1.4.6
    wordpress 4.9.3

    Thread Starter raginghamster

    (@raginghamster)

    Apparently the problem was security permissions on your plugin folders. Fixed.

    None of those have any effect. I found this in my themes woocommerce.php

    add_filter( 'yit_get_option_layout', 'yit_sidebar_shop_page', 10, 3 );
    
    remove_action( 'woocommerce_archive_description', 'woocommerce_taxonomy_archive_description', 10 );
    
    add_action( 'yith_before_shop_page_meta', 'woocommerce_taxonomy_archive_description', 10 );

    i attempted to use this

    remove_action( 'yith_before_shop_page_meta', 'woocommerce_taxonomy_archive_description', 10 );`

    again no effect

    using child theme functions.php I can duplicate the description to the bottom, but can’t seem to get rid of the top of the page description. Here is the archive-product.php used in the theme woocommerce folder:

    <?php
    /**
     * The Template for displaying product archives, including the main shop page which is a post type archive.
     *
     * Override this template by copying it to yourtheme/woocommerce/archive-product.php
     *
     * @author 		WooThemes
     * @package 	WooCommerce/Templates
     * @version     2.0.0
     */
    
    if ( ! defined( 'ABSPATH' ) ) exit; // Exit if accessed directly
    
    // get the style
    global $woocommerce_loop, $blog_id;
    
    $cookie_shop_view = 'yit_' . get_template() . ( is_multisite() ? '_' . $blog_id : '' ) . '_shop_view';
    
    if ( yit_get_option( 'shop-view-type' ) != 'masonry' ) {
        $woocommerce_loop['view'] = isset( $_COOKIE[ $cookie_shop_view ] ) ? $_COOKIE[ $cookie_shop_view ] : yit_get_option( 'shop-view-type', 'grid' );
    }
    
    get_header( 'shop' ); ?>
    
    	<?php
    		/**
    		 * woocommerce_before_main_content hook
    		 *
    		 * @hooked woocommerce_output_content_wrapper - 10 (outputs opening divs for the content)
    		 * @hooked woocommerce_breadcrumb - 20
    		 */
    		do_action( 'woocommerce_before_main_content' );
    	?>
    
    		<?php do_action( 'woocommerce_archive_description' ); ?>
    
    		<?php if ( have_posts() ) : ?>
    
    			<?php
    				/**
    				 * woocommerce_before_shop_loop hook
    				 *
    				 * @hooked woocommerce_result_count - 20
    				 * @hooked woocommerce_catalog_ordering - 30
    				 */
    				do_action( 'woocommerce_before_shop_loop' );
    			?>
    
    			<?php woocommerce_product_loop_start(); ?>
    
    				<?php woocommerce_product_subcategories(); ?>
    
    				<?php while ( have_posts() ) : the_post(); ?>
    
    					<?php wc_get_template_part( 'content', 'product' ); ?>
    
    				<?php endwhile; // end of the loop. ?>
    
    			<?php woocommerce_product_loop_end(); ?>
    
        <div class="clearfix"></div>
    
    			<?php
    				/**
    				 * woocommerce_after_shop_loop hook
    				 *
    				 * @hooked woocommerce_pagination - 10
    				 */
    				do_action( 'woocommerce_after_shop_loop' );
    			?>
    
    		<?php elseif ( ! woocommerce_product_subcategories( array( 'before' => woocommerce_product_loop_start( false ), 'after' => woocommerce_product_loop_end( false ) ) ) ) : ?>
    
    			<?php wc_get_template( 'loop/no-products-found.php' ); ?>
    
    		<?php endif; ?>
    
    	<?php
    		/**
    		 * woocommerce_after_main_content hook
    		 *
    		 * @hooked woocommerce_output_content_wrapper_end - 10 (outputs closing divs for the content)
    		 */
    		do_action( 'woocommerce_after_main_content' );
    	?>
    
        <script type='text/javascript'>
        /* <![CDATA[ */
        var yit_shop_view_cookie = '<?php echo $cookie_shop_view; ?>';
        /* ]]> */
        </script>
    
    	<?php
    		/**
    		 * woocommerce_sidebar hook
    		 *
    		 * @hooked woocommerce_get_sidebar - 10
    		 */
    		do_action( 'woocommerce_sidebar' );
    	?>
    
    <?php get_footer( 'shop' ); ?>
    • This reply was modified 8 years, 9 months ago by raginghamster.
    Thread Starter raginghamster

    (@raginghamster)

    danielmuldernl, that is exactly what I’m looking for. Thanks!

    Thread Starter raginghamster

    (@raginghamster)

    I was able to resolve this issue. For anyone else wondering, the issue had to do with NGINX and HTTPS. Specifically in the NGINX server config- I simply changed my configuration to look like this for the try_files section:

    location / {
    try_files $uri $uri/ /index.php?$args;
    }

    Doing this now allows woocommerce to function correctly and display the checkout pages and links.

    Here is the page that helped me troubleshoot this issue: http://aaronjholbrook.com/debugging-server-problems-step-by-step/

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