Forums / Bug Reports / [Done v1.3.9c] downloaded file is not complete, after upgrade

[Done v1.3.9c] downloaded file is not complete, after upgrade

Locked

Views: 3,926

Results 1 to 20 of 27
This thread is locked. New replies are disabled.
4 May 2010, 6:53 PM
#1
tims avatar

tims

New Zenner

Join Date:
Apr 2009
Posts:
16
Plugin Contributions:
0

[Done v1.3.9c] downloaded file is not complete, after upgrade

Using ZC 1.3.9a
Have set up to sell a couple ebooks, but downloaded file is only 4k when the actual book is 5.5Mb. Don't even know where to start looking.

4 May 2010, 9:51 PM
#2
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

What Download Delivery Method are you using? ref: https://www.zen-cart.com/tutorials/index.php?article=292

.
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.

5 May 2010, 12:35 PM
#3
tims avatar

tims

New Zenner

Join Date:
Apr 2009
Posts:
16
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

I've tried the download by streaming and the download without redirect; same results.

5 May 2010, 1:23 PM
#4
tims avatar

tims

New Zenner

Join Date:
Apr 2009
Posts:
16
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

I read this page earlier. I've tried the download by streaming and the download without streaming; same results. I'm using a Windows server.

5 May 2010, 2:40 PM
#5
dreamyunicorn avatar

dreamyunicorn

New Zenner

Join Date:
May 2010
Posts:
14
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

For others having this problem my problem was fixed by my host today by unsticking safe mode.

I just wanted to post this here to for tothers who may be looking for this answer.

9 May 2010, 5:21 AM
#6
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

I've just upgraded from 1.3.8 to 1.3.9a. No problems previously with download links working. Now customers get empty zip files. My admin area shows the green light that files are correctly linked.

I've checked the actual zip files and they are fine. The issue is that when a customer downloads the zip file, it's empty. I've read the other posts of others having the same issue, however I don't understand the solution.

I contacted my ipower host and asked them to "unstick safe mode". They aren't sure what I'm asking them to do. Is there another way I can ask them to do this that they may understand?

9 May 2010, 6:57 AM
#7
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

The idea of "unsticking safe mode" is something you gleaned from what one particular other user has said. Best to ask them to clarify, as that appears to be a workaround unique to their particular setup.
http://www.zen-cart.com/forum/showthread.php?p=880510#post880510

.
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.

9 May 2010, 4:12 PM
#8
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

Dr Byte, any ideas in general to what else I may check since that may have been their individual setup? (I am attempting to contact them by private message)

I've upgraded from 1.3.8 to 1.3.9a. Downloads working prior to that time. Uninstalled and reinstalled all shipping and payment modules that I use. Anything maybe I missed in the upgrade steps? Stumped!

9 May 2010, 9:55 PM
#9
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

Used to be downloading by redirect unsuccessfully (linux), however 1.3.8 worked fine by streaming per your suggestion.

Now s/p upgrading to 1.3.9a, all downloads are empty. Checked with my host and the php file is not on safe mode. Any assistance would be greatly appreciated!

10 May 2010, 4:55 AM
#10
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

Used to be downloading by redirect unsuccessfully (linux), however 1.3.8 worked fine by streaming per your suggestion.
You are posting in the Windows Server section....
What server type are you on?

Zen-Venom Get Bitten

10 May 2010, 2:44 PM
#11
tims avatar

tims

New Zenner

Join Date:
Apr 2009
Posts:
16
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

I've been suffering the same problem for a week now. Upgraded to 1.3.9b - more problems, didn't fix the empty file problem. Stick with fixing the problem before trying to upgrade to 9b.
I also do not have unsafe mode issue, just can't download zips or epubs or pdfs.

10 May 2010, 9:07 PM
#12
kobra avatar

kobra

Black Belt

Join Date:
Aug 2005
Location:
Arizona
Posts:
31,500
Plugin Contributions:
4

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

TimS:

I also do not have unsafe mode issue, just can't download zips or epubs or pdfs.
Please check your private messages

Zen-Venom Get Bitten

10 May 2010, 9:56 PM
#13
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

Apologize, my posts should be in Linux area! Don't see any private message at this time.

11 May 2010, 3:03 PM
#14
yanachka avatar

yanachka

New Zenner

Join Date:
May 2010
Posts:
16
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

I am also still stuck with this problem. The download is 4K. I tried to delete the existing installation, and installed the new version, 9b. But the problem is still there. There was no problems in the beginning, but then suddenly the downloads are only 4k. I wonder what could be the issue? I have tried many things, like (I posted this on a another place);
Changed permission of /pub folder and /download folder to 777
Re-uploaded the files
Deleted the products and created same new ones
Zipped the folders again and uploaded them again
Tried changing the download options, by redirect, by streaming, both false, both true, one false and the other true
Tried downloading from IE
Tried opening the file instead of saving it

11 May 2010, 4:15 PM
#15
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

yanachka:

There was no problems in the beginning, but then suddenly the downloads are only 4k.
So, what changed between "in the beginning" and "suddenly"?

  • were you hacked?
  • did your hosting company change software versions on the server? maybe they changed permissions?
  • add new addons?
  • etc

You said you upgraded after this problem started manifesting, so it's not really an upgrade issue, right?

.
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.

11 May 2010, 5:22 PM
#16
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

I wasn't having any difficulties with 1.3.8. Empty zip file downloads occurred immediately after I upgraded to 1.3.9a

I also tried changing back to redirect instead of streaming, no change so I placed back to streaming. Files are linked in the download folder as directed. Folder permissions in pub 777.
Manually navigating to the folder and opening the zip file shows the file is OK.

I am using Cherry Zen template is that matters. The upgrade didn't seem to effect the template display. Functionality appears the same when in the ordering process and going to download the file... just an empty zip file.

ipower account not in safe mode.

11 May 2010, 9:25 PM
#17
drbyte avatar

drbyte

Sensei

Join Date:
Jan 2004
Posts:
63,513
Plugin Contributions:
176

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

When you use Redirect mode, it will create a new folder inside your /pub/ folder, and inside that folder will be a symlink (shortcut) for the file to be downloaded.
Can you check whether those exist? The folder will have today's date/time on it.

Next, if you put that folder and path into your browser's Address bar, will it download that file?
ie: http:// your_domain/pub/.xyzabcdefghji12345/filename.zip

And, when it downloads the file that way, is it complete?

.
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.

12 May 2010, 12:42 AM
#18
stitchjunkie avatar

stitchjunkie

New Zenner

Join Date:
Sep 2009
Posts:
72
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

When set to redirect, creates the folder, however it is empty. When I type the direct link I get "Forbidden
You don't have permission to access /pub/.xbuqygqyxxxxx on this server. Additionally, a 301 Moved Permanently error was encountered while trying to use an ErrorDocument to handle the request." So it doesn't even create the Symlink.

I had that problem in 1.3.8 and you had me set to download by streaming and that's how I was doing it up to the upgrade to 1.3.9a

Pub folder set @ 777
I've set the downloads back to streaming

12 May 2010, 12:14 PM
#19
yanachka avatar

yanachka

New Zenner

Join Date:
May 2010
Posts:
16
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

DrByte:

So, what changed between "in the beginning" and "suddenly"?

  • were you hacked?
  • did your hosting company change software versions on the server? maybe they changed permissions?
  • add new addons?
  • etc

You said you upgraded after this problem started manifesting, so it's not really an upgrade issue, right?

I was uploading some products and testing them t the same time and the downloads were working fine. Next day when I tried to test again they were not working anymore.
It is not an upgrade issue. I just thought that maybe I changed some settings in the a version, and decided to completely remove it and install b version when I saw it out.
I contacted the hosting company yesterday, still waiting for a reply.

12 May 2010, 11:53 PM
#20
yanachka avatar

yanachka

New Zenner

Join Date:
May 2010
Posts:
16
Plugin Contributions:
0

Re: [Done v1.3.9c] downloaded file is not complete, after upgrade

Hello,

I just wanted to let you know guyz, I changed my host and the downloads are working right now. Will post if something goes wrong again.
Have a good day.