• Resolved slade470

    (@slade470)


    hey,

    i am adding a downloadable product link :

    https://herbseo.com/digitaldron_cdn/mythemeshop-connect-v3.0.3.zip

    when customer download the file they get 1.4Kb file which is broken file.

    https://prnt.sc/eNc9wb0IlvWK

    but when you directly visit the download link file the file will be downloaded easily.

    here is my woocoomerce setting.

    https://prnt.sc/bINFXvn42KQW

    i also tried X-Accel-redirect giving same error.

    i dont want to use redirect only, since it can reveal the actual link of the file.

    few months back it was working fine, all of sudden it started downloading currupted file.

    Note: the file is stored in cpanel on herbseo domain.

    https://prnt.sc/7N8_lB7KSHhE

    I have also confirmed tha “allow_url_fopen” is on on herbseo cpanel where file is stored.

    here is the my woocommerce report.

    WordPress Environment
    
    WC Version: 7.2.2
    REST API Version: ?</img> 7.2.2
    WC Blocks Version: ?</img> 8.9.2
    Action Scheduler Version: ?</img> 3.5.3
    Log Directory Writable: ?</img>
    WP Version: 6.1.1
    WP Multisite: –
    WP Memory Limit: 256 MB
    WP Debug Mode: –
    WP Cron: ?</img>
    Language: en_US
    External object cache: –
    
    Server Environment
    
    Server Info: Apache
    PHP Version: 8.1.13
    PHP Post Max Size: 32 MB
    PHP Time Limit: 300
    PHP Max Input Vars: 1000
    cURL Version: 7.71.0
    OpenSSL/1.1.1p
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.40-cll-lve
    Max Upload Size: 32 MB
    Default Timezone is UTC: ?</img>
    fsockopen/cURL: ?</img>
    SoapClient: ?</img>
    DOMDocument: ?</img>
    GZip: ?</img>
    Multibyte String: ?</img>
    Remote Post: ?</img>
    Remote Get: ?</img>
    
    Database
    
    WC Database Version: 7.2.2
    WC Database Prefix: wp_
    Total Database Size: 21.71MB
    Database Data Size: 18.54MB
    Database Index Size: 3.17MB
    wp_woocommerce_sessions: Data: 0.07MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_api_keys: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_attribute_taxonomies: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_downloadable_product_permissions: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_woocommerce_order_items: Data: 0.05MB + Index: 0.03MB + Engine MyISAM
    wp_woocommerce_order_itemmeta: Data: 0.38MB + Index: 0.26MB + Engine MyISAM
    wp_woocommerce_tax_rates: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_tax_rate_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zones: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_locations: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_shipping_zone_methods: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokens: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_payment_tokenmeta: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_woocommerce_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_actions: Data: 0.22MB + Index: 0.10MB + Engine MyISAM
    wp_actionscheduler_claims: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_actionscheduler_groups: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_actionscheduler_logs: Data: 0.16MB + Index: 0.12MB + Engine MyISAM
    wp_commentmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_comments: Data: 0.24MB + Index: 0.12MB + Engine MyISAM
    wp_duplicator_pro_entities: Data: 0.01MB + Index: 0.00MB + Engine MyISAM
    wp_duplicator_pro_packages: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    wp_email_log: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_e_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_e_submissions: Data: 0.06MB + Index: 0.27MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_mailchimp_carts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_mailchimp_jobs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 2.37MB + Index: 0.20MB + Engine MyISAM
    wp_postmeta: Data: 1.55MB + Index: 0.81MB + Engine MyISAM
    wp_posts: Data: 0.47MB + Index: 0.09MB + Engine MyISAM
    wp_rank_math_404_logs: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_analytics_objects: Data: 0.08MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_internal_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_internal_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_rank_math_redirections: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_rank_math_redirections_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_termmeta: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_terms: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_term_relationships: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_term_taxonomy: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_usermeta: Data: 0.17MB + Index: 0.13MB + Engine MyISAM
    wp_users: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_wc_admin_notes: Data: 0.05MB + Index: 0.00MB + Engine MyISAM
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.01MB + Engine MyISAM
    wp_wc_category_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_customer_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_wc_download_log: Data: 0.01MB + Index: 0.01MB + Engine MyISAM
    wp_wc_order_coupon_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_order_product_lookup: Data: 0.05MB + Index: 0.04MB + Engine MyISAM
    wp_wc_order_stats: Data: 0.03MB + Index: 0.03MB + Engine MyISAM
    wp_wc_order_tax_lookup: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_download_directories: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.01MB + Index: 0.02MB + Engine MyISAM
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wc_tax_rate_classes: Data: 0.00MB + Index: 0.01MB + Engine MyISAM
    wp_wc_webhooks: Data: 0.00MB + Index: 0.00MB + Engine MyISAM
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.47MB + Index: 0.00MB + Engine InnoDB
    wp_wfcrawlers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilechanges: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wffilemods: Data: 6.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.09MB + Index: 0.05MB + Engine InnoDB
    wp_wfhoover: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfknownfilelist: Data: 4.52MB + Index: 0.00MB + Engine InnoDB
    wp_wflivetraffichuman: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wflocs: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wflogins: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wfls_2fa_secrets: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wfls_settings: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfnotifications: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfpendingissues: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wfreversecache: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.17MB + Index: 0.13MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_debug_events: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpmailsmtp_tasks_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    Post Type Counts
    
    acf-field: 23
    acf-field-group: 4
    attachment: 336
    cl-layout: 1
    cl-template: 1
    custom_css: 4
    elementor_library: 1
    mailpoet_page: 1
    nav_menu_item: 6
    page: 11
    post: 4
    product: 210
    revision: 28
    shop_coupon: 1
    shop_order: 134
    shop_order_refund: 4
    shop_subscription: 37
    whatsapp-accounts: 2
    wp_global_styles: 2
    
    Security
    
    Secure connection (HTTPS): ?</img>
    Hide errors from visitors: ?</img>
    
    Active Plugins (18)
    
    a3 Lazy Load: by a3rev Software – 2.6.1
    Advanced Custom Fields: Repeater Field: by Elliot Condon – 2.1.0
    Advanced Custom Fields: Table Field: by Johann Heyne – 1.3.17
    Advanced Custom Fields: by WP Engine – 6.0.6
    Duplicator Pro: by Snap Creek – 4.5.4
    Elementor Pro: by Elementor.com – 3.5.2
    Elementor: by Elementor.com – 3.9.2
    Kadence WooCommerce Email Designer: by Kadence WP – 1.5.7
    Login As Users: by Geek Code Lab – 1.3
    NitroPack: by NitroPack LLC – 1.5.17
    Rank Math SEO: by Rank Math – 1.0.105
    UPI QR Code Payment Gateway: by Sayan Datta – 1.2.3
    WOOCS - WooCommerce Currency Switcher: by realmag777 – 1.3.9.4
    WooCommerce: by Automattic – 7.2.2
    Asset CleanUp Pro: Page Speed Booster: by Gabe Livan – 1.2.1.4
    WP-DBManager: by Niyamat Ansari – 4.1
    WP Mail SMTP: by WPForms – 3.7.0
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.6
    
    Inactive Plugins (3)
    
    hCaptcha for Elementor Forms: by Digitaldron – 1.0.1
    WhatsApp Chat by NinjaTeam: by NinjaTeam – 3.1.9
    Wordfence Security: by Wordfence – 7.8.2
    
    Dropin Plugins (1)
    
    advanced-cache.php: advanced-cache.php
    
    Settings
    
    API Enabled: –
    Force SSL: –
    Currency: INR (?)
    Currency Position: left
    Thousand Separator: ,
    Decimal Separator: .
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    subscription (subscription)
    variable (variable)
    variable subscription (variable-subscription)
    
    Taxonomies: Product Visibility: exclude-from-catalog (exclude-from-catalog)
    exclude-from-search (exclude-from-search)
    featured (featured)
    outofstock (outofstock)
    rated-1 (rated-1)
    rated-2 (rated-2)
    rated-3 (rated-3)
    rated-4 (rated-4)
    rated-5 (rated-5)
    
    Connected to WooCommerce.com: –
    Enforce Approved Product Download Directories: ?</img>
    Order datastore: WC_Order_Data_Store_CPT
    
    WC Pages
    
    Shop base: #6 - /shop/
    Cart: #7 - /cart/
    Checkout: #8 - /checkout/
    My account: #9 - /my-account/
    Terms and conditions: ?</img> Page not set
    
    Theme
    
    Name: PressKart
    Version: 1.0.0
    Child Theme: ?</img>
    Parent Theme Name: Storefront
    Parent Theme Version: 4.2.0
    Parent Theme Author URL: https://woocommerce.com/
    WooCommerce Support: ?</img>
    
    Templates
    
    Overrides: presskart/woocommerce/archive-product.php
    presskart/woocommerce/checkout/form-checkout.php
    presskart/woocommerce/checkout/form-shipping.php
    presskart/woocommerce/checkout/thankyou.php
    presskart/woocommerce/content-single-product.php
    presskart/woocommerce/emails/customer-completed-order.php
    presskart/woocommerce/emails/customer-invoice.php
    presskart/woocommerce/loop/add-to-cart.php
    presskart/woocommerce/loop/no-products-found.php
    presskart/woocommerce/loop/price.php
    presskart/woocommerce/myaccount/my-account.php
    presskart/woocommerce/myaccount/view-order.php
    presskart/woocommerce/order/order-details.php
    
    Admin
    
    Enabled Features: activity-panels
    analytics
    coupons
    customer-effort-score-tracks
    experimental-products-task
    experimental-import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    multichannel-marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    
    Disabled Features: minified-js
    new-product-management-experience
    settings
    
    Daily Cron: ?</img> Next scheduled: 2023-01-03 10:34:01 +05:30
    Options: ?</img>
    Notes: 111
    Onboarding: completed
    
    Action Scheduler
    
    Complete: 913
    Oldest: 2022-12-03 11:28:03 +0000
    Newest: 2023-01-03 08:37:16 +0000
    
    Failed: 14
    Oldest: 2022-09-14 12:37:01 +0000
    Newest: 2022-12-30 07:33:56 +0000
    
    Pending: 1
    Oldest: 2023-01-04 07:39:12 +0000
    Newest: 2023-01-04 07:39:12 +0000
    
    Status report information
    
    Generated at: 2023-01-03 14:29:25 +05:30
    `

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Saif

    (@babylon1999)

    Hello @slade470,

    Can you please confirm with your host if both X-Accel-Redirect and X-Sendfile modules are installed?

    Also, may I ask what settings you had before when it was working?

    Look forward to hearing back from you.

Viewing 1 replies (of 1 total)
  • The topic ‘Broken Downloaded File’ is closed to new replies.