please use this Pastebin code,
https://pastebin.com/K9NfsQRD
I hope it will work now for
downloads/tpls3/wpdm-all-downloads.php file
thanks
this is my current wp all downloads PHP file sir please paste in this.
wpdm-all-downloads.php
Hi,
if you are using bootstarp 4 from downloads > settings > user interface
please add the below linedownloads/tpls/wpdm-all-downloads.php file in line number 295
$data['download_link'] = "<a target='_blank' class='btn btn-primary' href='".get_permalink($data['ID'])."'>"."Download"."</a>";
commenting out this line
// $data['download_link'] = \WPDM\Package::downloadLink($data['ID'], 0, array('template_type' ► 'link'));
I hope it should open a new tab for the related packages
thanks
This reply has been marked as private.
Please simply click the Save Settings again for the license key option from Downloads > Settings > License, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time
and for add-on for now,
1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
2 ) Install the latest version
thanks, I hope you have understood
Hi,
For Invalid File Type updating ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:
- Upload is not working
- Showing “Invalid File Type” error when trying to download
Here is the reason and solution:
<hr/>
From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.

Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.
or, Just Keep it Empty for WordPress default use as I image attached

thus it may resolve the issue
thanks
Fatal error: Allowed memory size of 402653184 bytes exhausted (tried to allocate 60918080 bytes) in /usr/www/users/tckleb/wp-includes/wp-db.php on line 2056
Since we are getting more and more Files in the Download section the system keeps getting slower and slower and with the last file we put in we now get this error in the backend and the frontend. I read a lot here in the forum before asking and the overall solution seems to be raising the memory limit to 1024, which is simply not possible in a quite standard hosting package and from my point of view also not needed. Is there any other possible solution?
The customer would possibly upgrade to pro, but I don’t see that helping with the memory problem. Both sides in the backend and frontend which display all files put out the error. If I only got some Downloads on a page in the frontend it seems to work. Looks like it’s running out of memory when too many files are getting diplayed.
What can we do?
Thanks for your help!
Cheers, Markus
You can also try updating the PRO plugin this way, please simply click the Save Settings again for the license key option from Downloads > Settings > License, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time
and for add-on for now,
1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
2 ) Install the latest version
thanks, I hope you have understood
How could I translate strings using wpdm-archive-page shortcode? I use Loco translate and I can’t find strings for translating these ones.
Please see attached screenshot.
Strings to translate are: Search, Order By, Order by list (Publish date, …), Order (ascending order, descending order), all downloads.
Thank you in advance.
This reply has been marked as private.
Hi,
For Invalid File Type updating ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:
- Upload is not working
- Showing “Invalid File Type” error when trying to download
Here is the reason and solution:
<hr/>
From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.

Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.
or, Just Keep it Empty for WordPress default use as I image attached

thus it may resolve the issue
thanks
Hi,
If you are trying package link over download text for this shortcode wpdm_all_packages, I have made a custom file that will render you download text for package link, please copy this Pastebin URL code,
https://pastebin.com/crEif8Vb
then try to paste download-manager > tpls/tpls3 > wpdm-all-downloads.php file, if you are using bootstrap4 then tpls, bootstrap3 then tpls3, for making backup the file, please follow this doc, https://www.wpdownloadmanager.com/doc/template-files/
please let me know, if it works from your side
thanks
Hi,
After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:
- Upload is not working
- Showing “Invalid File Type” error when trying to download
Here is the reason and solution:
<hr/>
From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.

Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.
or, Just Keep it Empty for WordPress default use as I image attached

thus it may resolve the issue
thanks
Hi,
After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:
- Upload is not working
- Showing “Invalid File Type” error when trying to download
Here is the reason and solution:
<hr/>
From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.

Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.
or, Just Keep it Empty for WordPress default use as I image attached

thus it may resolve the issue
thanks
Another issue we have. The first time somebody fills out a form to download, we receive all the info in the download notification. If I continues his session and downloads more, we only receive the IP address, the other info is not added, only on the first download. Is there a setting for that?
I have seen that which template you are using in the shortcode there you have used link-template-default,
by default, you are using link-template-default.php for the link template. After customizing/adjusting download button tag, you can copy the file in the theme directory naming a folder called download-manager, then paste it in tpls>page-templates for page template or tpls>link-templates for link template. and you can follow this doc for making backup files, https://www.wpdownloadmanager.com/doc/template-files/
also, you can use the pre-made link-templates or page-templates from here as i image attached,

from Downloads > Templates section
and for title size, you may use adjusted font size for the package title
I hope those may help you
Thanks again
This reply has been marked as private.
Hi,
After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:
- Upload is not working
- Showing “Invalid File Type” error when trying to download
Here is the reason and solution:
<hr/>
From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.

Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.
or, Just Keep it Empty for WordPress default use as I image attached

thus it may resolve the issue
thanks
Hi,
After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:
- Upload is not working
- Showing “Invalid File Type” error when trying to download
Here is the reason and solution:
<hr/>
From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.

Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.
or, Just Keep it Empty for WordPress default use as I image attached

thus it may resolve the issue
thanks
Hi,
yes, possible
by default, you are using link-template-default.php for the link template and page-template-default.php for the page template. After customizing/adjusting download button tag, you can copy the file in the theme directory naming a folder called download-manager, then paste it in tpls>page-templates for page template or tpls>link-templates for link template. and you can follow this doc for making backup files, https://www.wpdownloadmanager.com/doc/template-files/
also, you can use the pre-made link-templates or page-templates from here as i image attached,

from Downloads > Templates section
I hope those may help you
Thanks.
Hi
I don’t understand what you mean
“It is working fine here, with items_per_page more than 12, the packages was causing the issue which allows access option was empty from package settings, https://theblueshield.org/wpdm-test/”
There are 18 packages?
I don’t understand how the shortcode generator
For this image, https://www.wpdownloadmanager.com/wp-content/uploads/2012/11/wpdm-archive-page-addon-shortcode-generator.png,
depends on this add-on, https://www.wpdownloadmanager.com/download/advanced-tinymce-button/,
HOW do they interact? How do I fix it?
What even is Tinymce? do I need it? Can I remove it? Will that fix it? If I remove it, what setting will make all 18 downloads display?
Secondly, why do I always need to be logged in to access the downloads?
User registration does not work, so I do not want people to need to log in to access them?
Though I would also like user registration to work?
Thanks, Emma
Please simply click the Save Settings again for the license key option from Downloads > Settings > License, which will regenerate the access token. Finally, go to the plugins page and the update will work fine this time
and for add-on for now,
1 ) Download the latest version from here https://www.wpdownloadmanager.com/user-dashboard/?udb_page=purchases
2 ) Install the latest version
thanks, I hope you have understood
in the menu
downloads / settings / updates
it give the list of
installed plugins
non installed plugins
plugins that can be updated
if i select a plugin update,the result is that the corresponding plugin is deleted which is not really what should be done
Hello,
we want to use your Pro plugin for downloads only. No user should be able to upload some files, login, or use/see a dashboard All downloads should be free and there should be a main page like yours where people can see categories, etc.
Also, can we add a download link from a remote server so we don’t have to upload files to our server?
I saw in your free version login form shortcodes, accts shortcodes too. Can this be deactivated in the Pro version?
Thank you
-
This topic was modified 5 years, 7 months ago by
Andy.
After this update ( 3.1.17 or 5.3.7 ), you may face the following 2 issues:
- Upload is not working
- Showing “Invalid File Type” error when trying to download
Here is the reason and solution:
From WPDM Free 3.1.20 and WPDM Pro 5.3.7, we have changed the file type validation process during file upload and download. Now, you have to white file types to allow them to upload or download. You will find the option at Admin Menu ► Downloads ► Settings ► Basic Settings Tab ► Upload Settings section.

Please add file types ( texts, multiple texts separated by a comma ) as shown on the marked image. And then save settings. The shall resolve the issue.
If you have further questions, please create a separate post. Thanks for staying with us and using WordPress Download Manager.