Re: Download Fetch [support thread]
Quote:
Originally Posted by
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.
PHP Code:
// Is Apache trying to compress the output:
@apache_setenv('no-gzip', 1);
@ini_set('zlib.output_compression', 0);
Change to look like this.
PHP Code:
// 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
Re: Download Fetch [support thread]
Re: Download Fetch [support thread]
Quote:
Originally Posted by
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
Re: Download Fetch [support thread]
Sorry, 5.1.52, Windows Vista
Re: Download Fetch [support thread]
Quote:
Originally Posted by
jt1020
Sorry, 5.1.52, Windows Vista
If I remember correctly php should be 5.2.x or higher.
Skip
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
Re: Download Fetch [support thread]
Quote:
Originally Posted by
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
Re: Download Fetch [support thread]
Quote:
Originally Posted by
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.
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?
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>' ;
}
?>