Zen Cart Logo
Forums / All Other Contributions/Addons / Download Fetch [support thread]

Download Fetch [support thread]

Views: 13,439

Results 81 to 100 of 120
6 Oct 2010, 4:23 AM
#81
filmfr3ak avatar

filmfr3ak

New Zenner

Join Date:
Jun 2006
Posts:
35
Plugin Contributions:
0

Download Fetch [support thread]

Just an update:

After "upgrading" to 1.3, everything worked fine, except clicking the link in the email only gave a WHITE webpage no download.

I replaced the INCLUDES>MODULES>PAGES>FETCH>header_php.php with the same file from the 1.2 version of the mod and it WORKS! Totally fixed it!

Have tested on a smallish 10mb file and also a larger 60mb file.

both downloaded successfully in IE and FF AND unzipped with no errors.

:clap:

5 Nov 2010, 3:36 PM
#82
ruready avatar

ruready

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: Download Fetch [support thread]

Hello.

ZC 1.3.9g

fetch 1.3 but the help says 1.2

Everything works except the file download. I have had this working before on this site. I am using the Cherry Zen template. The site is still being developed but here is the link: tabortools.net.

When i submit the request for a download, I get the email and when I respond to the email link I get:

IE -> HTTP 500 The website cannot display the page
Mozilla -> blank white page

I used to get a direct download box with the file. Because the site is being developed, I'm not sure at what point the link stopped working.

Any suggestions to fix this?

Thanks.

Great mod by the way.

Louis

5 Nov 2010, 3:59 PM
#83
ruready avatar

ruready

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: Download Fetch [support thread]

By the way, I tried the fix from filmfr3ak above and the file box came up and attempted to look for the file and errored out saying it couldn't open the site.

Louis

5 Nov 2010, 5:03 PM
#84
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Download Fetch [support thread]

ruready

This might be the code that is creating your error.

Test and let me know.

Find file /includes/modules/pages/fetch/header_php.php and about line 60 you will see.

	
// Is Apache trying to compress the output:
	@apache_setenv('no-gzip', 1);
	@ini_set('zlib.output_compression', 0);

Change to look like this.

// Is Apache trying to compress the output:
//	@apache_setenv('no-gzip', 1);
//	@ini_set('zlib.output_compression', 0);

That commented out the code so it will not run.

Skip

5 Nov 2010, 5:23 PM
#85
ruready avatar

ruready

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: Download Fetch [support thread]

Thanks Skip, I really appreciate the response.

I tried the fix as suggested but it did not work. The file works fine in Firefox now but not IE7.

What's next?

5 Nov 2010, 5:37 PM
#86
ruready avatar

ruready

New Zenner

Join Date:
Oct 2010
Posts:
7
Plugin Contributions:
0

Re: Download Fetch [support thread]

Man, I wish I understood this stuff better....

Noticing the code fix you gave me said something about gzip, so I changed this setting in the admin gzip section to "on" and it seems to be working in both browsers now. Is GZIP supposed to be on for fetch to work?

Thanks again Skip, I'm grateful for your help.

Louis

5 Nov 2010, 6:15 PM
#87
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Download Fetch [support thread]

ruready:

Man, I wish I understood this stuff better....

Noticing the code fix you gave me said something about gzip, so I changed this setting in the admin gzip section to "on" and it seems to be working in both browsers now. Is GZIP supposed to be on for fetch to work?

Thanks again Skip, I'm grateful for your help.

Louis

Yes and No
As you know each server is different and writing code to work across so many unique setups is where the challenge is.
So if turning on gzip for you works yes it needs it. But for others no it is not needed.

Skip

29 Dec 2010, 4:51 PM
#88
tcjay avatar

tcjay

Zen Follower

Join Date:
Jul 2010
Location:
Boston
Posts:
139
Plugin Contributions:
0

Re: Download Fetch [support thread]

I am having trouble understanding what I should do. I have install the 1.3 version of download fetch.

I would like to have a free download on my shopping cart. The customer must purchase the product at no cost and then receive a link to the download page.

The readme file suggests placing the link to the download in the product description.

What exactly do I need to do to accomplish this or do you know of a website that has this set up that I can look at.

TIA Tom :cool:

29 Dec 2010, 5:24 PM
#89
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Download Fetch [support thread]

I would like to have a free download on my shopping cart. The customer must purchase the product at no cost and then receive a link to the download page.

The Fetch Mod is not used for this kind of setup. You need to use Zen Carts built in download of products.

Take a look at How do I add downloads to products? make products downloadable?

Skip

24 Jul 2011, 11:56 PM
#90
jt1020 avatar

jt1020

New Zenner

Join Date:
Apr 2011
Posts:
56
Plugin Contributions:
0

Re: Download Fetch [support thread]

I just installed this and everything is working fine except for the downloading of the file from the email link.

When I tested it, I clicked on the link that was emailed and received the error message HTTP 500.

After reviewing some of the posts, I found the following instructions:

Find file /includes/modules/pages/fetch/header_php.php and about line 60 you will see.

	
// Is Apache trying to compress the output:
	@apache_setenv('no-gzip', 1);
	@ini_set('zlib.output_compression', 0);

Change to look like this.

// Is Apache trying to compress the output:
//	@apache_setenv('no-gzip', 1);
//	@ini_set('zlib.output_compression', 0);

I made the change and now the download box opens and along with another box with the error message:

Internet Explorer cannot download index.php from mysite.com. Internt Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found.

What am I missing?

25 Jul 2011, 10:24 PM
#91
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Download Fetch [support thread]

jt1020:

I just installed this and everything is working fine except for the downloading of the file from the email link.

When I tested it, I clicked on the link that was emailed and received the error message HTTP 500.

After reviewing some of the posts, I found the following instructions:

Find file /includes/modules/pages/fetch/header_php.php and about line 60 you will see.

// Is Apache trying to compress the output:
@apache_setenv('no-gzip', 1);
@ini_set('zlib.output_compression', 0);

> Change to look like this.
> ```php
// Is Apache trying to compress the output:
//	@apache_setenv('no-gzip', 1);
//	@ini_set('zlib.output_compression', 0);

I made the change and now the download box opens and along with another box with the error message:

Internet Explorer cannot download index.php from mysite.com. Internt Explorer was not able to open this Internet site. The requested site is either unavailable or cannot be found.

What am I missing?

No that will not fix your issue:

What version of php
Will it work using firefox?

Skip

26 Jul 2011, 11:21 AM
#92
jt1020 avatar

jt1020

New Zenner

Join Date:
Apr 2011
Posts:
56
Plugin Contributions:
0

Re: Download Fetch [support thread]

version 3.3.9.2

26 Jul 2011, 1:53 PM
#93
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Download Fetch [support thread]

jt1020:

version 3.3.9.2

Isn't that for phpMyAdmin 3.3.9.2 I was looking for the php version 5.x.x

Also what os are you running?

Skip

26 Jul 2011, 9:47 PM
#94
jt1020 avatar

jt1020

New Zenner

Join Date:
Apr 2011
Posts:
56
Plugin Contributions:
0

Re: Download Fetch [support thread]

Sorry, 5.1.52, Windows Vista

26 Jul 2011, 11:00 PM
#95
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Download Fetch [support thread]

jt1020:

Sorry, 5.1.52, Windows Vista

If I remember correctly php should be 5.2.x or higher.

Skip

27 Jul 2011, 12:55 PM
#96
design75 avatar

design75

Totally Zenned

Join Date:
Dec 2009
Location:
Amersfoort, The Netherlands
Posts:
2,862
Plugin Contributions:
5

Re: Download Fetch [support thread]

Hello Skip,

Thanks for this great mod, works like a charm.
I had to remove some hard coded colours from the tpl_download_fetch_default.php to make it show normally on my shop.

Is there any chance you are going to make this mod multi lingual any-time soon? Otherwise i am going to do it myself and send you the modified files if your interested

27 Jul 2011, 7:55 PM
#97
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Location:
Washington, DC
Posts:
775
Plugin Contributions:
1

Re: Download Fetch [support thread]

Design75:

Hello Skip,

Thanks for this great mod, works like a charm.
I had to remove some hard coded colours from the tpl_download_fetch_default.php to make it show normally on my shop.

Is there any chance you are going to make this mod multi lingual any-time soon? Otherwise i am going to do it myself and send you the modified files if your interested

Not at this time plate full and with 1.5 out plate over full.

Skip

28 Jul 2011, 11:53 AM
#98
jt1020 avatar

jt1020

New Zenner

Join Date:
Apr 2011
Posts:
56
Plugin Contributions:
0

Re: Download Fetch [support thread]

skipwater:

If I remember correctly php should be 5.2.x or higher.

Skip

I now have 5.2.15 installed and still have the same issue.

29 Jul 2011, 7:28 PM
#99
jt1020 avatar

jt1020

New Zenner

Join Date:
Apr 2011
Posts:
56
Plugin Contributions:
0

Re: Download Fetch [support thread]

Skip,

Tried reinstalling and still same error message. "Internet Explorer cannot download index.php from mysite.com

Any idea as to what is wrong?

30 Jul 2011, 2:02 PM
#100
jt1020 avatar

jt1020

New Zenner

Join Date:
Apr 2011
Posts:
56
Plugin Contributions:
0

Re: Download Fetch [support thread]

Found it:clap: Made the changes below and it seems to be working.

File YOUR_ADMIN/download_fetch.php
Find about line 236

Code:

<?php $download_fetch_query->MoveNext(); } ?>Change to

Code:

<?php $download_fetch_query->MoveNext(); } if ($download_fetch_query_numrows < 1){ echo '<div align="center"><b>NO Records Found You Must Add </b><br /><a href="' . zen_href_link(FILENAME_DOWNLOAD_FETCH, zen_get_all_get_params(array('padID', 'action')) . 'padID=' . $padInfo->file_id . '&page=' . $_GET['page'].'&action=newfile') . '">' . zen_image_button('button_new_file.gif', IMAGE_NEW_FILE) . '</a> </div>' ; } ?>