1 Attachment(s)
Re: Download Fetch [support thread]
I've got two issues I've encountered with Download Fetch, I'm hoping you guys can help me out.
1. The format of the page when I follow the Fetch Download link does not come out clean, how do I format both the text and the size? I've attached a screenshot for reference.
2. Once I receive the email to actually download the file, when I click on the link, it opens it as a new email? I've tried in Gmail, Outlook 2010, and the webmail service through our host.
Thank you in advance.
Re: Download Fetch [support thread]
Quote:
Originally Posted by
MTODavid
I've got two issues I've encountered with Download Fetch, I'm hoping you guys can help me out.
1. The format of the page when I follow the Fetch Download link does not come out clean, how do I format both the text and the size? I've attached a screenshot for reference.
2. Once I receive the email to actually download the file, when I click on the link, it opens it as a new email? I've tried in Gmail, Outlook 2010, and the webmail service through our host.
Thank you in advance.
You have missed some files on the install as per your screen shot.
The file that would fix the upper case titles is:
site-root/includes/languages/english/YOUR_TEMPLATE/download_fetch.php
For #2 it also sounds like a missing file.
Double check that all the files were uploaded and in the correct place.
Skip
Re: Download Fetch [support thread]
Quote:
Originally Posted by
skipwater
You have missed some files on the install as per your screen shot.
The file that would fix the upper case titles is:
site-root/includes/languages/english/YOUR_TEMPLATE/download_fetch.php
For #2 it also sounds like a missing file.
Double check that all the files were uploaded and in the correct place.
Skip
Thank you, I will missing two different files, and I seem to have gotten over my first hurdles.
Now I've got one more issue I've run into....
...once the email is received, I click on the link and it brings up a blank window within Firefox. Nothing downloads, no windows come up asking if I'd like to save the file.
Any ideas???
I should also note that I went and downloaded a new copy of the v1.3.9 files and uploaded everything again.
Re: Download Fetch [support thread]
MTODavid PM me with a link to the fetch page link so I can see a email.
Skip
Re: Download Fetch [support thread]
I've confirmed that I have all of the files installed by downloading a new copy of the Add On and overwriting everything that was installed originally.
I've confirmed that the correct tables were installed.
I've found the following in my cache log:
Quote:
15-Nov-2011 15:48:58] PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /public_html/includes/templates/Custom/templates/tpl_download_fetch_default.php on line 228
There are also a couple other logs in the cache that reference line 217 with the same error.
Anyone have any other ideas?
Skipwater has been very helpful and gotten me to this point, Thank you.
Re: Download Fetch [support thread]
Quote:
15-Nov-2011 15:48:58] PHP Parse error: syntax error, unexpected T_STRING, expecting ',' or ';' in /public_html/includes/templates/Custom/templates/tpl_download_fetch_default.php on line 228
Check and see if you have a blank line after the closing ?> at the end of this file:
/public_html/includes/lanuages/english/Custom/download_fetch.php
If so there are two ways to fix:
1. delete the blank line below the ?>
2. delete the closing ?> and blank line.
Skip
Re: Download Fetch [support thread]
Quote:
Originally Posted by
skipwater
Check and see if you have a blank line after the closing ?> at the end of this file:
/public_html/includes/lanuages/english/Custom/download_fetch.php
If so there are two ways to fix:
1. delete the blank line below the ?>
2. delete the closing ?> and blank line.
Skip
Here are the last ~5 lines in that file. These are lines 284-290.
PHP Code:
</tr>
</table>
<?php
}
?>
</div>
</div>
It doesn't appear that I have a blank line, but does that look correct?
Re: Download Fetch [support thread]
My first response was wrong, I looked at the wrong file in my Crimson Editor.
Yes I do have a blank line, I'll try the fix. Thanks.
Re: Download Fetch [support thread]
Quote:
Originally Posted by
skipwater
Check and see if you have a blank line after the closing ?> at the end of this file:
/public_html/includes/lanuages/english/Custom/download_fetch.php
If so there are two ways to fix:
1. delete the blank line below the ?>
2. delete the closing ?> and blank line.
Skip
I did in fact have a blank line after the ?>, here are the steps I took:
1. I deleted the blank line, uploaded the download_fetch.php, created a new file to download, got the same blank screen after following link in email.
2. I then tried deleting the closing ?> and thank blank line, uploaded the download_fetch.php, created a new file to download, got the same blank screen after following the link in email.
I feel like I'm so close on this, any other ideas?
Re: Download Fetch [support thread]
Quote:
Originally Posted by
MTODavid
I did in fact have a blank line after the ?>, here are the steps I took:
1. I deleted the blank line, uploaded the download_fetch.php, created a new file to download, got the same blank screen after following link in email.
2. I then tried deleting the closing ?> and thank blank line, uploaded the download_fetch.php, created a new file to download, got the same blank screen after following the link in email.
I feel like I'm so close on this, any other ideas?
Locate this file:
/public_html/includes/modules/pages/fetch/header_php.php
Line 23 find:
Code:
$intDownloadId = $_GET['id'];
$strEmail = $_GET['email'];
Now for testing change to:
Code:
$intDownloadId = $_GET['id'];
$strEmail = $_GET['email'];
echo 'File ID '. $intDownloadId . '<br />';
echo 'Email '. $strEmail . '<br />';
exit();
When clicking on the emailed link this should show the file id and the email address. In the browser window.
Let me know Skip