Download corrupt

Locked

Started by freya on 26 Sep 2007, 5:26 PM · Views: 20,177

Results 61 to 80 of 94
This thread is locked. New replies are disabled.
20 Dec 2007, 1:01 AM
#61
askmefor avatar

askmefor

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Download corrupt

NO, I've tested with both options disabled. its same thing, in pdf it embeds page code at the end which changes the file size as well.

21 Dec 2007, 1:53 AM
#63
askmefor avatar

askmefor

New Zenner

Join Date:
Oct 2007
Posts:
31
Plugin Contributions:
0

Re: Download corrupt

Thanks for your suggestions. I've updated to ver 1.38, updated database as well1.38... Now its totally different issue :)

See: http://www.zen-cart.com/forum/showthread.php?t=83502

4 Jan 2008, 1:56 PM
#64
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: Download corrupt

Hi, I have uploaded to v1.3.8, tried the file uploaded by dr.Byte, but still having the error, can anybody help?

I am using php5.2.2 with apache 1.3.37.

Thanks in advance.

The greatest pleasure in life is doing what people say you cannot do.

Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation

4 Jan 2008, 1:59 PM
#65
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: Download corrupt

The zip file, after being successfully downloaded, shown this error when opened: start of central directory not found; Zip file corrupt.

I removed the .htaccess file inside download/ folder and the files were able to be downloaded & opened by direct linking to them, so the problem must be within thee Zen-Cart code for transferring the files.

You can try to go to the folder directly in http://webextremecustomiser.com/download/

The greatest pleasure in life is doing what people say you cannot do.

Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation

12 Jan 2008, 11:42 AM
#66
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: Download corrupt

Done with the problem, if you found a similar problem, try checking your Zen-Cart root installation folder, find a folder named "pub" and change its permission to 777.

The greatest pleasure in life is doing what people say you cannot do.

Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation

14 Jan 2008, 5:45 AM
#67
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download corrupt

Thanks for posting the solution that you had just forgotten to set the permissions on the directory /pub ... always a help to others ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

14 Jan 2008, 10:03 AM
#68
jaycode avatar

jaycode

Zen Follower

Join Date:
Jun 2007
Location:
Australia - Melbourne
Posts:
306
Plugin Contributions:
1

Re: Download corrupt

Ajeh:

Thanks for posting the solution that you had just forgotten to set the permissions on the directory /pub ... always a help to others ... :smile:
And will always be happy to help out, Linda :)

The greatest pleasure in life is doing what people say you cannot do.

Check on www.WebExtremeCustomiser.com for my modules (free contribution):
AJAX Image Swapper
AJAX Banner Swapper
Fixed Navigation

1 May 2008, 7:15 AM
#69
freya avatar

freya

Zen Follower

Join Date:
Mar 2006
Posts:
122
Plugin Contributions:
0

Re: Download corrupt

This has cropped up for me again. (sigh) I know I need to upgrade to 1.3.8a (currently in 1.3.7), but again dread the time involved. I am not sure if this will solve the issue or if it is truly my host. Has anyone else had this problem using Siteground as your host? If necessary, PM me privately about it.

Also, I have the occasional issue of a customer getting kicked out of their account when signed in or first signing in to the point that they become so frustrated they don't buy. Would this be something going on with my server or Zen Cart? (They will try repeated times to do it and finally give up.) I know Zen Cart is a great program and many people use it successfully. I am trying to figure out what I am doing wrong. If it's me, my server, etc. At least one person I know of does not have any apostrophes in their address. (I read this being a problem with Authorize.net in another thread.)

Thanks,

Marci

Marci Baun, Publisher
http://www.wildchildpublishing.com/ -- Break free...read wild!
http://www.freyasbower.com/ -- Weaving passion into words...

21 Oct 2008, 10:51 PM
#70
ccembd avatar

ccembd

New Zenner

Join Date:
Apr 2008
Location:
Calif
Posts:
86
Plugin Contributions:
0

Re: Download corrupt

Thank you for this thread, I just changed the permisson on the pub folder to 777, now to get some customers to test it for me. Freya, I use siteground also. I will have to get back to you on whether or not changing the permission on pub worked or not.

My problem is pretty consistant with all that were mentioned here. Except my pdf downloads were never an issue. Only my zip files. And they were never a problem for me.. go figure I could download till the cows came home and never got an error, my customers on the other had... oh wow... it has gotten to the point of embarressing, zip would work fine for one customer and the very same zip would be corrupt for the next.
Don't know why they always work for me. But I did have a friend test it and out of 4 downloads 1 was corrupt for her. I will have to have test this again, but in the mean time I do have customers currently on my site shopping so I hope I don't get any customer support emails needing help.

I'll post back as soon as I verify this solution has worked for me using site ground.

22 Oct 2008, 2:42 AM
#71
freya avatar

freya

Zen Follower

Join Date:
Mar 2006
Posts:
122
Plugin Contributions:
0

Re: Download corrupt

I changed hosts and haven't had issues since, but we also upgraded the cart. And my problems were with both PDF and zip files. It didn't matter which.

Marci

Marci Baun, Publisher
http://www.wildchildpublishing.com/ -- Break free...read wild!
http://www.freyasbower.com/ -- Weaving passion into words...

22 Oct 2008, 5:14 AM
#72
yellow1912 avatar

yellow1912

Totally Zenned

Join Date:
Oct 2006
Posts:
5,422
Plugin Contributions:
0

Re: Download corrupt

Zip file is always an issue, not only with zen, on an average of 10 zip files I download there will be at least 1 that has to be redownloaded.

Corrupted zip files are 99% of the time caused by what is called packet loss during the download process. This means that if your internet connection has even the slightest of hiccups during the download process, it will cause a millisecond disturbance to the data stream and your download will not be downloaded completely. So even if you get 99.999999% of the file, it still will not work.

I no longer provide installation support on forum for all my modules. However, if there are real bugs with the modules please feel free to contact me

26 Oct 2008, 6:30 PM
#73
ccembd avatar

ccembd

New Zenner

Join Date:
Apr 2008
Location:
Calif
Posts:
86
Plugin Contributions:
0

Re: Download corrupt

Ok, it's been a week, and not a single customer support email has been sent to me regarding corrupt downloads. I have been closely monitoring the orders, and some customers do seem to have to download the product twice, but that seems to work ok for them since they aren't emailing me anymore with complaints.

I only changed the permission on my downloads folder and I have tried gaining access to my folder with a direct link and I was unable to get in. Which is very very good.

So, even being on SiteGround, I now have downloads that work, and I am just thrilled.

Those having the issues with the PDFs, do you have them in your download folder? Or in the Doc folder? I put everything in my download folder. And my PDFs when the download is clicked, it actually opens a new window and opens the PDF. Not sure if that is how its suppose to work, but I have never had a complaint from a customer on that one. LOL

So :bigups::bigups::bigups: for all the great advice given here.
Thank you so much.

5 Nov 2008, 6:16 PM
#74
ccembd avatar

ccembd

New Zenner

Join Date:
Apr 2008
Location:
Calif
Posts:
86
Plugin Contributions:
0

Re: Download corrupt

Ok.. the same problem is back. And this time it has cost me customer, not to mention hours emailing zip files to customers who say they can't open theirs due to it being corrupt. :censored::censored: Sitegrounds answer to my problem... spend a minimum of $99 a month to have private space.

This is their exact answer to my asking for help in resolving this issue....
"I am truly sorry to read about the issues you have been experiencing with our servers. From I have read, it appears that the PHP script is either failing to execute in time, or the download is being terminated after a certain amount of time. The first issue might be caused by the fact that this is a shared server, and the system resources are being spread equally amongst all accounts on the same server. On peak hours when the resource consumption is higher, the PHP execution times become a bit larger, which may cause timeouts. Additionally, the bandwidth is being reduced by the usage of the other customers, which again can cause the incomplete downloads. My recommendation on this case is to consider upgrading to one of our Dedicated Solutions. These servers offer much more customization and you will be the only one, who will use the server system resources and bandwidth. You can find more information regarding our Dedicated Solutions on the following URL:

siteground.com/dedicated_solutions.htm

I can not afford an additional $99 a month, can anyone recommend a new server who has the capability of giving me reliable downloads for my customers? I have looked at Hostmonster and they do offer ZenCart, which is a big factor, but I can't find any reviews about how files download from them.

Any suggestions or help would be most welcomed. Siteground is causing me to lose $$ by having unhappy customers, and countless hours each week emailing files and putting out fires.

Thank you
Cat:cry::cry:

5 Nov 2008, 7:20 PM
#75
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download corrupt

For $99 a month and problems why don't you look into our Certified Hosting sites and discuss with them your needs and problems as see if one of them can't come up with a solution for the same or less money ...

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

7 Nov 2008, 3:50 AM
#76
hrinfo avatar

hrinfo

New Zenner

Join Date:
May 2008
Posts:
98
Plugin Contributions:
0

Re: Download corrupt

Hi Everyone,

Just a quick reminder for everyone. I had the same problem for a week now until I realised that I forgot the most basic thing in regards to files.

Check that you upload your files in BINARY format. Do not assume that your FTP program does that automatically. I had changed my client to ASCII because of something that I was doing and forgot it and spend a week trying to fix the download corrupt problem going through every singly thread on the topic.

Then I realised it and did a clean upload in binary and problem solved immediately :-)

Just thought to remind everybody.

Regards,

Tassos

8 Nov 2008, 3:04 AM
#77
ccembd avatar

ccembd

New Zenner

Join Date:
Apr 2008
Location:
Calif
Posts:
86
Plugin Contributions:
0

Re: Download corrupt

Ok my problem is fixed! I changed servers! I am happily homed on Camelot http://www.camelot-hosting.com/hosting/ Thank you Ajeh! It appears I have bought you all a cup of coffee :clap::clap:

And thank you to the fantastic support team who held my hand through the whole process, and put up with my constant online chats :blink::blush:

So, all I can say to anyone else who is having download issues that you just can't seem to fix trying all the other recommendations, go to Camelot, their prices are excellent and the service is superior.
:D :wub: Now I can get more :sleep1: because I am not worring about my customers.

8 Nov 2008, 5:11 AM
#78
ajeh avatar

ajeh

Oba-san

Join Date:
Sep 2003
Location:
Ohio
Posts:
62,757
Plugin Contributions:
1

Re: Download corrupt

Glad to hear you were able to get things working better with one of our Certified Hosts ...

Good luck with your site ... :smile:

Linda McGrath
If you have to think ... you haven't been zenned ...

**Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!**

Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today!]
Officially PayPal-Certified! Just click here

Try our Zen Cart Recommended Services - Hosting, Payment and more ...
Signup for our Announcements Forums to stay up to date on important changes and updates!

10 Apr 2009, 6:25 PM
#79
debbiekipt avatar

debbiekipt

New Zenner

Join Date:
Jan 2008
Posts:
28
Plugin Contributions:
0

Re: Download corrupt

Thanks Jaycode for your post about changing the PUB to 777 - having now tried that my previously corrupt zip files are downloading perfectly! Many thanks! :clap:

I know nothing about the numbers but trust changing PUB from 0755 to 0777 will not cause any other issues whilst curing this one!

24 Oct 2009, 2:08 AM
#80
chestnut_junction avatar

chestnut_junction

New Zenner

Join Date:
Aug 2009
Posts:
35
Plugin Contributions:
0

Re: Download corrupt

I have been reading and re-reading this thread and doing all of the above in hopes of curing my problem, but to no avail. The issue is that 90% of the pdf downloads I test will come through as corrupt and furthermore, when I zip the pdfs, the zip file downloads at 0mb (no information inside). I have set my Pub folder to 777 as well as my download folder, my pdf names are legal, I have tried streaming, and changing redirect AND streaming to false and still have corrupt pdfs. My question at this point is will a dedicated server help with this issue or if someone could explain in more detail how I would go about editing the php.ini file on my server (even though it is a shared server) to a setting that will not time out on download. Also, I am on a unix/linux server therefor, download by redirect should work, but each time I use this setting, I get a 404 forbidden message even with Pub set to 777???

Thanks in advance!
~Chris
https://www.epatternjunction.com