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

Download Fetch [support thread]

Results 1 to 20 of 120
13 Nov 2009, 00:55
#1
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Posts:
775
Plugin Contributions:
0

Download Fetch [support thread]

This is the support thread for Zen Cart Download Fetch.

In the free software addons Download Fetch

So if you have any question please post them here.

Note: Download Fetch uses specific features of PHP 5 so you must be running PHP 5 or higher to use this addon.

Skip
19 Jan 2010, 04:43
#2
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Re: Download Fetch [support thread]

easy to install ...thank you for the mod
19 Jan 2010, 09:25
#3
franklin avatar

franklin

New Zenner

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

Re: Download Fetch [support thread]

Hi,

Can you point me the Download Fetch mod link ?.
22 Jan 2010, 18:17
#5
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Re: Download Fetch [support thread]

skipwater:

This is the support thread for Zen Cart Download Fetch.

In the free software addons Download Fetch


Skip


I am having an issue once everything got up and running. Fetch is set to have the download available for 1 week. But when I try to use the link no matter what it says its expired.
22 Jan 2010, 19:28
#6
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Posts:
775
Plugin Contributions:
0

Re: Download Fetch [support thread]

You are getting this error.

Error Sorry, the requested download has expired

When you use the link in the email?

Under admin->tools->Download Fetch File
Select the file that you wish to change and edit the Active Period to a value that you want.
ie.
86400 = 1 day
604800 = 1 week
2419200 = 1 month
29030400 = 1 year

If you just want to allow one user/customer more time then you must go to Download Fetch User Admin and adjust the download date.

Skip
22 Jan 2010, 23:39
#7
snip1er avatar

snip1er

New Zenner

Join Date:
Jul 2004
Posts:
11
Plugin Contributions:
0

Re: Download Fetch [support thread]

no, its not needing more time. I get the warning right away. I have the time allowed set at 604800. Email comes with the link in 5-15 min, you click the link and get the "expired" error.

another possible bug in the admin section:

example

there are already 10 files listed in [Download Fetch File Admin]
if I select any of those so its highlighed but don't click edit, instead I click [New File]
enter all info (all fields are blank) and then there are only two options [update] [cancel]
if you pick [update] then it updates the highlighted row and does not add a new one.


if I have the last item in the list highlighted then do the same steps above then and only then will it insert the new record.
23 Jan 2010, 23:28
#8
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Posts:
775
Plugin Contributions:
0

Re: Download Fetch [support thread]

I have uploaded a new version 1.1 to the Free Software Add Ons http://www.zen-cart.com/index.php?main_page=product_contrib_info&cPath=40_47&products_id=1382 but until it is updated to version 1.1.
This attached zip file with 3 files in it will bring current users up to date v1.1.
(The files are already arranged into the correct folders you just need to rename the YOUR_ADMIN folder.)

Download Fetch Version 1.1
Fixed math for download active time allowed
Fixed new/add record sql insert
Fixed character ' in sql records with \'

Thanks to snip1er for the find and help.

And OH do me a favor BACKUP! your files.

Skip
27 Jan 2010, 00:05
#9
mischiefdesignz avatar

mischiefdesignz

New Zenner

Join Date:
Aug 2008
Posts:
63
Plugin Contributions:
2

Re: Download Fetch [support thread]

ok I know I am probably having a major duh moment but..... I deleted the test " it says no where not to lol " and now I have no buttons to create a new......... and also when I was testing everything worked except for not opening the d/l to retrieve the file.:wacko: thanks in advance
27 Jan 2010, 01:43
#10
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Posts:
775
Plugin Contributions:
0

Re: Download Fetch [support thread]

MischiefDesignz:

ok I know I am probably having a major duh moment but..... I deleted the test " it says no where not to lol " and now I have no buttons to create a new.........


Deleting the only record in the mod and leaving zero records was a missed coding error not to have a add new file option.
The fix is below:

File YOUR_ADMIN/download_fetch.php
Find about line 236
<?php
  $download_fetch_query->MoveNext();
  }
?>


Change to
<?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>' ;
  }
?>


and also when I was testing everything worked except for not opening the d/l to retrieve the file.:wacko: thanks in advance


Need more info on this one. PHP version, what browser IE ?, Firefox ? You had the green Valid filename image showing?

Skip
27 Jan 2010, 02:11
#11
mischiefdesignz avatar

mischiefdesignz

New Zenner

Join Date:
Aug 2008
Posts:
63
Plugin Contributions:
2

Re: Download Fetch [support thread]

File YOUR_ADMIN/download_fetch.php
Find about line 236
<?php
  $download_fetch_query->MoveNext();
  }
?>


Change to
<?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>' ;
  }
?>

Worked Grand Thank You Very Much!!!

Need more info on this one. PHP version, what browser IE ?, Firefox ? You had the green Valid filename image showing?




Php5, 1.38 Zen, IE, yep was green and even tried it in different folders and nothing..... it just goes to a blank page ... did not work in FF either
http://mischiefscrapz.com/store/index.php?main_page=download_fetch&file=2 <--- request link
27 Jan 2010, 02:36
#12
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Posts:
775
Plugin Contributions:
0

Re: Download Fetch [support thread]

Load this debugging tool http://www.zen-cart.com/forum/showthread.php?t=84613

And check out what the error is. It could be as simple as a space after the eof ?>

Let me know.

Skip
27 Jan 2010, 02:43
#13
mischiefdesignz avatar

mischiefdesignz

New Zenner

Join Date:
Aug 2008
Posts:
63
Plugin Contributions:
2

Re: Download Fetch [support thread]

done ...... no errors came up..... it did not even show an error log
27 Jan 2010, 03:11
#14
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Posts:
775
Plugin Contributions:
0

Re: Download Fetch [support thread]

Check for errors now you should have two.

Skip
27 Jan 2010, 03:18
#15
mischiefdesignz avatar

mischiefdesignz

New Zenner

Join Date:
Aug 2008
Posts:
63
Plugin Contributions:
2

Re: Download Fetch [support thread]

uhmmm ok .....
[26-Jan-2010 20:15:12] PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in html/mischiefscrapz/store/includes/classes/fetch_download.php on line 39
28 Jan 2010, 01:14
#16
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Posts:
775
Plugin Contributions:
0

Re: Download Fetch [support thread]

MischiefDesignz:

uhmmm ok .....
[26-Jan-2010 20:15:12] PHP Parse error: parse error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in html/mischiefscrapz/store/includes/classes/fetch_download.php on line 39


I can not recreate this error. So the only suggestion that I can give is reinstall the mod.

Skip
28 Jan 2010, 02:02
#17
mischiefdesignz avatar

mischiefdesignz

New Zenner

Join Date:
Aug 2008
Posts:
63
Plugin Contributions:
2

Re: Download Fetch [support thread]

I did the reinstall and am still getting the same thing...... no download and same error......
28 Jan 2010, 14:11
#18
skipwater avatar

skipwater

Totally Zenned

Join Date:
Jun 2008
Posts:
775
Plugin Contributions:
0

Re: Download Fetch [support thread]

MischiefDesignz:

I did the reinstall and am still getting the same thing...... no download and same error......


Did you drop/delete these two tables download_fetch_file, download_fetch in your msql database before you reinstalled?
If not BACKUP your database and drop them and then run install-sql-download_fetch.php.

Skip
28 Jan 2010, 15:06
#19
mischiefdesignz avatar

mischiefdesignz

New Zenner

Join Date:
Aug 2008
Posts:
63
Plugin Contributions:
2

Re: Download Fetch [support thread]

yep I sure did ...... I must just have a ghost stealing my files from the link before they can go out to be downloaded .... lol
02 Feb 2010, 16:14
#20
yozer avatar

yozer

New Zenner

Join Date:
Feb 2010
Posts:
2
Plugin Contributions:
0

Re: Download Fetch [support thread]

Hey there Skip....

I just installed Fetch and everything works great...i guess.

My only problem is the emailing part. I submitted a test email for the download link and it is not going thru to the test email address.

I then, look into my own email and it gives me a mailer fatal error. Here's what it looks like:

The original message was received at Tue, 2 Feb 2010 08:54:47 -0700
from localhost [127.0.0.1]

----- The following addresses had permanent fatal errors -----
<test######################>
(reason: 553 sorry, your mail was administratively denied. (#5.7.1))

----- Transcript of session follows -----
... while talking to relay-hosting.secureserver.net.:
>>> MAIL From:<myown######################> SIZE=1538
<<< 553 sorry, your mail was administratively denied. (#5.7.1)
501 5.6.0 Data format error

Final-Recipient: RFC822; test######################
Action: failed
Status: 5.1.3
Diagnostic-Code: SMTP; 553 sorry, your mail was administratively denied. (#5.7.1)
Last-Attempt-Date: Tue, 2 Feb 2010 08:54:47 -0700



Not sure what that means. I tried other email addresses and it will not send the link to them but it returns it to my email address with that fatal error. Please help. Thanks!