• Resolved theinfogroup

    (@theinfogroup)


    I have an audiobook for sale. After purchasing, when you click the link in the invoice or the thank you page, it generates a Network Error or connection error. However if you use the actual link (not the one generated by Woocommerce) there is no issue downloading the file. What would cause this issue?

    System Status Report

    ### WordPress Environment ###
    
    WordPress address (URL): [Redacted]
    Site address (URL): [Redacted]
    WC Version: 9.3.3
    Legacy REST API Package Version: The Legacy REST API plugin is not installed on this site.
    Action Scheduler Version: ? 3.8.1
    Log Directory Writable: ?
    WP Version: 6.6.2
    WP Multisite: –
    WP Memory Limit: 768 MB
    WP Debug Mode: –
    WP Cron: –
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 8.2.24
    PHP Post Max Size: 256 MB
    PHP Time Limit: 120
    PHP Max Input Vars: 3000
    cURL Version: 8.2.1
    OpenSSL/3.1.4
    
    SUHOSIN Installed: –
    MySQL Version: 8.0.36-28
    Max Upload Size: 256 MB
    Default Timezone is UTC: ?
    fsockopen/cURL: ?
    SoapClient: ?
    DOMDocument: ?
    GZip: ?
    Multibyte String: ?
    Remote Post: ?
    Remote Get: ?
    
    ### Database ###
    
    [REDACTED]
    
    ### Post Type Counts ###
    
    attachment: 192
    custom_css: 1
    customize_changeset: 21
    html5tap: 1
    jetpack-testimonial: 1
    mailpoet_page: 1
    nav_menu_item: 1
    oembed_cache: 1
    page: 14
    pluginops_forms: 13
    popup: 2
    popup_theme: 8
    portfolio-item: 5
    post: 2
    product: 10
    product_variation: 30
    revision: 1048
    seedprod: 1
    shop_coupon: 9
    shop_order: 29
    sr_playlist: 1
    wp_font_face: 33
    wp_font_family: 12
    wp_global_styles: 1
    wp_navigation: 1
    wp_show_posts: 1
    wpcf7_contact_form: 3
    
    ### Security ###
    
    Secure connection (HTTPS): ?
    Hide errors from visitors: ?
    
    ### Active Plugins (35) ###
    
    PluginOps Builder Extension Pack: by PluginOps – 1.7.5
    Autocomplete WooCommerce Orders: by QuadLayers – 3.3.6
    Best Upsell for WooCommerce: by identixweb – 1.2.0
    Booked: by Boxy Studio – 2.4.3
    Classic Editor: by WordPress Contributors – 1.6.5
    Coming Soon Page, Maintenance Mode, Landing Pages & WordPress Website Builder by SeedProd: by SeedProd – 6.18.9
    Contact Form 7: by Takayuki Miyoshi – 5.9.8
    Envato Market: by Envato – 2.0.12
    Everlead Business: by Mikado Themes – 1.0.1
    Everlead Core: by Mikado Themes – 1.0.2
    Everlead Instagram Feed: by Mikado Themes – 2.0.1
    Everlead Membership: by Mikado Themes – 1.0.2
    Everlead Twitter Feed: by Mikado Themes – 1.0.2
    Facebook for WooCommerce: by Facebook – 3.2.10
    Jetpack: by Automattic – 13.9
    WPBakery Page Builder: by Michael M - WPBakery.com – 7.9
    PluginOps Optin Builder: by PluginOps – 4.0.9.8
    Meta Tag Manager: by Pixelite – 3.1
    MP3 Audio Player by Sonaar: by Sonaar Music – 5.8
    Landing Pages - PluginOps Landing Page Builder, Coming Soon Builder, Maintenance Mode: by PluginOps – 1.5.2.2
    phpinfo WP: by Exeebit – 6.0
    PixelYourSite: by PixelYourSite – 9.7.2
    Speed Optimizer: by SiteGround – 7.6.7
    Show-Hide/Collapse-Expand: by Bunte Giraffe – 1.3.0
    Tax Rate Upload: by Adam Bowen – 2.4.5
    The Events Calendar: by The Events Calendar – 6.7.0
    Woo Store Vacation: by MyPreview – 1.9.5
    WooCommerce.com Update Manager: by Automattic – 1.0.3
    WooPayments: by WooCommerce – 8.3.0
    WooCommerce PayPal Payments: by WooCommerce – 2.9.2
    WooCommerce Shipping & Tax: by WooCommerce – 2.8.2
    WooCommerce: by Automattic – 9.3.3
    SiteGround Central: by SiteGround – 3.1.0
    WP Duplicate Page: by NinjaTeam – 1.4.1
    WP Show Posts: by Tom Usborne – 1.1.6
    
    ### Inactive Plugins (2) ###
    
    Seriously Simple Podcasting: by Castos – 3.5.0
    Slider Revolution: by ThemePunch – 6.5.11
    
    ### Settings ###
    
    Legacy API Enabled: –
    Force SSL: –
    Currency: USD ($)
    Currency Position: left
    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: ?
    Enforce Approved Product Download Directories: –
    HPOS feature enabled: –
    Order datastore: WC_Order_Data_Store_CPT
    HPOS data sync enabled: –
    
    ### Logging ###
    
    Enabled: ?
    Handler: Automattic\WooCommerce\Internal\Admin\Logging\LogHandlerFileV2
    Retention period: 30 days
    Level threshold: –
    Log directory size: 214 KB
    
    ### WC Pages ###
    
    Shop base: #8 - /shop/
    Cart: #9 - /cart/ -  Contains the [woocommerce_cart] shortcode
    Checkout: #10 - /checkout/ -  Contains the [woocommerce_checkout] shortcode
    My account: #11 - /my-account/
    Terms and conditions: ? Page not set
    
    ### Theme ###
    
    Name: Everlead Child
    Version: 1.0.1
    Author URL: https://themeforest.net/user/mikado-themes
    Child Theme: ?
    Parent Theme Name: Everlead
    Parent Theme Version: 1.2
    Parent Theme Author URL: https://themeforest.net/user/mikado-themes
    WooCommerce Support: ?
    
    ### Templates ###
    
    Archive Template: Your theme has a woocommerce.php file
    you will not be able to override the woocommerce/archive-product.php custom template since woocommerce.php has priority over archive-product.php. This is intended to prevent display issues.
    
    Overrides: everlead/woocommerce/content-product.php
    everlead-child/woocommerce/global/quantity-input.php
    everlead-child/woocommerce/product-searchform.php
    
    
    ### WooPayments ###
    
    Version: 8.3.0
    Connected to WPCOM: ? No
    Logging: Enabled
    
    ### WooCommerce PayPal Payments ###
    
    Onboarded: ?
    Shop country code: US
    WooCommerce currency supported: ?
    Advanced Card Processing available in country: ?
    Pay Later messaging available in country: ?
    Webhook status: ?
    PayPal Vault enabled: –
    ACDC Vault enabled: –
    Logging enabled: –
    Reference Transactions: ?
    Used PayPal Checkout plugin: ?
    Subscriptions Mode: Disabled
    PayPal Shipping Callback: –
    Apple Pay: –
    Google Pay: –
    Fastlane: –
    
    ### Admin ###
    
    Enabled Features: activity-panels
    analytics
    product-block-editor
    coupons
    core-profiler
    customize-store
    customer-effort-score-tracks
    import-products-task
    experimental-fashion-sample-products
    shipping-smart-defaults
    shipping-setting-tour
    homescreen
    marketing
    mobile-app-banner
    navigation
    onboarding
    onboarding-tasks
    pattern-toolkit-full-composability
    product-custom-fields
    remote-inbox-notifications
    remote-free-extensions
    payment-gateway-suggestions
    printful
    shipping-label-banner
    subscriptions
    store-alerts
    transient-notices
    woo-mobile-welcome
    wc-pay-promotion
    wc-pay-welcome-page
    launch-your-store
    
    Disabled Features: experimental-blocks
    minified-js
    product-pre-publish-modal
    settings
    async-product-editor-category-field
    product-editor-template-system
    blueprint
    reactify-classic-payments-settings
    
    Daily Cron: ? Next scheduled: 2024-09-10 18:09:58 +00:00
    Options: ?
    Notes: 181
    Onboarding: completed
    
    ### Action Scheduler ###
    
    Complete: 187
    Oldest: 2024-09-16 02:14:57 +0000
    Newest: 2024-10-15 16:06:32 +0000
    
    Failed: 6
    Oldest: 2023-02-28 21:26:04 +0000
    Newest: 2023-06-05 15:57:37 +0000
    
    Pending: 1
    Oldest: 2024-10-16 16:06:32 +0000
    Newest: 2024-10-16 16:06:32 +0000
    
    
    ### Status report information ###
    
    Generated at: 2024-10-15 16:06:57 +00:00

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

Viewing 10 replies - 1 through 10 (of 10 total)
  • Plugin Support Zubair Zahid (woo-hc)

    (@doublezed2)

    Hello theinfogroup,

    Thank you for contacting WooCommerce support.

    Could you please share a screenshot of the Network Error message you’re seeing when trying to download the audiobook? This would help in diagnosing the problem more accurately.

    Additionally, I recommend reaching out to your hosting provider to confirm if there are any file permission issues or restrictions that could be causing this error when WooCommerce generates the download link.

    Let me know what they say!

    Best regards.

    Thread Starter theinfogroup

    (@theinfogroup)

    Have confirmed with the hosting company that there are no issues, the settings are the default ones > 644 for files and 755 for folders.

    Plugin Support ckadenge (woo-hc)

    (@ckadenge)

    Hi @theinfogroup,

    Have confirmed with the hosting company that there are no issues, the settings are the default ones > 644 for files and 755 for folders.

    Thank you for confirming this with us.

    My colleague had requested for a screenshot of the error messages. I recommend?https://snipboard.io/?for easily sharing screenshots – please follow the instructions on the page, then paste the URL(s) in your reply.

    In the meantime, could you please try testing out with only WooCommerce as the active plugin and a default theme like Storefront or Twenty Twenty-Four to see if this error persists. Please be sure to have a backup in place before proceeding with this step.

    Looking forward to hearing from you.

    Thread Starter theinfogroup

    (@theinfogroup)

    We have removed all plugins except woocommerce. We activated twenty-four as the active theme.

    We used check as payment type and received download link in the completed order confirmation email. Clicking on the download link resulted in same error we have previously received.

    Screenshot of that error is available here: https://staging2.teganbroadwater.com/wp-content/uploads/2024/10/10182024-Test-Order-link-download-fail.jpg

    Firefox details of this error screenshot available here: https://staging2.teganbroadwater.com/wp-content/uploads/2024/10/10182024-Test-order-failure-details-firefox.jpg

    Plugin Support RK a11n

    (@riaanknoetze)

    HI @theinfogroup ,

    Thanks for doing all of that testing. Just to make sure:

    • The file download path configured in the product settings, is that set to HTTP or HTTPS?
    • Is the file hosted on the site itself or is it offsite?
    • Can you share a screenshot of your settings under WooCommerce > Settings > Products > Downloadable Products?

    Thanks!

    Thread Starter theinfogroup

    (@theinfogroup)

    It is hosted on SiteGround as is the website.

    The field values on the Product details page are:

    Name – Life-in-the-Fish-Bowl-Audio-Book-Purchase.zip

    File URL: https://staging2.teganbroadwater.com/audiobook/

    Screenshot of these product settings at https://staging2.teganbroadwater.com/wp-content/uploads/2024/10/10192024-Audiobook-Prod-settings.jpg

    Screenshot of woo->settings->downloaded products at https://staging2.teganbroadwater.com/wp-content/uploads/2024/10/10192024-Woo-Prod-Download-settings.jpg

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Thank you for sharing the screenshot. I see that you’ve set the file download method to “Force Download.” For testing purposes, could you please change it to “X-Accel-Redirect/X-Sendfile,” as shown in the screenshot below:
    https://go.screenpal.com/watch/cZ63IPVWS9s

    For more details you can use this article.
    https://woocommerce.com/document/digital-downloadable-product-handling/#protecting-your-uploads-directory

    Let me know how that goes.

    Thread Starter theinfogroup

    (@theinfogroup)

    Change made however now when trying to check out we get the following error: “There was an error processing your order. Please check for any charges in your payment method and review your order history before placing the order again.”

    Also, we now cannot access Products or Pages and instead get the following error: “There has been a critical error on this website. Please check your site admin email inbox for instructions.”

    Plugin Support shahzeen(woo-hc)

    (@shahzeenfarooq)

    Hi there!

    The error message, “There was an error processing your order. Please check for any charges on your payment method and review your order history before placing the order again,” typically appears due to the following reasons:

    1. Conflicts with plugins or themes
    2. Custom code added to the functions.php file
    3. Sometimes, the error can be related to email delivery issues.

    Could you confirm if you’ve added any custom code to your functions.php file? Also, critical errors can also appear when a plugin conflict occurs. I would suggest you first fix the critical error from your site and try to proceed the checkout. I would recommend?running a conflict test?to rule out any possible plugin conflicts.

    You can do this by disabling all other plugins, only leaving WooCommerce and your Stripe Gateway plugin. Should the issue persist, you can try switching to a default theme like Storefront. You can find further details on running a full conflict test from this guide.

    Please make a full site backup before running the conflict test to ensure you can restore your site if any issues arise.

    Additionally, to identify which plugin is causing the critical error, check the email you received regarding the critical error message.

    After fixing the critical error message and conflict test if you still face that error message please try to install STMP plugin on your site and then try to proceed the checkout.

    Let us know how it goes.

    Plugin Support Feten L. a11n

    (@fetenlakhal)

    Hi! It’s been a bit since we last heard from you, so I’ll close this for now. Please feel free to reach out if you’d like to revisit.

Viewing 10 replies - 1 through 10 (of 10 total)
  • You must be logged in to reply to this topic.