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

Download Fetch [support thread]

Views: 13,439

Results 41 to 60 of 120
27 Jun 2010, 2:23 AM
#41
skipwater avatar

skipwater

Totally Zenned

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

Download Fetch [support thread]

I used winrar to make the zip file if that is what you mean.

Do you have any suggestions on what I should do? I did notice that it downloaded really slow but I just figured that was normal....lol.

I am just concerned with people downloading these files and being able to open it no matter what program they have.

I would suggest if you want to use zip files, use 7zip to create them.
If you want to create rar files use winrar.

As for your speed it might be the server is over loaded. Or your host has the transfer rate controlled.

Skip

27 Jun 2010, 10:48 PM
#42
elhuds avatar

elhuds

New Zenner

Join Date:
Jun 2010
Posts:
13
Plugin Contributions:
0

Re: Download Fetch [support thread]

skipwater:

I would suggest if you want to use zip files, use 7zip to create them.
If you want to create rar files use winrar.

As for your speed it might be the server is over loaded. Or your host has the transfer rate controlled.

Skip

I did zip the files with 7zip and unfortunately, I still get the same thing. I can download individual mp3 files but the zip files are not working. I keep getting the same error message:(:(

Any other suggestions other than chucking this laptop out of the window because that seems like the right thing to do right now:laugh::laugh:.

I do appreciate the help.

27 Jun 2010, 11:21 PM
#43
skipwater avatar

skipwater

Totally Zenned

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

Re: Download Fetch [support thread]

You could try other zip utilities.
Like jzip, winzip, pkzip etc.

As a test if you just zip two files into a zip file. You still get the error?

Skip

28 Jun 2010, 4:52 PM
#44
elhuds avatar

elhuds

New Zenner

Join Date:
Jun 2010
Posts:
13
Plugin Contributions:
0

Re: Download Fetch [support thread]

skipwater:

You could try other zip utilities.
Like jzip, winzip, pkzip etc.

As a test if you just zip two files into a zip file. You still get the error?

Skip

no unfortunately, even with just 2 files it still gives me the same error.

I also tried it with winzip and I get the same errors.

I am completely at a loss. Everything works fine if someone is downloading a single mp3 but if someone wants to download a whole album zipped then they are s.o.l. :unsure:

The only other option I have is to offer each song and album cover as an individual download. That would obviously take a lot of work and be inconvenient for the customer.

If you have any other ideas, I am all eyes and ears :shocking:

I really do like what you got here and I am really hoping to get it to work.

Thanks again.

28 Jun 2010, 5:55 PM
#45
skipwater avatar

skipwater

Totally Zenned

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

Re: Download Fetch [support thread]

elhuds:

If you have any other ideas, I am all eyes and ears :shocking:

I really do like what you got here and I am really hoping to get it to work.

Thanks again.

Ok lets try something new.

Find the file shops_root/includes/classes/fetch_download.php

Now find about line 56

  case "zip": $content_type="application/zip"; break;

Change to

  case "zip": $content_type="application/octet-stream"; break;

See if that changes anything.

Skip

28 Jun 2010, 8:50 PM
#46
elhuds avatar

elhuds

New Zenner

Join Date:
Jun 2010
Posts:
13
Plugin Contributions:
0

Re: Download Fetch [support thread]

skipwater:

Ok lets try something new.

Find the file shops_root/includes/classes/fetch_download.php

Now find about line 56

case "zip": $content_type="application/zip"; break;

> 
> Change to
> ```
  case "zip": $content_type="application/octet-stream"; break;

See if that changes anything.

Skip

As much as I hate to say it....I am still getting the same error :(:frusty:

I really do appreciate your help. Is there any other info I can give you to help. Maybe I should be doing something that is simple and maybe even common sense to you but being a novice...I may not be doing it.

I am sure that this is something simple and I am also sure it is probably an oversight on my part somewhere.

29 Jun 2010, 12:05 AM
#47
skipwater avatar

skipwater

Totally Zenned

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

Re: Download Fetch [support thread]

I am sure that this is something simple and I am also sure it is probably an oversight on my part somewhere.

In the download folder zen cart loads test.zip as an example.

Set this file up to be downloaded and give that a try. And let me known if it works.

Skip

29 Jun 2010, 2:16 AM
#48
elhuds avatar

elhuds

New Zenner

Join Date:
Jun 2010
Posts:
13
Plugin Contributions:
0

Re: Download Fetch [support thread]

skipwater:

In the download folder zen cart loads test.zip as an example.

Set this file up to be downloaded and give that a try. And let me known if it works.

Skip

No, unfortunately, I get the same error message with the test file.:(

This is where the test file is under "Download test".

http://erhgroupinc.com/ShopERH/index.php?main_page=product_info&cPath=8_9&products_id=3

oh, another thing....if I download the zip file with the regual zen cart checkout it downloads fine. I don't know if that helps but I figured I would let you know.

16 Aug 2010, 9:40 PM
#49
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Download Fetch [support thread]

hello i need your help please
i installed the download fetch i follow the instruction, but when i put the file to download for donwload and when i do the request for the file i got the email with the link of the file to download the page was a blank page, so i though i did something wrong and i run again the install_sql page and it toll me to if i need to re run the install i need to deleted the download fetch table, so i log on in my sql and i deleted 2 tables the download_fetch and the the fetch table, and now i my page is looking for thos tables, so is it posible that you give me the code for the sql to create the tables from my sql administrator.
becouse when i copy some code from the instal sql php file it wont do the table

thank you

my page is this www.tni-wireless.com
and when i try to log in in my admi this is what i get

0 DB_ERROR_NOT_CONNECTED
in:
[db_cache table]
If you were entering information, press the BACK button in your browser and re-check the information you had entered to be sure you left no blank fields.

skipwater:

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

16 Aug 2010, 10:54 PM
#50
skipwater avatar

skipwater

Totally Zenned

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

Re: Download Fetch [support thread]

There is a new version but it has not been activated yet in the free download section yet. So here is a link to the zip file.
download_fetch_v1.2.zip

You can just install the new files over the old.

Then you need to do:
5. Login to your Zen Cart admin.
In the url address replace index.php with install-sql-download_fetch.php
This will load the tables and sample data into your database.
When the script has ended just use back button on your browser.
If you are up grading from 1.0 or 1.1 just run the new install-sql-download_fetch.php and it will up date your data base.

You will need to re-run the new install-sql-download_fetch.php this will check your sql tables and add a new record to your query_builder table.

You might want to read the new readme file in the zip also.

Skip

16 Aug 2010, 11:29 PM
#51
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Download Fetch [support thread]

isit possible that if you can give the code of my sql to create the table becouse i can log in in my adminstratro i have to create the table on mysql data base manually thank you

skipwater:

There is a new version but it has not been activated yet in the free download section yet. So here is a link to the zip file.
download_fetch_v1.2.zip

You can just install the new files over the old.

Then you need to do:
5. Login to your Zen Cart admin.
In the url address replace index.php with install-sql-download_fetch.php
This will load the tables and sample data into your database.
When the script has ended just use back button on your browser.
If you are up grading from 1.0 or 1.1 just run the new install-sql-download_fetch.php and it will up date your data base.

You will need to re-run the new install-sql-download_fetch.php this will check your sql tables and add a new record to your query_builder table.

You might want to read the new readme file in the zip also.

Skip

17 Aug 2010, 12:35 AM
#52
skipwater avatar

skipwater

Totally Zenned

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

Re: Download Fetch [support thread]

I can only give you the info that will help you in making your own sql.
I use the install file to get all the ZC info so that you do not need to hard code the sql.

But here is the info you need:
The tables that are created
$table_name = 'download_fetch_file';
$table2_name = 'download_fetch';
This table is use just to add a record
$table3_name = 'query_builder';

Around line 31 in install-sql-download_fetch.php
You will find the create table code for download_fetch_file
At around line 54 you will find the insert record code

Around line 67 in install-sql-download_fetch.php
You will find the create table code for download_fetch
At around line 89 you will find the insert record code

Around line 106 in install-sql-download_fetch.php
You will find the insert record code for query_builder

Skip

17 Aug 2010, 8:06 PM
#53
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Download Fetch [support thread]

:smile:

Ok this is what i got
first step works good,
1.Download Request
Success!
An e-mail has been sent to ice_ck########################## with the details to download TNI_BB_MEP_Reader.zip file.

Second step works this is when i ge the email when i request for the file

  1. TNI Wireless
    BB MEP REader Download Information

Therd step looks good the information of the file

3 Filename: TNI_BB_MEP_Reader.zip (33.1 KB)
Description: BB MEP ReaderRead the
MEP from the Network the phone is lock with. Here is your Download

Four looks good is the link fo the file to download

4 Link:http://www.tni-wireless.com/index.php? main_page=fetch&id=3&email=ice_ck##########################

This link will be active for the next 28 day(s)Requesters ip address 99.29.76.46

This email address was given to us by you or by one of our customers. If youfeel that you have received this email in error, please send an email tocustomercare AT tni-wireless DOT com This email is sent in accordance with the US CAN-SPAM Law in effect01/01/2004. Removal requests can be sent to this address and will be honoredand respected.

and 5 when i click on the link it send me to the page but is a white screen with no file and no pop up file to download.
http://www.tni-wireless.com/index.php?main_page=fetch&id=3&email=ice_ck##########################

:lamo:

Thank you

skipwater:

There is a new version but it has not been activated yet in the free download section yet. So here is a link to the zip file.
download_fetch_v1.2.zip

You can just install the new files over the old.

Then you need to do:
5. Login to your Zen Cart admin.
In the url address replace index.php with install-sql-download_fetch.php
This will load the tables and sample data into your database.
When the script has ended just use back button on your browser.
If you are up grading from 1.0 or 1.1 just run the new install-sql-download_fetch.php and it will up date your data base.

You will need to re-run the new install-sql-download_fetch.php this will check your sql tables and add a new record to your query_builder table.

You might want to read the new readme file in the zip also.

Skip

18 Aug 2010, 2:33 PM
#54
skipwater avatar

skipwater

Totally Zenned

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

Re: Download Fetch [support thread]

It seems that you are missing a file or have a corrupted file.

Look at /includes/modules/pages/fetch/header_php.php is it there?

If so and it looks ok then add/activate ZC debug script http://www.zen-cart.com/forum/showthread.php?t=84613

Then check out what error you are getting.

Skip

19 Aug 2010, 8:07 PM
#55
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Download Fetch [support thread]

ok this is the error log i got

PHP Parse error: syntax error, unexpected T_STRING, expecting T_OLD_FUNCTION or T_FUNCTION or T_VAR or '}' in

includes/classes/fetch_download.php on line 39

:lamo: thank you

skipwater:

It seems that you are missing a file or have a corrupted file.

Look at /includes/modules/pages/fetch/header_php.php is it there?

If so and it looks ok then add/activate ZC debug script http://www.zen-cart.com/forum/showthread.php?t=84613

Then check out what error you are getting.

Skip

19 Aug 2010, 8:47 PM
#56
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Download Fetch [support thread]

It looks like in line 36

36 class Fetch_Download{ <----this simbol doesn't have the parner :no: } <-- becouse i check the rest of the simbols { they all have the closing }

19 Aug 2010, 8:56 PM
#57
skipwater avatar

skipwater

Totally Zenned

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

Re: Download Fetch [support thread]

Are you running php 5.0 or higher.
Because if you are not, anything below php 5.0 download fetch will not work because I used "private" and "public" function calls in the class file.

Skip

19 Aug 2010, 9:00 PM
#58
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Download Fetch [support thread]

PHP Version 4.4.9

lol i see then i have to check on upgrad to 5 i just hope i don't mess it up, thank you

skipwater:

Are you running php 5.0 or higher.
Because if you are not, anything below php 5.0 download fetch will not work because I used "private" and "public" function calls in the class file.

Skip

19 Aug 2010, 9:16 PM
#59
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Download Fetch [support thread]

ok i got 5 now lol

and i get this

[19-Aug-2010 17:14:15] PHP Parse error: syntax error, unexpected T_PUBLIC in
/includes/classes/fetch_download.php on line 49

19 Aug 2010, 9:33 PM
#60
wastaboo avatar

wastaboo

New Zenner

Join Date:
May 2007
Location:
Montebello, CA
Posts:
40
Plugin Contributions:
0

Re: Download Fetch [support thread]

i forgot to tell you now the page is deferent

The website cannot display the page

HTTP 500

wastaboo:

ok i got 5 now lol

and i get this

[19-Aug-2010 17:14:15] PHP Parse error: syntax error, unexpected T_PUBLIC in
/includes/classes/fetch_download.php on line 49