Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Hey there!
Is there any kind of error when the downloads fail? And was the host able to find anything in the logs on their end? There should be some sort of trail that shows why these downloads are failing.
Hello!
Thanks for the reply! Well host support seems a bit anemic, after I debugged the problem it turned out Xsendfile was not even available for me and and they failed to mention that the module wasn’t available in the first place. 🙂 So woocommerce fell back to force-download -method…
I reproduced the issue with a basic php chunk by chunk readfile-function, and it happened also without woocommerce scripts so It’s not related to woocommerce or even wordpress. Must be some server-specific settings and I’m waiting an answer from the host’s support.
The download didn’t give any errors at least on my end, it seems to finish but of course, the resulted zip/file is corrupted as it’s not complete.
I’ll post an update once I get an answer from my host.. If there is anything related to wocommerce or wp.
– Toni
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Hey there,
Wow – you’ve made some great progress. Thanks for sharing that, it’s incredibly valuable for the next person struggling with this.
Best of luck sorting it out further!
dougaitken
(@dougaitken)
Automattic Happiness Engineer
Hey @masqutti
I’ll post an update once I get an answer from my host.. If there is anything related to wocommerce or wp.
Although I’m going to mark this thread as resolved as it is not directly WooCommerce related, you can update with more information for future readers.
Thanks
Thanks!
Yep it got solved. My host had an artificial limit on their shared hosting for PHP-calls to cut “infinite looking” scripts from running indefinetly. So the limit was set to 500MB.. They raised the limit higher so it’s better now, but it still cuts larger files and I’ll have to see if there’s anything to be done from my end to improve the situation..
– Toni
Plugin Support
Hannah S.L.
(@fernashes)
Automattic Happiness Engineer
Glad to hear it – thanks for letting us know!