• Resolved jess888

    (@jess888)


    I have been trying to fix a problem with downloadable products that appears to stem from using AWS S3 for storage of those files. The downloads have been working without using S3. But after much trial and error today, including installing the WooComm Amazon S3 extension, now my client’s download links all go to a 404 Not Found page. Yikes.

    I can see the files both in the S3 bucket. Still getting 404 Not Found even when I put the files in the site directory itself. I deactivated the S3 WooComm plugin and tried restoring a backup from a couple of days ago and saving Permalinks.

    Anyone? 🙁

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

Viewing 5 replies - 1 through 5 (of 5 total)
  • Mirko P.

    (@rainfallnixfig)

    Hi @jess888,

    Typically, 404 errors are sent from the webserver to the web browser when the content has been removed, moved to another URL or the URL is incorrect. You can read more here.

    Can you check if the File URL in the Edit Product page points to the correct download?


    Link to image: https://snipboard.io/P9enUu.jpg

    Could you please share a copy of your site’s 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.

    Thanks.

    Thread Starter jess888

    (@jess888)

    THANK YOU, Mirko, for answering so fast.

    Yes, File URL is correct.

    System report:

    
    ### WordPress Environment ###
    
    WordPress address (URL): https://wisdomword.com
    Site address (URL): https://wisdomword.com
    WC Version: 6.3.1
    REST API Version: ✔ 6.3.1
    WC Blocks Version: ✔ 6.9.0
    Action Scheduler Version: ✔ 3.4.0
    WC Admin Version: ✔ 3.2.1
    Log Directory Writable: ✔
    WP Version: ❌ 5.9.1 - There is a newer version of WordPress available (5.9.2)
    WP Multisite: –
    WP Memory Limit: 512 MB
    WP Debug Mode: –
    WP Cron: ✔
    Language: en_US
    External object cache: –
    
    ### Server Environment ###
    
    Server Info: Apache
    PHP Version: 7.4.26
    PHP Post Max Size: 256 MB
    PHP Time Limit: 3600
    PHP Max Input Vars: 10000
    cURL Version: 7.58.0
    OpenSSL/1.1.1
    
    SUHOSIN Installed: –
    MySQL Version: 5.7.36-39-log
    Max Upload Size: 256 MB
    Default Timezone is UTC: ✔
    fsockopen/cURL: ✔
    SoapClient: ✔
    DOMDocument: ✔
    GZip: ✔
    Multibyte String: ✔
    Remote Post: ✔
    Remote Get: ✔
    
    ### Database ###
    
    WC Database Version: 6.3.1
    WC Database Prefix: wp_
    Total Database Size: 91.97MB
    Database Data Size: 63.30MB
    Database Index Size: 28.67MB
    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.06MB + Index: 0.13MB + Engine InnoDB
    wp_woocommerce_order_items: Data: 0.41MB + Index: 0.13MB + Engine InnoDB
    wp_woocommerce_order_itemmeta: Data: 3.52MB + Index: 3.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.05MB + Engine InnoDB
    wp_woocommerce_shipping_zones: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_woocommerce_shipping_zone_locations: Data: 0.02MB + Index: 0.05MB + 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.16MB + 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.22MB + Index: 0.09MB + Engine InnoDB
    wp_cff_facebook_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_cff_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cff_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_cff_sources: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_commentmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_comments: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_duplicator_packages: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_bans: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_dashboard_events: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_distributed_storage: Data: 5.52MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_fingerprints: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_geolocation_cache: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_itsec_lockouts: Data: 0.02MB + Index: 0.08MB + Engine InnoDB
    wp_itsec_logs: Data: 4.52MB + Index: 0.58MB + Engine InnoDB
    wp_itsec_mutexes: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_opaque_tokens: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_itsec_temp: Data: 0.02MB + Index: 0.06MB + Engine InnoDB
    wp_itsec_user_groups: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_links: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_nxs_log: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_nxs_query: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_options: Data: 5.50MB + Index: 0.17MB + Engine InnoDB
    wp_pmxi_files: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_history: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_imports: Data: 0.08MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_pmxi_templates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_postmeta: Data: 28.55MB + Index: 19.06MB + Engine InnoDB
    wp_posts: Data: 3.52MB + Index: 1.08MB + Engine InnoDB
    wp_redirection_404: Data: 0.14MB + Index: 0.05MB + Engine InnoDB
    wp_redirection_groups: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_redirection_items: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_redirection_logs: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_revslider_css: Data: 0.14MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_css_bkp: Data: 0.14MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_layer_animations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_navigations_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_sliders: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_sliders_bkp: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_slides_bkp: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_revslider_static_slides: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_revslider_static_slides_bkp: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_sbi_feeds: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sbi_feed_caches: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_sbi_instagram_feeds_posts: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_sbi_instagram_feed_locator: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_sbi_instagram_posts: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_sbi_sources: Data: 0.02MB + Index: 0.03MB + 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.13MB + Index: 0.09MB + Engine InnoDB
    wp_term_taxonomy: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_taskmeta: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_tm_tasks: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_usermeta: Data: 1.52MB + Index: 0.59MB + Engine InnoDB
    wp_users: Data: 0.06MB + Index: 0.05MB + Engine InnoDB
    wp_w3tc_cdn_pathmap: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_w3tc_cdn_queue: Data: 0.02MB + Index: 0.02MB + 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.06MB + Index: 0.03MB + Engine InnoDB
    wp_wc_download_log: Data: 0.06MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_coupon_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_order_product_lookup: Data: 0.22MB + Index: 0.27MB + Engine InnoDB
    wp_wc_order_stats: Data: 0.19MB + Index: 0.19MB + Engine InnoDB
    wp_wc_order_tax_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_attributes_lookup: Data: 0.02MB + Index: 0.03MB + Engine InnoDB
    wp_wc_product_meta_lookup: Data: 0.02MB + Index: 0.09MB + Engine InnoDB
    wp_wc_rate_limits: Data: 0.02MB + Index: 0.02MB + 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_wfbadleechers: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblockedcommentlog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblockediplog: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfblocks7: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfconfig: Data: 0.44MB + 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: 2.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfhits: Data: 0.06MB + 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: 1.52MB + Index: 0.00MB + Engine InnoDB
    wp_wfleechers: Data: 0.06MB + 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.08MB + Index: 0.03MB + 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_wfscanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfsnipcache: Data: 0.02MB + Index: 0.05MB + Engine InnoDB
    wp_wfstatus: Data: 0.13MB + Index: 0.09MB + Engine InnoDB
    wp_wftrafficrates: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wfvulnscanners: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    wp_wpforms_tasks_meta: Data: 0.05MB + Index: 0.00MB + Engine InnoDB
    wp_yoast_indexable: Data: 1.52MB + Index: 0.59MB + Engine InnoDB
    wp_yoast_indexable_hierarchy: Data: 0.08MB + Index: 0.08MB + Engine InnoDB
    wp_yoast_migrations: Data: 0.02MB + Index: 0.02MB + Engine InnoDB
    wp_yoast_primary_term: Data: 0.06MB + Index: 0.06MB + Engine InnoDB
    wp_yoast_seo_links: Data: 0.08MB + Index: 0.03MB + Engine InnoDB
    wp_yoast_seo_meta: Data: 0.02MB + Index: 0.00MB + Engine InnoDB
    
    ### Post Type Counts ###
    
    acf-field: 2
    acf-field-group: 2
    affirmation: 11
    amn_smtp: 1
    attachment: 300
    custom_css: 1
    flamingo_contact: 1049
    flamingo_inbound: 29
    mc4wp-form: 1
    nav_menu_item: 39
    oembed_cache: 4
    page: 33
    paywall: 7
    portfolio: 21
    post: 50
    product: 81
    revision: 3
    shop_coupon: 8
    shop_order: 3382
    shop_order_refund: 1
    testimonials: 21
    tribe_events: 737
    tribe_organizer: 2
    tribe_venue: 3
    wc_membership_plan: 3
    wc_user_membership: 5
    wp_global_styles: 1
    wpcf7_contact_form: 1
    wpforms: 1
    
    ### Security ###
    
    Secure connection (HTTPS): ✔
    Hide errors from visitors: ✔
    
    ### Active Plugins (35) ###
    
    Advanced Custom Fields PRO: by Delicious Brains – 5.12
    CAPTCHA 4WP: by WP White Security – 7.0.5
    Better Font Awesome: by Mickey Kay – 2.0.1
    Better Search Replace: by Delicious Brains – 1.3.4
    iThemes Security: by iThemes – 8.0.2
    Clone Posts: by George Pattihis – 2.0.2
    Contact Form 7: by Takayuki Miyoshi – 5.5.6
    Smash Balloon Custom Facebook Feed: by Smash Balloon – 4.1.2
    Email Address Encoder: by Till Krüss – 1.0.22
    Enable Media Replace: by ShortPixel – 3.6.3
    The Events Calendar PRO: by The Events Calendar – 5.12.1
    Flexible Checkout Fields: by WP Desk – 3.2.2
    Smash Balloon Instagram Feed: by Smash Balloon – 6.0.4
    WPBakery Page Builder: by Michael M - WPBakery.com – 6.8.0
    Redirection: by John Godley – 5.2.3
    Remove All Comments: by php-developer – 3.1.1
    Remove jQuery Migrate: by Hendy Tarnando – 1.0.2
    Slider Revolution: by ThemePunch – 6.5.14
    Sucuri Security - Auditing, Malware Scanner and Hardening: by Sucuri Inc. – 1.8.30
    Templatera: by WPBakery – 2.0.5
    The Events Calendar: by The Events Calendar – 5.14.0.4
    Total Theme Core: by WPExplorer – 1.3.2
    Transients Manager: by WPBeginner – 2.0.2
    Turn off all comments: by Emerson This – 1.0
    WooCommerce - Autocomplete Orders: by Serious Plugins – 1.1.4
    WooCommerce Authorize.Net Gateway: by SkyVerge – 3.6.3
    WooCommerce Payments: by Automattic – 3.8.2
    WooCommerce: by Automattic – 6.3.1
    WooCommerce Helper: by WooCommerce – 1.7.2 – Network enabled
    Yoast SEO: by Team Yoast – 18.3
    WP Edit: by Josh Lobe – 4.0.4
    WP Engine Automated Migration: by WPEngine – 4.69
    WPForms Lite: by WPForms – 1.7.2.1
    WPS Hide Login: by WPServeur
    NicolasKulka
    wpformation – 1.9.3
    
    Yoast Test Helper: by Team Yoast – 1.15
    
    ### Inactive Plugins (2) ###
    
    WooCommerce Authorize.Net AIM Gateway: by WooThemes / SkyVerge – 3.10.0
    WooCommerce Memberships: by SkyVerge – 1.9.8 (update to version 1.22.11 is available)
    
    ### Dropin Plugins (1) ###
    
    advanced-cache.php: advanced-cache.php
    
    ### Must Use Plugins (6) ###
    
    Force Strong Passwords - WPE Edition: by Jason Cosper – 1.8.0
    WPE ElasticPress Autosuggest Logger: by WP Engine – 1.0.0
    WP Engine Cache Plugin: by WP Engine – 1.0.8
    WP Engine Seamless Login Plugin: by WP Engine – 1.5.5
    WP Engine Security Auditor: by wpengine – 1.0.10
    WP Engine System: by WP Engine – 5.0.1
    
    ### Settings ###
    
    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)
    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: ✔
    
    ### WC Pages ###
    
    Shop base: #1226 - /shop/shop-without-sidebar/
    Cart: #41 - /shop/cart/
    Checkout: #42 - /shop/checkout/
    My account: #43 - /my-account/
    Terms and conditions: #13572 - /terms/
    
    ### Theme ###
    
    Name: Total Child
    Version: (update to version 0 is available)
    Author URL: 
    Child Theme: ✔
    Parent Theme Name: Total
    Parent Theme Version: 5.3.1
    Parent Theme Author URL: https://www.wpexplorer.com/
    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: Total/woocommerce/archive-product.php
    Total/woocommerce/checkout/form-checkout.php
    Total/woocommerce/loop/loop-start.php
    Total/woocommerce/loop/pagination.php
    Total/woocommerce/single-product/meta.php
    Total/woocommerce/single-product/rating.php
    Total/woocommerce/single-product/title.php
    
    ### Subscriptions ###
    
    WCS_DEBUG: ✔ No
    Subscriptions Mode: ✔ Live
    Subscriptions Live URL: https://wisdomword.com
    Subscription Statuses: –
    WooCommerce Account Connected: ✔ Yes
    Active Product Key: ❌ No
    
    ### Store Setup ###
    
    Country / State: United States (US) — California
    
    ### Payment Gateway Support ###
    
    PayPal Standard: subscriptions
    gateway_scheduled_payments
    subscription_payment_method_change_customer
    subscription_cancellation
    subscription_suspension
    subscription_reactivation
    products
    refunds
    
    PayPal Reference Transactions Enabled: ❌ No
    Authorize.Net Credit Card: products
    card_types
    payment_form
    inline
    lightbox
    tokenization
    token_editor
    charge
    charge-virtual
    authorization
    capture_charge
    customer_decline_messages
    refunds
    voids
    customer_id
    add_payment_method
    apple_pay
    
    ### Authorize.Net Credit Card ###
    
    Environment: Production
    Tokenization Enabled: –
    Debug Mode: Off
    Webhooks Enabled: ❌
    						No signature key configured
    
    ### WooCommerce Payments ###
    
    Version: 3.8.2
    Connected to WPCOM: No
    Blog ID: -
    Account ID: -
    
    ### Action Scheduler ###
    
    Complete: 263
    Oldest: 2022-02-14 17:01:55 -0800
    Newest: 2022-03-15 14:25:27 -0700
    
    Failed: 86
    Oldest: 2021-08-09 12:46:15 -0700
    Newest: 2021-09-08 13:21:26 -0700
    
    Pending: 6
    Oldest: 2022-03-16 14:14:56 -0700
    Newest: 2022-03-19 13:29:32 -0700
    
    ### Status report information ###
    
    Generated at: 2022-03-15 15:04:09 -07:00
    
    Mirko P.

    (@rainfallnixfig)

    Hi @jess888,

    Thanks for sending over your System Status Report.

    To be sure the issue does not originate from a conflict with your theme or one of your active plugins, let’s make a test purchase after changing the theme to the default Storefront and deactivating all plugins except WooCommerce.

    Since you also have server-side caching and must-use plugins enabled on your host, it would be a good idea to get in touch with your host’s support and temporarily disable them.

    Testing the file URL and changing the download settings could also help. Check out this thread for pointers:

    https://wordpress.org/support/topic/i-get-an-error-404-after-clicking-product-download-link/#post-13678157

    Let us know how it goes.

    Thread Starter jess888

    (@jess888)

    Tried all those to no avail and then I changed the download settings and changed them back. The 404 error is now gone.

    I’m back to my original problem of “File Not Found. Go to Shop” but at least the Insecure download method works again. Thanks again, Mirko.

    Mirko P.

    (@rainfallnixfig)

    Hi @jess888,

    Glad to hear that changing the download method helped! The “File not found Go to shop” error is usually caused by the X-Accel-Redirect/X-Sendfile method not being installed on the server or not properly working as we discussed on the other thread.

    I’m going to close this thread now but feel free to open a new topic if you have any further questions.

    Have a good day!

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘404 Not Found for downloadable products’ is closed to new replies.