Forums / Setting Up Categories, Products, Attributes / Downloaded file error message

Downloaded file error message

Locked

Started by portraitartist on 9 Jul 2006, 10:44 PM · Views: 11,478

Results 21 to 40 of 62
This thread is locked. New replies are disabled.
8 Aug 2006, 1:00 AM
#21
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Downloaded file error message

Hi Ajeh, Thanks for your prompt reply, Here are my answers of all of the questions you asked...
You either have bad files uploaded that you are downloading ... or you have incomplete downloads occuring ... All downloads are valid files and complete files... If I try to download the file from direct link it works fine.

Do you receive the downloads by the correct name? YES

Are they the correct size? YES

Is this a unix or windows server? Windows

How large are the downloads? I've upload three files all under 1 MB

Do the filenames for the downloads contain spaces, special characters or extra periods beyond the filename.ext= No all are simple files names.. eg ajk.zip etc.zip

Are the all loaded to /download directory? Yes all under download main directory

Is pub set to 777? YES PUB directory has 777 permissions

If unix is Redirect turned ON : NA

If windows is Redirect turned OFF? YES

Do small downloads of less than 100k work? NO

Do you see the green dot next to the filename on the Attributes Controller? YES

8 Aug 2006, 2:02 AM
#22
ajeh avatar

ajeh

Oba-san

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

Re: Downloaded file error message

Who are you hosting with?

Has this ever worked?

And the downloads you manually do don't throw the bad Zip file error when you attempt to open them?

What happens if you delete one, and reload it? Now can you get it from the My Account of the order?

Have you attempted to turn on in the Configuration ... Attribute Settings ...

Download by streaming
If download-by-redirect is disabled, and your PHP memory_limit setting is under 8 MB, you might need to enable this setting so that files are streamed in smaller segments to the browser.

Has no effect if Download By Redirect is enabled.

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!

8 Aug 2006, 2:20 AM
#23
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Downloaded file error message

Thanks for your quick response again, You surprised me :) thanks you so much..
here are the answers accordingly,
I am running this website on my own hosting at home, so for sure I've got full access to change everything :)
I tested it few days ago.. and it was worked for a couple of times when I tested and put it online, but later on it stopped working, and I believe I didnt change any thing after that except adding 2 more products.
I've tested it with both off and on setting in Atribute Settings, but invain :(

whereas "If download-by-redirect is disabled, and your PHP memory_limit setting is under 8 MB, you might need to enable this setting so that files are streamed in smaller segments to the browser." I need to check it later once i get back to home.
do you think that might be the reason, or if there is any other thing i need to change please advise,,,

8 Aug 2006, 2:23 AM
#24
ajeh avatar

ajeh

Oba-san

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

Re: Downloaded file error message

Could be ...

When you get it to a real server it would be a lot easier to determin these things and assure that there are not errors in your setup on your home system ... :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!

8 Aug 2006, 9:14 AM
#25
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Downloaded file error message

Hi, It me again, with same file downloading problem.
If I enable download-by-redirect and my php PHP memory_limit is 8 MB, it just download 108 KB segment despite of showing 0.98 MB total file size.
But if I disable download-by-redirect then it download the complete file but cant open it .. same problem.

8 Aug 2006, 9:22 AM
#26
drbyte avatar

drbyte

Sensei

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

Re: Downloaded file error message

Try hosting it from a commercial location and you'll likely find that it works fine. I suspect it's a configuration issue on your home server.

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

8 Aug 2006, 10:00 AM
#27
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Downloaded file error message

Mate I've been using commercial server for long time, but there were so many other issues.
Also I've been working for a hosting company and server admin, if there is any server config error I need to find out and solve it. Everything is in my control and I can solve it. I am sure ;)

8 Aug 2006, 9:30 PM
#28
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Downloaded file error message

HI Ajeh, For some reason its working fine when I try to download it from my home system, I deleted all temp files and even all instances of abc.zip file, but it worked fine, but now when I try to downlooad the same file here, it started giving me same erro...:(

9 Aug 2006, 12:46 AM
#29
ajeh avatar

ajeh

Oba-san

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

Re: Downloaded file error message

I am really not following what you are trying to say ... :blink:

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!

9 Aug 2006, 1:18 AM
#30
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Downloaded file error message

Oh sorry I made it bit complex...

  • I deleted all the temp files from my home PC
  • I loged in as test user
  • downloaded the file from my site without any error
    But unable to open the downloaded files from anywhere else (same error)
9 Aug 2006, 1:48 AM
#31
ajeh avatar

ajeh

Oba-san

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

Re: Downloaded file error message

Where does it work from? "It" I am assuming means download ...

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!

9 Aug 2006, 2:15 AM
#32
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Downloaded file error message

Oh sorry I made it bit complex...

  • I deleted all the temp files from my home PC (C:\windows.......)
  • I loged in as a test user
  • downloaded the file from my site without any error
  • downloaded file works fine, opens prefectly

But if I download the same file from my office, it gives me error after downloading (If you downloaded this file, try downloading the file again.") despite of file size is same and accorate.

9 Aug 2006, 2:20 AM
#33
ajeh avatar

ajeh

Oba-san

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

Re: Downloaded file error message

Any chance your computer is or browser is upset?

What happens when you test from a 3rd computer?

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!

9 Aug 2006, 2:36 AM
#34
true_smilez avatar

true_smilez

New Zenner

Join Date:
Apr 2006
Posts:
14
Plugin Contributions:
0

Re: Downloaded file error message

i've tried different computers with different browsers and operating systems, but same error ...

9 Aug 2006, 3:31 AM
#35
ajeh avatar

ajeh

Oba-san

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

Re: Downloaded file error message

Is this site suppose to be reachable by anyone?

As is there an URL that we can try?

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!

9 Aug 2006, 5:15 AM
#37
drbyte avatar

drbyte

Sensei

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

Re: Downloaded file error message

I would suggest setting up a fresh v1.2.7 install from a freshly-downloaded ZIP (since you're using v1.2.7 according to one of your posts) and create a downloadable product for testing.

Then, since v1.3 introduced some improvements to the download process, allowing files to be streamed in chunks rather than dumped from the webserver, I'd suggest you set up a fresh v1.3.0.2 (the latest released version as of today) install and test a downloadable product. Try adjusting the download method in Admin->Configuration->Attribute Settings to use streamed downloads as one of your tests.

It will be interesting to know whether a fresh 127 install helps, or a fresh 1302 install helps, or if none help.

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

10 Aug 2006, 4:26 AM
#38
ajeh avatar

ajeh

Oba-san

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

Re: Downloaded file error message

true_smilez:

yes.. i already gave you the url... it is http://www.imranseries.com//index.php?main_page=index&cPath=64
Thanks

Any particular reason your site is configured with that typo in the URL that could be breaking things from working properly?

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!

11 Aug 2006, 3:38 PM
#39
joanorsky avatar

joanorsky

New Zenner

Join Date:
Jul 2006
Posts:
25
Plugin Contributions:
0

Re: Downloaded file error message

true_smilez:

i've tried different computers with different browsers and operating systems, but same error ...

Samething is hapening here!!

The files get corrupted when downloaded... and i did make sure they are ok on the server. I've tryed all types of configuration i think... and it seems to be something with the transmition method. The downloaded file always comes shorter for a few bytes (ive checked them both with a hex editor to make sure)..

I'm using powweb hosting.... by the way..

11 Aug 2006, 5:54 PM
#40
ajeh avatar

ajeh

Oba-san

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

Re: Downloaded file error message

joanorsky ...

What version of Zen Cart ...

Clean install or an Upgrade ...

If an Upgrade what version were you and how did you upgrade?

How large are your download files?

Are they all in the /download directory?

Is /pub set to 777

Do the filenames have spaces or special characters or extra periods beyond the filename.extention

Are the files Zipped?

Can you download a small 100k file?

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!