Tips and Tricks HQ Support

Support site for Tips and Tricks HQ premium products

  • Home
  • Contact Us
  • Documentation
  • Forum Home
    • Forum
    • Forum Search
    • Forum Login
    • Forum Registration

Downloaded file size is 0 (Zero) byte or 404 error or Other file download error

by

Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore F.A.Q/Instructions › Downloaded file size is 0 (Zero) byte or 404 error or Other file download error

Tagged: 0kb file download, Download, encrypted link, W3 Total Cache, zero file download

  • This topic has 60 replies, 12 voices, and was last updated 11 years, 2 months ago by wzp.
Viewing 15 posts - 1 through 15 (of 61 total)
1 2 3 4 5 →
  • Author
    Posts
  • April 22, 2010 at 8:33 am #1112
    amin007
    Participant

    If you are facing one of the following issues with WP eStore then go through the checklist in this post which will help you identify the issue so you can fix it:

    – When you click on the encrypted download link, it shows a blue screen

    – Encrypted download link isn’t downloading the file

    – Receiving a 0 byte download

    – Receiving a 404 (File not found) error when trying to download the file

    – Download stopping at a certain file size

    Checklist 1. Verify that the URL you have specified in the “Digital Content URL” field is not resulting in a 404 error (meaning there is a typo in the URL). You can check this by copying and pasting the URL into your browser’s address bar and seeing if the file downloads properly.

    Checklist 2. Make sure that you do not have any spaces in the file name of your downloadable file. It is okay to have spaces in the file name on your PC (e.g. My eBook.zip) but remember when you upload it on the server it becomes a URL and a proper URL should not have spaces.

    For example, the following is a good URL:

    http://www.example.com/my-ebook.zip

    Where as the following is not:

    http://www.example.com/my eBook.zip

    Remember, “%20” is a white space character so you shouldn’t have those in the file name either.

    Checkout Google’s guideline here to learn more on this:

    http://www.google.com/support/webmasters/bin/answer.py?answer=76329

    Checklist 3. Make sure you have the “http” keyword in your URL value. If you are manually typing the URL then it is easy to miss the “http” keyword.

    For example, the following examples are valid URLs:

    http://www.example.com/my-file.zip
    http://example.com/my-file.zip

    Where as the following are not (see how it is missing the “http” keyword?):

    www. example.com/my-file.zip
    example.com/my-file.zip

    Checklist 4. Delete the following two files “.htaccess”, “.htpasswd ” from the downloads directory of the eStore plugin and try the download again.

    Checklist 5. Try to use one of the other download methods explained in the following post to see if that helps:

    WP eStore Download Methods – Change Encrypted Download Methods

    Checklist 6. If you are having this issue with a large file then see this post:

    Selling Large Files with WP eStore

    Checklist 7. If you have a caching plugin running on your site, deactivate the plugin temporarily and test the download again.

    Checklist 8. Make sure you did not modify the value of the “Download Validation Script Location” field in the eStore’s settings menu. If there is a warning in “red” it means you have an issue with this value. Please go to the “Admin Functions” menu of eStore plugin and use the “Reset eStore Settings to Default” button to reset the settings value to the default then generate a new encrypted download link and try it out.

    Alternatively, you can use this option to just reset the value of the “Download Validation Script Location” field to default.

    https://support.tipsandtricks-hq.com/forums/topic/how-to-reset-the-download-validation-script-location-to-default-setting

    Checklist 9. If you started to get the download errors after upgrading the plugin then it means you did not follow eStore’s upgrade instruction. Load a fresh build of the plugin (make sure to follow the eStore’s upgrade documentation):

    https://support.tipsandtricks-hq.com/forums/topic/re-install-or-load-a-fresh-build-of-the-plugins

    Checklist 10. Uppercase letters in a file name can cause a download issue on some servers. So use all lowercase letter for your downloadable file name just to be safe.

    If the above steps do not fix the issue you are having please contact us and we will take a close look at your site.

    October 25, 2010 at 1:46 pm #19948
    wzp
    Moderator

    Also…

    If the URLs of the product files being offered for download are stored in a URL path that is different from the eStore install; try setting the “Automatic URL Conversion Preference” (Version 4.5.7 and higher) to “Do Not Convert.”

    This applies in situations similar to the following:

    Your WP and eStore use the someplace.com/site URL but the product download files are stored in the elsewhere.someplace.com/files URL.

    September 11, 2011 at 9:48 pm #19949
    radupg
    Member

    After installing W3 Total Cache, my free downloads don’t work. All I get is a 0Kb. If I deactivate the plugin the “download now” links work. I unchecked the Enable HTTP (gzip) compression and deleted the .htaccess in the downloads folder. However when I hit download I still get a zero (0 Kb). Also I tried “do not convert method” and still have the issue. I will leave the w3 total cache activated so you can see what happens. Go here to test one of the links: http://www.videos2worship.com/videos/free-fall-worship-hd-mp4-background-loop/

    Looking forward to a solution:)))

    September 11, 2011 at 11:22 pm #19950
    wzp
    Moderator

    Have you tried any of these suggestions?

    https://support.tipsandtricks-hq.com/forums/topic/using-the-plugins-with-w3-total-cache-plugin

    September 12, 2011 at 4:17 am #19951
    radupg
    Member

    Yes I did

    September 12, 2011 at 12:18 pm #19952
    wzp
    Moderator

    Please enable the debug logs in eStore, try a few downloads, and then check the download_manager_debug.log file. Specifically, we need to ensure that the download path is properly processed, that the proper DL method is dispatched, and that a completion status is returned.

    September 12, 2011 at 4:41 pm #19953
    radupg
    Member

    Followed you instructions and changed to different download methods such as “Do not convert” and “relative”. Yet I get same thing…0KB. What I find interesting is that my video files with the extension “wmv” download fine while other extensions such as mpg, mp4 and zip give me a zero file.

    Again this only happens for the files I am offering free by using the code [wp_eStore_download_now_button_fancy id=6]. The files that are for sale download fine.

    September 12, 2011 at 5:01 pm #19954
    wzp
    Moderator

    What are the sizes of the files, you are trying to download, that “work” and don’t work?

    September 12, 2011 at 5:34 pm #19955
    radupg
    Member

    Well, I was wrong… I can’t download wmv either. I must have had the w3 total cache deactivated.:)))

    Is there another good cache plugin that would work well with estore. I need it because bluehost is throttling my website.

    September 12, 2011 at 6:22 pm #19956
    wzp
    Moderator

    Did you perform the advice given about the download_manager_debug.log file? It is important, so that we can determine at what point the downloads are failing. It is also important for us to have an idea of the file sizes you are trying to download.

    September 12, 2011 at 6:24 pm #19957
    wzp
    Moderator

    Also, did you exclude the download.PHP file from caching?

    September 12, 2011 at 7:44 pm #19958
    radupg
    Member

    Status : Resolved DL file path = xxxxxx

    [09/12/2011 7:42 PM] – Status : Dispatching DL method = 1

    [09/12/2011 7:42 PM] – Status : Unresolved DL file path = xxxxxx

    [09/12/2011 7:42 PM] – Status : Resolved DL file path =xxxxxxxx

    [09/12/2011 7:42 PM] – Status : Dispatching DL method = 1

    [09/12/2011 7:42 PM] – SUCCESS : DL completed with no server-side errors detected.

    [09/12/2011 7:42 PM] – Status : Unresolved DL file path = xxxxxxxx

    [09/12/2011 7:42 PM] – Status : Resolved DL file path = xxxxxxxx

    [09/12/2011 7:42 PM] – Status : Dispatching DL method = 1

    [09/12/2011 7:42 PM] – SUCCESS : DL completed with no server-side errors detected.

    The files are somewhere around 50Mb.

    How do i exclude download.PHP file from caching?

    September 12, 2011 at 7:55 pm #19959
    wzp
    Moderator

    So, does each instance of a successful download have a corresponding SUCCESS message in the log, or are there instances where the log disagrees with what really happened?

    You can tell the W3 Total Cache plugin to not cache a particular page by specified that URI in the settings.

    September 12, 2011 at 8:06 pm #19960
    radupg
    Member

    Everything is working now. Thanks for helping me.

    September 12, 2011 at 11:25 pm #19961
    wzp
    Moderator

    Good to hear that.

  • Author
    Posts
Viewing 15 posts - 1 through 15 (of 61 total)
1 2 3 4 5 →
  • You must be logged in to reply to this topic.
Log In

Forum Related

  • Forum Home
  • Forum Search
  • Forum Registration
  • Forum Login

Support Related Forms

  • Contact Us
  • Customer Support
  • Request a Plugin Update
  • Request Fresh Download Links

Useful Links

  • Plugin Upgrade Instructions
  • WP eStore Documentation
  • WP eMember Documentation
  • WP Affiliate Platform Documentation
  • Tips and Tricks HQ Home Page
  • Our Projects

Quick Setup Video Tutorials

  • WP eStore Video Tutorial
  • WP eMember Video Tutorial
  • WP Affiliate Platform Video Tutorial
  • Lightbox Ultimate Video Tutorial

Our Other Plugins

  • WP Express Checkout
  • Stripe Payments Plugin
  • Simple Shopping Cart Plugin
  • Simple Download Monitor

Copyright © 2025 | Tips and Tricks HQ