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
- This topic has 60 replies, 12 voices, and was last updated 10 years, 9 months ago by wzp.
-
AuthorPosts
-
April 22, 2010 at 8:33 am #1112amin007Participant
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.zipWhere as the following are not (see how it is missing the “http” keyword?):
www. example.com/my-file.zip
example.com/my-file.zipChecklist 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:
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.
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 #19948wzpModeratorAlso…
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 #19949radupgMemberAfter 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 #19950wzpModeratorHave 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 #19951radupgMemberYes I did
September 12, 2011 at 12:18 pm #19952wzpModeratorPlease 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 #19953radupgMemberFollowed 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 #19954wzpModeratorWhat are the sizes of the files, you are trying to download, that “work” and don’t work?
September 12, 2011 at 5:34 pm #19955radupgMemberWell, 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 #19956wzpModeratorDid 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 #19957wzpModeratorAlso, did you exclude the download.PHP file from caching?
September 12, 2011 at 7:44 pm #19958radupgMemberStatus : 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 #19959wzpModeratorSo, 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 #19960radupgMemberEverything is working now. Thanks for helping me.
September 12, 2011 at 11:25 pm #19961wzpModeratorGood to hear that.
-
AuthorPosts
- You must be logged in to reply to this topic.