Home Forums WC Vendors Pro Support Featured Image Upload failing

NOTICE: We've Moved to a Ticket System for Support

As of August 31, 2017 (12am EST) our support forums will be retired (read-only), and we will be moving to a support ticket system.  This will allow us to better organize and answer support requests, and provide a more personalized experience as we assist our customers.

For the time being, we will leave our forums open for reading and learning while we work on creating a more robust Knowledge Base for everyone to use.

If you are a WC Vendors Pro customer please open a support ticket here. 

If you are a WC Vendors user please open a support ticket on the Wordpress.org forums.

The information on this forum is outdated and in most instances no longer relevant. Please be sure to check our documentation for the most up to date information.

https://docs.wcvendors.com/

Thank you to all of our customers!

 

Viewing 9 posts - 1 through 9 (of 9 total)
  • Author
    Posts
  • #38818
    dave
    Participant

    Hi,

    My featuerd image upload is failing in the dashboard.

    When i had woocommerce product slider carousel enabled it kept saying no $url was passed

    ajax-upload.php returns a 302 but has no response.

    Upload works through wp-admin

    I’ve tried disabled all plugins except for woocommerce, wc vendors, simple auctions and wc simple auctions integration

    can someone point out to me where i can start to debug this (i got php storm)

    Cheers,
    Dave

    #38819
    dave
    Participant

    I am working on my local machine, and there are no paths using https also and i’ve commented out my functions.php so nothing there either.

    #38833
    Anna
    Member

    Dave,
    Please provide us your woocommerce system status: wp-admin > WooCommerce > System Status
    in a reply or private reply here, please. Thank you.

    #38933
    dave
    Participant

    I think the issue is my theme. When i disable it, it works.

    #38934
    dave
    Participant
    
    ### WordPress Environment ###
    
    Home URL: http://marketauction.dev
    Site URL: http://marketauction.dev
    WC Version: 2.5.5
    Log Directory Writable: ✔
    WP Version: 4.5.2
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: ✔
    Language: en_GB
    
    ### Server Environment ###
    
    Server Info: Apache/2.4.9 (Win32) PHP/5.5.12
    PHP Version: 5.5.12
    PHP Post Max Size: 3 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 2500
    SUHOSIN Installed: –
    MySQL Version: 5.6.17
    Max Upload Size: 3 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 2.5.5
    : 
    woocommerce_sessions: ✔
    woocommerce_api_keys: ✔
    woocommerce_attribute_taxonomies: ✔
    woocommerce_termmeta: ✔
    woocommerce_downloadable_product_permissions: ✔
    woocommerce_order_items: ✔
    woocommerce_order_itemmeta: ✔
    woocommerce_tax_rates: ✔
    woocommerce_tax_rate_locations: ✔
    
    ### Active Plugins (5) ###
    
    WC Vendors Pro Simple Auctions: by WC Vendors – 1.0.3
    WC Vendors Pro: by WC Vendors – 1.3.3
    WC Vendors: by WC Vendors – 1.9.1
    WooCommerce Simple Auction: by wpgenie – 1.1.38
    WooCommerce: by WooThemes – 2.5.5
    
    ### Settings ###
    
    Force SSL: –
    Currency: GBP (£)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    
    ### API ###
    
    API Enabled: ✔
    API Version: 3.1.0
    
    ### WC Pages ###
    
    Shop Base: #7 - /search/
    Basket: #8 - /my-account/cart/
    Checkout: #9 - /checkout/
    My Account: #10 - /my-account/
    
    ### Taxonomies ###
    
    Product Types: auction (auction)
    external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    ### Theme ###
    
    Name: Zeedynamic Theme
    Version: 1.0.0
    Author URL: http://example.com
    Child Theme: ✔
    Parent Theme Name: zeeDynamic
    Parent Theme Version: 1.1.5
    Parent Theme Author URL: https://themezee.com
    WooCommerce Support: ✔
    
    ### Templates ###
    
    Overrides: zeedynamichildtheme/woocommerce/archive-product.php
    zeedynamichildtheme/woocommerce/product-searchform.php
    zeedynamichildtheme/woocommerce/single-product\product-image.php
    zeedynamichildtheme/woocommerce/single-product.php
    
    ### WC Vendors Pro ###
    
    Theme Compatability: -
    Pro Dashboard Page: ✔ 
    			 - #377
    Feedback form page: ✔  - #378
    Vendor Shop Permalink: ✔  - artist/
    
    ### Templates ###
    
    Overrides: –
    
    #38935
    dave
    Participant

    It’s not using any of those templates. Are there any pointers as to where or what to look for in debugging?

    Thanks

    #38944
    Anna
    Member

    So, if you disable your theme (you can use storefront by woocommerce/woothemes to test), then you do not have the errors and you are able to successfully upload your photos from the frontend? Correct?

    #39031
    dave
    Participant

    yeah, i narrowed it down to these functions after using the parent theme on its own, then deleting each file individually, then each of my functions in my functions.php.

    function wcv_product_description_required( $args ) {
    
        $args[ 'custom_attributes' ] = array(
            'data-rules' => 'required', 
            'data-error' => __( 'This field is required.', 'wcvendors-pro' )
        );
    
        return $args;
    }
    add_filter( 'wcv_product_description', 'wcv_product_description_required' );
    
    add_filter('wcv_product_width',  'wcv_product_description_required' );
    add_filter('wcv_product_height',  'wcv_product_description_required' );
    add_filter('wcv_product_length',  'wcv_product_description_required' );
    
    add_filter('wcv_product_weight',  'wcv_product_description_required' );
    add_filter('wcv_simple_auctions_auction_type',  'wcv_product_description_required');
    
    add_filter('wcv_simple_auctions_start_price',  'wcv_product_description_required');
    add_filter('wcv_simple_auctions_start_date',  'wcv_product_description_required');
    add_filter('wcv_simple_auctions_end_date',  'wcv_product_description_required');
    
    

    It seems to be any filter

    #39040
    dave
    Participant

    and it’s fixed…

    replaced

     
    $args['custom_attributes']['data-rules'] = 'required';
    $args['custom_attributes']['data-error'] = __( 'This field is required.', 'wcvendors-pro' );
    
    

    I was overwriting the array value instead of adding to it.

    Thanks anyway XD always seems to be something simple

Viewing 9 posts - 1 through 9 (of 9 total)
  • The forum ‘WC Vendors Pro Support’ is closed to new topics and replies.