I was using Downloads very successfully up until about 2 months ago – since then all my download links no longer work but result in a 404 error, I cannot find the cause of this, please assist.
How do I show a list of available downloads? I’m trying to set up a secure section of a website that has a list of downloads, with categories, for all users to freely download.
Also, how do I add a link to this page in the menu on the Dashboard?
Hi There,
My download links no longer work – they now just refresh the page. I see when you click on the download link, it appends a ‘refresh=’ parameter.
Would love some help.
Hello,
The plugins was working normally, but recently the files that I upload don`t save anymore. I checked the storage disk and is no full (40%).
The file looks like was upload, that appears in list of file and in front-end, but when I try to download, it got broke link.
We’ve worked with you guys quite a bit on getting out settings and permissions set so that our users can download large files. And it has been working really well.
Until we installed the update.
Now the large downloads timeout at 3.5 minutes.
We have a 100MB file. I tried downloading it on 3 different machines with different connection speeds multiple times each. Sometimes it downloaded 30MBs of the file and and I got ‘download was interrupted’ at 3.5 minutes. Sometimes it downloaded 80MBs of the file and I got ‘download was interrupted’ at 3.5 minutes.
I had one successful download where the it finished in 2:45 minutes.
I then put the same file on a server and tested a direct link download and was successful 3 times in a row and each download took around 10 minutes.
I am fully aware that our internet here is painfully slow, but it was working before the update and now it’s not?
Did something change in this update or did something get over-written somewhere?
Hello WPDM Support,
We’d like to supply you with some further information about an issue reported to you before Xmas last year about your Download Manager Plug In. Yesterday we updated your plugin and the following issue (included below) and previously reported to you occurred again. This time after applying our fix to your code the issue was not resolved with our fix. Therefore, we would like to tell you about our second fix to your code and ask if you can please investigate this issue which is causing your plug n to be incompatible with our WordPress / Themify installation.
Fix 2
——
This fix is similar to the first one but has been applied in this file: class.Package.php.
Around line 1319/1320 we have removed the call to wp_reset_query() and replaced it with: wp_reset_post_data().
The previous reported fault and our fix which incidentally still needs to be applied in addition to this new one follows:
Previously Reported Issue
———————————–
We have identified a fault with Download Manager and are sending you this short report to assist you in resolving the issue which starts with some background information about how it used to work and how we are using WPDM with Themify theme, finally we have fixed the problem but would like to know if our fix is compatible with a future update to WPDM.
1) The expected & actual behaviour prior to a recent update of Themify / WordPress
1.1) We add the [wpdm_package] shortcode in this form: [wpdm_package id="6239" template="55c1e8d58c991”] to posts.
Inline image 2
1.2) We then set Themify to include posts to a page using the Query Posts facility.
Inline image 3
1.3) What we expect to happen.
Prior to a recent update to Themify or WPDM (we’re unsure which one has caused the problem) the short code that was added to the post using the Query Posts facility would render the download package to the screen and the page content would finish. Obviously, because the shortcode is the last item of content in the included post.
The issue
————-
2) After a recent update the content no longer finishes at the end of the last included post and the additional content included via the embedded short code. Instead the content of the page that includes the posts is added to the end of the page after the last post / embedded shortcode.
2.1) Our FIX!
We’ve replaced the call to wp_reset_query() with wp_reset_postdata() and the duplicate page content is no longer added at the end of the page. See below for reference to approx line 360 in class.ShortCodes.php
function Package($params)
{
extract($params);
if(!isset($id)) return ”;
$id = (int)$id;
if(get_post_type($id) != ‘wpdmpro’) return ”;
$postlink = site_url(‘/’);
if (isset($pagetemplate) && $pagetemplate == 1) {
$template = get_post_meta($id,’__wpdm_page_template’, true);
$wpdm_package[‘page_template’] = stripcslashes($template);
$data = wpdm_fetch_template($template, $id, ‘page’);
$siteurl = site_url(‘/’);
return “<div class=’w3eden’>{$data}</div>”;
}
$template = isset($params[‘template’])?$params[‘template’]:get_post_meta($id,’__wpdm_template’, true);
if($template == ”) $template = ‘link-template-calltoaction3.php’;
$html = “<div class=’w3eden’>” . \WPDM\Package::fetchTemplate($template, $id, ‘link’) . “</div>”;
wp_reset_postdata();
//wp_reset_query();
return $html;
}
If this was the source of the problem please can you update your source code so that your next update to WPDM doesn’t remove our fix.
Thanks in advance.
—