.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
I was going to update from 1.3.2 to 1.3.7, but decided to do a new install instead as it seemed easier and less problematic, so that is what I did.
Marci Baun, Publisher
http://www.wildchildpublishing.com/ -- Break free...read wild!
http://www.freyasbower.com/ -- Weaving passion into words...
I was having some problems in the beginning, but then they fixed the symlink issue, so that's not a problem. They upgraded their servers, but it didn't affect my downloads. In any case, I have gone to streaming, but now people are getting errors that the files are not found when they are on the server, in the correct folder, and it shows in admin that they are there, AND I still have the corrupt file problem. I have zipped my files, although that really shouldn't be necessary as people download pdf files off the internet without a problem all of the time.
Should I reinstall Zen Cart? (Gah! Thinking about it makes me shudder. LOL) I'll do it if it might fix this mess.
Thanks,
Marci
Marci Baun, Publisher
http://www.wildchildpublishing.com/ -- Break free...read wild!
http://www.freyasbower.com/ -- Weaving passion into words...
I'm not optimistic that a re-install will make much difference, since I suspect the problem is a server thing.
However, you could test the theory by installing into a subdirectory, with a fresh set of files, and using a separate new temporary database. Then set up a couple products with downloads, and test. If the problem "does" go away, then maybe it's worth the re-install. Or at least worth doing a careful comparison of all your settings, etc.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
If it is an issue with the server translating Zen Cart, what do I do? Query them?
Marci
Marci Baun, Publisher
http://www.wildchildpublishing.com/ -- Break free...read wild!
http://www.freyasbower.com/ -- Weaving passion into words...
There are too many unknowns to be able to know exactly what's causing it.
You said it used to work reliably.
Your hosting company says they've changed some things.
But they won't tell you *what*. Most likely they don't even know *exactly what*.
So, they're just going to "pass the buck" and blame your software ... ie: Zen Cart.
If we knew what exactly they changed, we might have an idea of what to tell them to undo, or maybe even a way to write code to override the mess their changes have caused.
Since I doubt they're going to help you at all, any resolution is going to require a lot of research, including trial-and-error.
And, since the problem seems to be intermittent and cannot be repeated consistently "on demand", it's going to be a very tough one to solve.
But, if you can find a pattern, or narrow it down to certain specific conditions during which the downloads fail, there might be some hope.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Some of the things we'll need to know are:
- *how* is the file corrupted? -- ie: is it too short? or too long?
- does it contain any extra characters, either at the top or the bottom?
- does it happen with *any* file, or just specific ones?
- what's common with respect to the failures? file sizes similar? file type? file extension?
- is there any pattern to the browsers used?
You already mentioned earlier that you were:What sort of observations have you made?I have been querying customers who've had download problems to see what browser, OS and internet speed they have to see if there is any correlation between these and the download issue.
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Do you have GZip compression enabled in Admin->Configuration->GZip ?
Is there any difference if you change the setting there?
Turning it off might be a help.
What is your setting in Admin->Tools->Server Info for "output_buffering" ? (go to that screen, and search for output_buffering, and report the values shown beside it).
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Okay. I have at least found why the file is said to be corrupt: There is HTML inserted at the end. For some reason, some computers can open it fine where others can't. The original files do not have HTML in them. What would cause a file to have HTML inserted into it?
I have informed my server about what is happening.
This still does not explain why some times files are not found.
Marci
Marci Baun, Publisher
http://www.wildchildpublishing.com/ -- Break free...read wild!
http://www.freyasbower.com/ -- Weaving passion into words...
Alright, this is what I have learned from my server:
As I am on a shared server, Apache is set to time out at after a certain time. I find this a bit upsetting as we have very few files larger than 1 MB. Even if someone buys say five books at a time that are 1 MB/book, you are only looking at a 5 MB download. Say a few other people are buying and downloading at the same time, this still shouldn't be that much of an issue. I never exceed my daily limit. We have decent sales, but nothing that should overtax the server or go past our limit (5000 GB/mo). It looks as if I will need a new host if this cannot be resolved. (sigh) I am not going to pay $89/month for a virtual private server when the file sizes are so small. We do not have enough product to warrant a private server.
Breathe, Marci. Breathe.
Marci
Last edited by freya; 29 Sep 2007 at 08:10 AM.
Marci Baun, Publisher
http://www.wildchildpublishing.com/ -- Break free...read wild!
http://www.freyasbower.com/ -- Weaving passion into words...