Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Troubleshooting › Broken Zip File
Tagged: amazon s3, broken ZIP file, debugging, Download, download error, error, estore, S3, zip, ZIP file
- This topic has 14 replies, 6 voices, and was last updated 10 years, 1 month ago by admin.
-
AuthorPosts
-
December 3, 2010 at 11:38 am #2314supermonixMember
Hi, I installed the plugin and created a link for a zip file.
The encrypted link works fine with a pdf file, but not with a zip file.
If I download a zip file directly it opens correctly, but if I download a zip file by the encrypted link the zip file is downloaded, but it does not open and gets an error.
The zip file is a folder with 4 files inside. If the zip file is a single file it works.
The zip file contain an .epub file.
Please, can you help me?
Thank you a lot,
Monica
December 3, 2010 at 12:50 pm #27011wzpModeratorHi,
The encrypted download link mechanism is not dependent upon the kind of file.
1. What version of eStore are you using? If less than 4.7.x, please try an updated copy:
https://support.tipsandtricks-hq.com/automatic-update-request
2. How large is the zip file?
3. Are you using the browser’s built-in downloader, instead of an external download utility?
December 22, 2010 at 8:48 am #27012designthemediaMemberHello,
I have exactly the same problem
I’m using 4.7.8 version of estore.
it is a “big” zip file: 14Mb and I DON’T WANT TO constraint my customer to use another download utility etc. They should use the link for downloading basically how they want to.
any help would be appreciated …. cause I’m still stuck (and it isn’t the 1st pb I had with the suite)
December 22, 2010 at 2:05 pm #27013wzpModeratorDecember 29, 2010 at 9:15 pm #27014LincolnSpectatorI am having the same Broken Zip problem. When I download the ZIP file, my download completes but I get the error message “Compressed Zip Folders Error: Windows cannot open this folder”.
I have tried downloading multiple store items using the Admin link and all share the same problem. My customers are also having this same problem.
Also, the same ZIP file downloads at different sizes some times. So a 10 MB ZIP will download 10 MB one time and 7.5 MB another time. Both downloads are said to be “complete” by my browser, reaching 100%, even though the final file size does not match actual size of the original file.
This problem just started happening this week for me. I ran eStore for 2 months without problems. Now every item I sell has this error. I hope that we can get this sorted out quickly. Digital items sell daily on my website.
December 30, 2010 at 2:22 pm #27015wzpModeratorSince it was working for 2 months, I’m going to discuss two things you can try.
1. If you haven’t upgraded for 2 months, try upgrading to the latest version of eStore, and see if anything changes…
https://support.tipsandtricks-hq.com/automatic-update-request
2. The zip files are different sizes because at sometime during the download process, some condition is causing the server to terminate the download script. There seems to be no precise cause for this; but usually it is due to resource limits of some kind (HTTP send/receive time is suspected) being exceeded on the server. You might be suddenly experiencing this if you are sharing the server with other sites that have heavy traffic (after all, it’s Christmas).
To verify that this is the case, you can enable the debugging on eStore, reset the debug files, and then do some test downloads and examine the download_manager_debug.log file. Under normal circumstances, there will be a “Dispatching DL method…” message, followed by a “No DL errors detected…” message in the log file. If the server is terminating the script before the download completes, there will be a dispatch message, but no completion message in the log file.
One way of getting around this problem is to use the new Amazon S3 integration feature that is in eStore 4.8.x and higher. It will automagically redirect the encrypted links to an S3 bucket, using presigned expiring URL.
To get the latest version of eStore…
https://support.tipsandtricks-hq.com/automatic-update-request
December 30, 2010 at 4:46 pm #27016LincolnSpectatorThanks for the suggestions.
1. I’ve already updated to the newest version of eStore (4.8.x), but this did not solve the problem.
2. I have the debugging already enabled, so I’ll look at the log to try to identify the source of the problem.
3. I’ll also look into the Amazon S3 integration. Can you send me a URL to learn about the Amazon S3 and eStore integration?
I’ll post my findings here to help others who may be having the same problem. Thank you.
December 30, 2010 at 5:35 pm #27017wzpModeratorWP eStore -> Settings -> Addon Settings -> Amazon Web Services (AWS) Simple Storage Service (S3) Related
Click on the “Read Integration Details” link.
December 30, 2010 at 5:36 pm #27018wzpModerator***** AND REMEMBER *****
NO UPPER CASE LETTERS IN THE BUCKET NAMES
January 10, 2011 at 12:34 am #27019LincolnSpectatorOn my download_manager_debug.log file I get the following text when the file DOES NOT download correctly:
[01/04/2011 9:42 PM] – Status : Unresolved DL file path = http://xxx/xxx.zip
[01/04/2011 9:42 PM] – Status : Resolved DL file path = http://xxx/xxx.zip
[01/04/2011 9:42 PM] – Advisory : No DL file path conversion performed on URL.
[01/04/2011 9:42 PM] – Status : Dispatching DL method = 1
[01/04/2011 9:51 PM] – Status : Unresolved DL file path = http://xxx/xxx.zip
[01/04/2011 9:51 PM] – Status : Resolved DL file path = http://xxx/xxx.zip
[01/04/2011 9:51 PM] – Advisory : No DL file path conversion performed on URL.
[01/04/2011 9:51 PM] – Status : Dispatching DL method = 1
I get the following code when it DOES download correctly:
[01/04/2011 7:10 AM] – Status : Unresolved DL file path = http://xxx/xxx.zip
[01/04/2011 7:10 AM] – Status : Resolved DL file path = http://xxx/xxx.zip
[01/04/2011 7:10 AM] – Advisory : No DL file path conversion performed on URL.
[01/04/2011 7:10 AM] – Status : Dispatching DL method = 1
[01/04/2011 7:11 AM] – SUCCESS : DL completed with no server-side errors detected.
Also, I spoke with my hosting company GoDaddy. I have their Grid Hosting (Cloud). They said that there should be no problems with slow bandwidth or timing out. Any ideas what could be the problem?
November 10, 2014 at 12:44 am #27020ozfaderMemberHi, I realise this post is quite old but it’s still very relevant to me.
I am getting errors from downloaded zip files via encrypted links. If I download by navigating directly to the file location, I am able to extract the contents without any problem, however if I download via the email’s encrypted link, I receive the error (on a Mac), “There was a problem while reading the contents of the file “FileName.zip”: Data is corrupted.” I get a similar error on Windows.
As I said, if I download directly, the file opens perfectly. I have recently transferred my site to a new host. Could this have something to do with the problem? If so, what exactly should I be looking for?
Thanks…
November 10, 2014 at 1:40 am #27021wzpModerator- How large is the zip file?
- Have you tried enabling/resetting the eStore debug logs, running some tests, and then examining the Download_Manager_Debug.log file for possible issues?
- Try using Download Method 7.
November 11, 2014 at 12:30 am #27022ozfaderMemberZip is only 198KB.
Sorry, I’m not sure I understand. What, or where, is Download Method 7? Please note that this is a free item delivered via manual checkout.
After reinstalling the eStore plugin, I did a test purchase and ran the debug. Download_Manager_Debug.log file below…
[deleted log file data after checking it]
November 11, 2014 at 12:59 am #27023wzpModeratorI can see the warnings in the logs, but I’m not sure what they mean.
Don’t worry about them.
What, or where, is Download Method 7?
WP eStore –> Settings –> Addon Settings –> EP eStore Download Manager Related –> Download Method –> Method 7, cURL
November 11, 2014 at 1:58 am #27024adminKeymasterI think Download Method 6 will work for you better. Try that and let me know if it still doesn’t work.
-
AuthorPosts
- You must be logged in to reply to this topic.