after update from WPDM Pro 4.7.6 to the newest 4.9 the downloads won’t work anymore.
When trying to download a pdf-file for example, it doesn’t start a download like before, but will load a page with /download/wpdmdl=xxx&refress=xxxxx, after some time there is cryptic code with an “Your email is blocked!” text behind it.
Till my customer need this to work, I’ve reinstalled the 4.7.6, but I really want to know, what the problem is.
Developer console and debuggin enabled doesn’t give any informations (besides a notice: offset 1 in line 315 of wpdm-functions.php)
1. Up until today, I have used the free plugin version to set up a new page.
I have inserted the following shortcode into several dozen pages, referencing the link-template-default which rendered a nice, one-column list of downloads:
2. With the upgrade to the Pro version, the same link template has somehow changed (link-template-default), so all of my pages no longer displayed the same list. Here is one example where it is now showing a panel instead.
3. Since I don’t want to update 60+ pages by changing the shortcode to another link template, I figured out how to go into PHP in order to override the template.
4. For now, I have come up with the following snippet, hoping that it would nicely show my downloads like in the preview window within WP. I have overwritten the link-template-default, but the result looks pretty terrible and I can’t figure out how to make it a list again:
Your theme is deactivating the click on the download link. The click is triggered by JS onclick event.
However, there is a workaround. I have created a clone ( Single Column, Flat Clone ) for the page template ( Single Column, Flat ) you are using there. Replaced the [download_link] template tag with <a href="[download_url]" class="btn btn-sm btn-success">[link_label]</a> This uses direct URL instead of JS onclick event to initiate download.
I’m currently displaying all downloads with this shortcut:
[wpdm_all_packages items_per_page="30" jstable=1 order_by="date" order="DESC" cols="page_link,file_count,download_count|excerpt|acf_status_Bid Date|page_link" colheads="Project|Project Info|Bid Date/Status|Download::155px"]
Download starts automatically after submitting the email address. The download button is shown to allow more downloads. Please send me the link to check your package.
Download works fine in my test too. Do you have any related server error log? Please share the log file in that case. This issue most probably related to some server settings.
There is one way to ensure 100% download for all users. You can serve the files from Dropbox or Amazon S3 using related WPDM add-on. In that case, downloads will be handled by those cloud server instead of your own.
I have a few pages that use the wpdm_all_packages shortcode and the category keyword to filter down to a specific category of files. In Chrome and Firefox, the list of downloads displays properly. In Internet Explorer, it seems that the main body of the download list loads, then the “downloads per page”, search bar, and pagination buttons load off to the left side of the table, shrinking the whole thing horizontally and making the controls essentially worthless (see screenshot attached)
I wanted to know if anyone else had experienced this or if there was a fix for this.
My downloads use the function to bring up the license agreement to be checked before allowing the download.
Chrome, Firefox, Edge appear to properly work.
Windows 10 with IE 11 – When clicking on the Download button to bring up the license agreement doesn’t appear to work, so users can not download when using IE 11.
You can use the Archive Page add-on to show all downloads using a single shortcode. This also makes all download accessible easily. Make the town commissions parent category and use years as child categories. Then a user can filter downloads using dropdowns from parent category.
We have encountered an issue that occurs in https://ramtaps.com.au/downloads/ page. When we use the search box in the page then the half page button should be shown. If I remove the search box then the all pagination button is shown. I have added a screenshot of the two pages of download in ramtaps.com.au. please check the difference in that page.
I too am having this issue but only in certain environments (localhost XAMPP) and with the extended short code add-on with the table display using this [wpdm-all-packages items_per_page="50" jstable=1 order_by="title" order="ASC"]. I get on page displayed errors like this:
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\2\wp-content\plugins\download-manager\tpls4\wpdm-all-downloads.php on line 217
Warning: count(): Parameter must be an array or an object that implements Countable in C:\xampp\htdocs\2\wp-content\plugins\download-manager\tpls4\wpdm-all-downloads.php on line 218
Warning: array_shift() expects parameter 1 to be array, boolean given in C:\xampp\htdocs\2\wp-content\plugins\download-manager\tpls4\wpdm-all-downloads.php on line 220
These warning messages precede the table which otherwise seems to work fine. Using the file tree shortcode does not cause this. Any thoughts are appreciated. Thanks.