Hi @krisseeuw,
There’s a more detailed explanation given here regarding the changes to downloads handling from version 5.5.0 and some workarounds: https://wordpress.org/support/topic/file-not-found-error-for-downloadable-product-orders/page/2/#post-14665422
I hope the info will be helpful.
Thanks.
Hi Abwaita
Oh yes! That solved it. Thank you! I obviously and unconsciously relied on fallback-mechanisms.
Regards
Glad to hear that it worked!
That said, if you’ll have any other questions, please feel free to create a new thread.
Thanks.
I followed and commented on the linked thread. I tried every “solution” but my issue is not yet resolved. This thread is also marked resolved. abwaita’s comment and link was part of the “solution” that didn’t work. Can anyone shed some light where to find more information or a bug fix? Thanks
You closed the other thread you linked, deleting all posts and even the solution that doesn’t work, calling it solved!
Same problem here!
Sorry, but in the link to a solution I don’t see any instructions. Can somebody tell me what they did to solve the problem?
Jan
-
This reply was modified 4 years, 10 months ago by
janvankuijk.
Hi Jan
Support mentioned the solution above. Have a look at the following link:
https://wordpress.org/support/topic/file-not-found-error-for-downloadable-product-orders/page/2/#post-14665422
The issue: WooCommerce removed fallback-mechanisms, on which many people unconsciously relied upon. Now the selected download method no longer works. I had to downgrade to an insecure outdated version (forward), but that worked at least.
You might want to use a download manager to add a level of security.
Groetjes
Karsten
con
(@conschneider)
Engineer
Hi Jan,
You can try and change the download method in WooCommerce. We’ve had a few reports of this. It is due to a change that was introduced a few versions before the 5.5.1 update, but many customers are seeing it now as they update the plugin.
What is happening here has to do with the download method set for digital products in your WooCommerce product settings (WooCommerce > Settings > Products > Downloadable Products in your site’s admin area). Previously, if your file download method was set to “X-accel-redirect” or “Force Download” and and this didn’t work, we would automatically use “Redirect Only” instead (the third option), but we’ve recently removed that functionality.
Can you confirm if your download method is set to X-accel-redirect or Force Download? If so, then what is most likely happening here is that your server doesn’t actually support this download method.
To fix it, you can talk to your host about enabling the download method on your server, or you can switch to the Redirect Only download method in your settings, which is what was being used behind the scenes up until now anyway.
You’ll notice that the Redirect Only method is labeled as “insecure.” To clarify, it’s insecure because it makes it so that anyone with the file URL for a download associated with a product can use that URL to access that file even if they haven’t purchased the product that grants them access. The other methods do a better job of preventing this. This is different than a “security vulnerability” in the sense of the bug that 5.5.1 was fixing, but it’s still something to be aware of.
You can read more about download methods here: https://docs.woocommerce.com/document/digital-downloadable-product-handling/
You might want to use a download manager to add a level of security.
What Karsten mentioned is also a good idea. Maybe try some of these: https://wordpress.org/plugins/search/download+manager/
**Before you do that, please do make a full backup!** – one can never have too many 😉
Hope that helps!
Kind regards,