Shariar, hope the weekend was a good one. Now the “download link is expired” error message occurs in every scenario: when you first reach the order details page following the transaction, when you reach it via email link, and when you press “proceed” with email and order number inputs. Any help with this one is appreciated, thanks for making the time.
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
We will add the patch in next release, so update won’t erase the patch.
You have to use a custom link template. To skip the details page remove the [page_link] tag from your template. And to open in new window replace [download_link] with the following code,
I just want the link for the title and download link to open the file in a new browser and not take the user to the download page generated by your system
When there are too many files in a package and the total size is bigger than usual your server is failing to compress the file due to server limitation. And the compression process is being halted on halfway which is creating those junk file. My suggestion is, turn off main package download link on those packages and use the only single file download option.
Please deactivate the cache zip file option from WPDM Settings. Or send temporary wp-admin login info in private reply, I will update the settings. Also, keep the single file download option only. To do that you have to use [file_list] or [file_list_extended] template tag in your link/page template and remove the [download_link] tag to disable whole package download option.
Thanks Andy. I am familiar with the setting you mentioned. I should have been more specific in my question…I need the PDFs to open in a new tab.
I looked at the templates and see a [download-link] shortcode in them, but no “a” tag to add a target too. I was hoping that support could offer a solution.
[ ] 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.
I am also getting #locked after purchasing the Form Lock plugin and installing it… it shows up after completing a form in the download link. why is this the case? how do I change it? This is very frustrating!
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.
Shariar, this is a nice option for the time being. However, after checkout, with cache cleared, it presents an order details page with the email and order ID prepopulated, and the download available. Clicking download produces the attached “you don’t have permissions to download” error message. Only after clicking back, then clicking proceed under the email and order ID does it bring you back to the same page where the download link is valid. Any thoughts?
You have to create a custom link template to open the file in a new tab. Clone the link template you are using now. Then replace [download_link] template tag with the following code,
Thanks for your answer. I am with you it must be a CSS issue but I suppose/hope that someone from the Support team of the plugin will help me.
It is the first time I work with this plugin and the Support team is not what I expected. I have opened 3 topics this week and I haven´t received any answer yet. Did you receive any?
By the way, the download links work fine to me. Could you send me a screenshot of the 403 error you are experiencing?
We are using email lock, and have configured the plugin not to send the email link to the user, but to allow download right away. However, on the screen where the user enters their email address, the helper text says:
“Send Download Link To:”
Because we are not sending the link, this is ambiguous and is confusing our customers. I’d like to change the wording on this to something more appropriate but am struggling to locate this wording in the various PHP files in the plugin install directory. Please can you point me to where this string is defined so that I can change it to something more acceptable?
unfortunately when you use the Login Required Message, it doesn’t display the login form when you use the link. This is a problem if you want the form to show up instead of a link to a page to login.
Instead, I had to use Code Snippets and use the following:
add_action(‘wpdm_login_form’,’my_login_field’);
function my_login_field() {
?>
<p>
<h3 class=”media-heading” style=”padding-top: 0px;border:0px;margin: 0 0 5px 0;font-size:12pt;”>Login above or Register to download this file</h3>
</p>
<?php
}
Not the prettiest. Would be nicer to have a way to customize the login form that shows up instead of having just a message as the fall back. Especially since the text above only appears below the login fields.
Also, upon logging in, it would be nice if it stayed on the same page where the link was put in and just change the login form to a download form.
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.
If your product is free for download then you can just add the URL to the package. User will be redirected to the URL when they click the download link.
Please make sure you have the latest version of Download Manager ( 4.9.3 ) and Premium Package ( 4.2.0 ) add-on. Then check the “Private Download Links Usage Limit:” option is Basic settings page. If it is set to 0 then set a bigger number there.
If the problem persists send temporary wp-admin login info in private reply.
Author
Search Results
Viewing 25 results - 4,676 through 4,700 (of 9,513 total)