Link to home
Start Free TrialLog in
Avatar of Vanavah Edwards
Vanavah Edwards

asked on

Wordpress WooCommerce Digital Download Error "Failed - Network Error"

I am creating a woocommerce Wordpress website which sells digital downloads.  My problem is when a visitor or myself tries to download an exe file from my website of 100Mb it stops at 50Mb and displays "Failed - Network error".  If I download the file via the file manager in cPanel it works.  But if a visitor login to their woocommerce account, then it always stops at 50Mb and displays that error.

Can anyone help me to solve this problem?
Avatar of lenamtl
lenamtl
Flag of Canada image

Hi,
First check files configuration size, extension allowed in your application configuration files.

Check PHP ini for files size change to the limit you want.
You may ask your hosting company about instruction, most of them allow to have a custom php ini file.
memory_limit = 32M
upload_max_filesize = 24M
post_max_size = 32M

Open in new window


If the upload_max_filesize is bigger than post_max_size, you must increase post_max_size so that it is bigger than upload_max_size
If the value of post_max_size is bigger than memory_limit, you must increase memory_limit so that it is bigger than post_max_size

Also check Chmod directory permission where file are uploaded/downloaded.

If the error come from Chrome check this
https://productforums.google.com/forum/#!topic/chrome/7XBU6g6_Ktc
Enable WP_DEBUG + check your debug.log file for a Fatal error.

Likely you'll instantly know what php.ini directive to increase for your fix.

Enable WP_DEBUG for a clear answer. No guessing.

And... sigh... If your hosting company is using some stupid bandwidth throttling... this may be the problem too.

Start with WP_DEBUG first + if that fails, you'll likely require a Server Savant to dig into your LAMP Stack logs + maybe your Kernel network config.
This question needs an answer!
Become an EE member today
7 DAY FREE TRIAL
Members can start a 7-Day Free trial then enjoy unlimited access to the platform.
View membership options
or
Learn why we charge membership fees
We get it - no one likes a content blocker. Take one extra minute and find out why we block content.