• Resolved haruns1995

    (@haruns1995)


    Hi,

    I have a website with downloadable goods.

    Here is the thing, I have thousands of already created ZIP files to upload to the website and I tried with few and tested a sale / download of the file.

    Here is the problem I encounter:

    When I try to download the file it says Invalid Link – Go to shop.

    BUT, when I create another test with fresh created ZIP folder I can download it without any issues.

    PROBLEM:

    If the file is old even few hours, I can’t download it, but if the file is freshly created and uploaded immediately, I can download it.

    How do I fix this so all the files can be downloaded even if ZIP file is older and not fresh created.

    It is really weird to me that if the file is an hour old and then uploaded, it says invalid link, while fresh ones are okay. They are all created the same, I tested this so far almost 50 times and every time the outcome is same (fresh file – okay; older file – invalid link).

    It appears to be some issue with ZIP file, but I can’t see what can change in an hour.

Viewing 4 replies - 1 through 4 (of 4 total)
  • Hello,

    Could you please share the following so we understand the setup of your site?

    System Status:?You can find it via WooCommerce > Status. Select “Get system report” and then “Copy for support”. Once you’ve done that, paste it here in your response.

    Error log:?share a copy of the fatal error log found under WooCommerce > System Status > Logs (if available)

    Thread Starter haruns1995

    (@haruns1995)

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://logogather.com
    Site address (URL): https://logogather.com
    WC Version: 5.8.0
    REST API Version: ? 5.8.0
    WC Blocks Version: ? 5.9.1
    Action Scheduler Version: ? 3.3.0
    WC Admin Version: ? 2.7.2
    Log Directory Writable: ?
    WP Version: 5.9.1
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: ?
    WP Cron: ?
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: LiteSpeed
    PHP Version: 7.4.26
    PHP Post Max Size: 512 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 5000
    cURL Version: 7.71.0
    OpenSSL/1.1.1d
    
    SUHOSIN Installed: –
    MySQL Version: 5.5.5-10.5.12-MariaDB-cll-lve
    Max Upload Size: 512 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    WC Database Version: 5.8.0
    WC Database Prefix: wp_
    Total Database Size: 72.63MB
    Database Data Size: 66.68MB
    Database Index Size: 5.95MB
    wp_woocommerce_sessions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_api_keys: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_attribute_taxonomies: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_downloadable_product_permissions: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_tax_rates: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_woocommerce_tax_rate_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_shipping_zone_methods: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_payment_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_payment_tokenmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_woocommerce_log: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_actions: Data: 0.14MB + Index: 0.13MB + Engine InnoDB
    wp_actionscheduler_claims: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_groups: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_actionscheduler_logs: Data: 0.08MB + Index: 0.09MB + Engine InnoDB
    wp_aioseo_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_aioseo_notifications: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_aioseo_posts: Data: 0.22MB + Index: 0.02MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_dokan_announcement: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_dokan_orders: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_dokan_refund: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_dokan_vendor_balance: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_dokan_withdraw: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_email_log: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_e_submissions: Data: 0.02MB + Index: 0.27MB + Engine InnoDB
    wp_e_submissions_actions_log: Data: 0.02MB + Index: 0.11MB + Engine InnoDB
    wp_e_submissions_values: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_litespeed_url: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_litespeed_url_file: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_options: Data: 2.52MB + Index: 0.08MB + Engine InnoDB
    wp_postmeta: Data: 28.52MB + Index: 3.03MB + Engine InnoDB
    wp_posts: Data: 30.52MB + Index: 0.39MB + Engine InnoDB
    wp_snippets: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_termmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_terms: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_term_relationships: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_usermeta: Data: 0.09MB + Index: 0.03MB + Engine InnoDB
    wp_users: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wcpdf_invoice_number: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_notes: Data: 0.06MB + Index: 0.00MB + Engine InnoDB
    wp_wc_admin_note_actions: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_category_lookup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_customer_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_gpf_render_cache: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_reserved_stock: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wc_tax_rate_classes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_wc_webhooks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_woocommerce_gpf_google_taxonomy: Data: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_wpfm_backup: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_tasks_meta: 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
    wp_yoast_indexable: Data: 0.25MB + Index: 0.28MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_prominent_words: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 80
    acf-field-group: 11
    attachment: 225
    custom_css: 2
    customize_changeset: 459
    elementor_library: 12
    mc4wp-form: 1
    nav_menu_item: 13
    page: 27
    post: 1
    product: 41
    revision: 2247
    shop_order: 31
    wp_global_styles: 1
    wpcf7_contact_form: 5
    wpforms: 2
    yith_wcan_preset: 4
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (26) ###
    
    weLaunch Framework: by weLaunch.io – 1.0.9
    Yoast SEO: WooCommerce Structured Data Remover: by  – 0.1.0
    All-in-One WP Migration: by ServMask – 7.53
    Bdevs Element: by Nasir Uddin Mandal – 10.0.9
    Bdevs Toolkit: by BDevs – 1.0.3
    Dokan: by weDevs – 8.2.14
    Download Plugins and Themes from Dashboard: by WPFactory – 1.8.1
    Elementor Pro: by Elementor.com – 3.4.1
    Elementor: by Elementor.com – 3.4.4
    Email Log: by Sudar – 2.4.8
    Google Analytics for WordPress by MonsterInsights: by MonsterInsights – 8.1.0
    Site Kit by Google: by Google – 1.47.0
    LiteSpeed Cache: by LiteSpeed Technologies – 4.4.2
    ACF Photo Gallery Field: by Navneil Naicker – 1.7.8
    Regenerate Thumbnails: by Alex Mills (Viper007Bond) – 3.1.5
    Remove Schema: by Plugin.nl – 1.6.1
    WebP Converter for Media: by Mateusz Gbiorczyk – 4.0.0
    Preview E-mails for WooCommerce: by Digamber Pradhan – 2.0.1
    WooCommerce PDF Invoices: by weLaunch – 1.4.5
    WooCommerce: by Automattic – 5.8.0 (update to version 6.2.1 is available)
    Yoast SEO: by Team Yoast – 17.6
    WP File Manager: by mndpsingh287 – 7.1.2
    WP Mail SMTP: by WPForms – 3.2.1
    WPForms Lite: by WPForms – 1.6.9
    Yoast SEO: WooCommerce: by Team Yoast – 14.4
    Advanced Custom Fields: by Delicious Brains – 5.11.4
    
    ### Inactive Plugins (18) ###
    
    ACF Content Analysis for Yoast SEO: by Thomas Kr?ftner
    ViktorFroberg
    marol87
    pekz0r
    angrycreative
    Team Yoast – 3.0.1
    
    Akismet Anti-Spam: by Automattic – 4.2.2
    All in One SEO: by All in One SEO Team – 4.1.6.2
    Classic Editor: by WordPress Contributors – 1.6.2
    Contact Form 7: by Takayuki Miyoshi – 5.4.2
    Database Browser: by Chris Taylor – 1.4.4
    Hello Dolly: by Matt Mullenweg – 1.7.2
    Images to WebP: by KubiQ – 1.9
    Kirki Customizer Framework: by David Vongries – 3.1.9
    MC4WP: Mailchimp for WordPress: by ibericode – 4.8.6
    One Click Demo Import: by OCDI – 3.0.2
    OptinMonster: by OptinMonster Team – 2.6.9
    SVG Support: by Benbodhi – 2.3.21
    WooCommerce Attach Me!: by Lagudi Domenico – 22.8
    WooCommerce Google Product Feed: by Ademti Software Ltd. – 10.3.1
    WordPress Importer: by wordpressdotorg – 0.7
    YITH WooCommerce Ajax Product Filter: by YITH – 4.2.1
    Yoast SEO Premium: by Team Yoast – 17.6
    
    ### Settings ###
    
    API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: right_space
    Thousand Separator: .
    Decimal Separator: ,
    Number of Decimals: 2
    Taxonomies: Product Types: external (external)
    grouped (grouped)
    simple (simple)
    variable (variable)
    
    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: –
    
    ### WC Pages ###
    
    Shop base: #1585 - /shop/
    Cart: ? Page does not contain the [woocommerce_cart] shortcode or the woocommerce/cart block.
    Checkout: #1411 - /checkout-2/
    My account: #15 - /my-account/
    Terms and conditions: #2031 - /terms-conditions/
    
    ### Theme ###
    
    Name: Markite Child
    Version: 1.0.0
    Author URL: https://themepure.net/wp/markite/
    Child Theme: ?
    Parent Theme Name: Markite
    Parent Theme Version: 1.1.1
    Parent Theme Author URL: https://themeforest.net/user/theme_pure
    WooCommerce Support: ?
    
    ### Templates ###
    
    Overrides: markite/woocommerce/archive-product.php
    markite/woocommerce/cart/cart.php
    markite/woocommerce/cart/mini-cart.php
    markite/woocommerce/cart/proceed-to-checkout-button.php
    markite/woocommerce/checkout/form-checkout.php
    markite-child/woocommerce/content-product.php
    markite-child/woocommerce/content-single-product.php
    markite/woocommerce/global/quantity-input.php
    markite/woocommerce/global/wrapper-end.php
    markite/woocommerce/global/wrapper-start.php
    markite/woocommerce/loop/add-to-cart.php
    markite/woocommerce/loop/loop-end.php
    markite/woocommerce/loop/loop-start.php
    markite/woocommerce/loop/orderby.php
    markite/woocommerce/loop/pagination.php
    markite/woocommerce/loop/price.php
    markite/woocommerce/loop/rating.php
    markite/woocommerce/loop/result-count.php
    markite-child/woocommerce/order/order-details-customer.php
    markite-child/woocommerce/product-searchform.php
    markite/woocommerce/single-product/add-to-cart/external.php
    markite/woocommerce/single-product/add-to-cart/grouped.php
    markite/woocommerce/single-product/add-to-cart/simple.php
    markite/woocommerce/single-product/add-to-cart/variation-add-to-cart-button.php
    markite/woocommerce/single-product/price.php
    markite/woocommerce/single-product/product-image.php
    markite/woocommerce/single-product/product-thumbnails.php
    markite/woocommerce/single-product/related.php
    markite/woocommerce/single-product/review-meta.php
    markite/woocommerce/single-product/review-rating.php
    markite/woocommerce/single-product/review.php
    markite/woocommerce/single-product/tabs/additional-information.php
    markite/woocommerce/single-product/tabs/description.php
    markite/woocommerce/single-product/tabs/tabs.php
    markite/woocommerce/single-product/title.php
    markite/woocommerce/single-product-reviews.php
    markite/woocommerce/single-product.php
    
    ### Action Scheduler ###
    
    Complete: 344
    Oldest: 2022-01-28 19:31:43 +0000
    Newest: 2022-02-28 16:29:18 +0000
    
    Pending: 7
    Oldest: 2022-02-28 18:46:44 +0000
    Newest: 2022-03-07 11:32:27 +0000
    
    ### Status report information ###
    
    Generated at: 2022-02-28 16:49:56 +00:00
    

    When it comes to fatal error log, I don’t have a fatal error log for any of the dates in last 7 days. (Today I tested these sales again, but no fatal error).

    Mirko P.

    (@rainfallnixfig)

    Hi @haruns1995,

    Thanks for sharing your system status.

    Could you please provide also the following information?

    1) Have you tried changing the theme to Storefront and disabling all other plugins except WooCommerce? Does it work with this basic setup?

    2) Have you tried changing the file download method in WooCommerce > Settings > Products > Downloadable products?

    It is recommended to carefully check the Digital/Downloadable Product Handling documentation. If you have any questions after reading the guide do let us know.

    https://woocommerce.com/document/digital-downloadable-product-handling/

    You could also share screenshots of your settings so it will help us better understand the issue. Use https://snipboard.io for screenshots – please follow the instructions on that page, then paste the URL in this thread.

    We look forward to your response.

    Mirko P.

    (@rainfallnixfig)

    Hi there,

    It’s been a while since we last heard back from you. I’m going to mark this thread as resolved.

    Hopefully, the above information was helpful. If you have further questions, please feel free to open a new topic.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Zip file download issue’ is closed to new replies.