Could someone explain to me how I could click on the order link sent in an email, 5 test transactions ago, could produce an order details page with the current order ID and downloads? When I try it that way, I’m able to download the most recent order. Please see the attached screenshot. I’m trying to figure out if this is a caching issue. Can’t find how the order/cart is stored (cookie or some other means) so that I can make changes to settings in WP-Rocket to “never cache.” I’ve tried never caching /orders/, /cart/, and /cancel/ which seemed to help. But I’ve never been able to place an order and download in the same session from the order details page – always produces a “download link is expired” message. Only able to download in the scenario above, some time after the initial sale.
Both sets of credentials are still valid if you’d like to go in and take a look. Basically I need to understand why so much of these transactions is being stored or cached, I think that might be the solution to why I keep getting expired link messages. Any thoughts are appreciated.
Unfortunately it does seem to wor. The download counter does show three downloads, but the file size remains empty. Putting in the file size manually is not an option for me. We are talking about more than 1,000 files…
Hi, all of a sudden many of my packages will no longer download for the customers. I am getting this error page instead of the download:
Warning: A non-numeric value encountered in /home/************/public_html/folder/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 35
PK!�|q�e9[Content_Types].xml �(�ę�r�0����;0l;F����1�U/�I�*��2Hvⷯ;�l�Ț��X��O`~~���Q�� *ÕLc���d�r.i�����*��e2g����k0������Z��\�4i\X�?b�3�� ݞ���nX-�f�?�2�/H��iG�ֈg�/0g��F_��䯆E}n’ֽҘ�Z��Azk��/���WTP�%L�g̺�d%�km֑��f�)�6�܄=��’2=��5�p��jOi��5�_�lW<��U�’n��]�qu���R�qQ�9� W� etc……
We are setting up WP Download Manager and have the site up and running with a number of sample download packages.
We are setting up the site so all packages are only accessible by subscribers and above (so no logged in users can see or download the packages). We have done this via Downloads > Settings > Basic and set the access settings to “When user is not allowed to download – hide everything”.
We were originally using the Prime theme and this seemed to work but have now purchased and installed the Jumpstart theme. When we activate this theme all of the packages are viewable for non-logged in users (they still can’t download the package).
How can I use the Prime theme and ensure no packages can be seen or downloaded unless the user is logged in?
I need to have a page with all downloads on but then allow the user the ability to select which files to download.
Then have ask for the email address only once to be able to down load the chosen files.
I have enable the Single File Download option on the download page but for some reason it doesnt seem to make any difference and just has 1 download button for all the files
i have search this forum about this problem but i can’t find a solution.
so i wanna sort my downloads per update_date :
this is my shortcode [wpdm_all_packages items_per_page="20" categories="free-radioshows-podcasts,free-trance-downloads" jstable=1 order_by="update_date" order="ASC/DESC" cols="page_link,file_count,download_count|categories|update_date" colheads="Title|Categories|Update Date"]
older files showing on top … and newer ones at the end …
Download Manager Pro Version 4.9.6
Warning wpdm-functions.php on line 2387
Hi,
Today I have an error on all my downloads.
Warning: Invalid argument supplied for foreach() in \…\wp-content/plugins/download-manager/wpdm-functions.php on line 2387
[ ] Open in Browser Try to Open in Browser instead of download when someone clicks on download link
Check that and when a user clicks on them, it should open in the browser rather than trying to download (on files that CAN be opening in a browser.. PowerPoints and Word Docs will most likely just goto the download dialog or download depending on browser settings).
As to making it open in a new tab…. I know when creating a text link, you can check a box that says “open in a new tab” or some such, but I believe that’s a WordPress dialog, and you have to manually copy the direct download link into it. At least that’s the only way I’ve found to open in a new tab.
The support people might know a different (better?) way to do it. It’s also possible that you could edit the templates to do what you want.
There you will see a file: download-manager-4.9.2.zip under your purchases
You need to download that, and then remove the WPDM Free version.. This will not remove any of your current settings or downloads.
You then need to install the 4.9.2 version ( Pro is v4.x while Free is v2.x). You then need to put in your license key into the appropriate place in the settings, and save settings. You should get a notice about your license key being validated.
The wpdm-archive.zip file is a different type of display for downloads (the one with the categories to the left, that expand and collapse while having seach and downloads to the right… You can see it on the Demo site ( –> HERE <– )
Once you have the WPDM Pro installed, you should have no problem finding the appropriate settings. 🙂
As un-intuitive as it was… I decided to run through the plugins (again)…
This time I checked downloads after each plugin… I found the one that was creating the download issue.
With all plugins enabled, with the exception of WPDM Block Hotlink (from the special pack), the site works perfectly fine and responds as expected. Turning on the Block Hotlink plugin causes the infinite loop to download pages, never serving the actual file (even in direct links)…
Not sure if this an actual plugin issue (since the 5.2.1 update) OR if it’s a case of problem at the server level… But for now the system is operating as intended. Still have the cUrl 28 and REST API issues, which only show up IF Download Manager Pro is enabled.. But it and other ” Recommended improvements ” disappear if WPDM (Pro) is disabled…
Looking forward to updates to the Pro edition of the plugin…
Now all zip files will be stored in cache dir which you can clear periodically from Downloads Settings Privacy tab. If you don’t want to store zip file it is better to disable the package download button and use only single file download links. Because creating a zip file takes a fair amount of server resource and as you are not storing those created zip the process has to be done again the next time someone else downloads the file.
So, either deactivate whole package download link or keep those zipped files to get optimized performance.
A user can edit only their own profile info. And you can control the access to the downloads using the “Allow Access” option in package settings.
WordPress shows the admin bar to all registered users. Download Manager has nothing to do with that. But I can suggest some code to hide the admin bar. Add the following code in theme’s functions.php file to hide admin bar for all roles except administrators,
add_action('after_setup_theme', 'wpdm_remove_admin_bar');
function wpdm_remove_admin_bar() {
if (!current_user_can('administrator') && !is_admin()) {
show_admin_bar(false);
}
}
Ok.. so once I got the path right ( You don’t need the /tpls/ just /{theme}/download-manager/metaboxes/ <filename> .. .Then it worked.. Which at least protects my workaround for now.. But it really does need to be more properly fixed, as the 6 BR tags stretch out the border around that panel.. so it looks weird.
Additionally, tonight, a new problem has shown up.. and not sure if it’s a problem due to the Loop back error, or what…
Previously, we setup all our downloads on different pages to go directly to the files (using text links, and the direct download link). There are a couple of files setup in the menu’s and I’d say 90% of the rest of the files on various pages are linked like that. This system worked just fine when we set up the plugin originally. (Purchased Date: Apr 19, 2019).
However now, none of the links are working… Both the text links, and those using WPDM Link Templates, all direct the user to the package’s information page, and the download button on that page just keeps re-loading that page. This makes the system completely unusable.
Any idea on what’s going on here, and how to fix it? This is a critical high-priority error.
Which link template are you using now? Please check the package settings and find the selected link template. Then clone this link template from Downloads Templates page. In this new cloned link template, you have to replace [download_link] with [download_link_extended] to use an embedded form instead of popup.
You can also override the link template selected in package settings by defining the template in your package shortcode. Check the example below,
Using the short code [wpdm_my_downloads login=1] I can limit each logged in user to only see the categories and files which they have permissions to. However, I like the layout of the [wpdm_Tree] much better. Is it possible to use the [wpdm_Tree] view and limit the users to only see the categories and files they have permissions to?
I have already installed the Custom Access Level plugin and set “When user is not allowed to download:” to “Hide everything”
I am using the wordpress download manger and I am using this code to display the download lists in an order so that it orders by update_date, but somehow its not working, Can you please help me fix the issue. Here is the short-code I am using
[wpdm_all_packages items_per_page="20" categories="brochures" order_by="update_date" ]
This is my webpage where its listing all the downloads https://tritool.com/news-resources/resources/brochures/ The update date are showing wrong on this page if you click the available download file for details you will see the accurate update dates for every download.