Hey.
Have a very strange problem.
Whenever I try to download a file on my site I get this error:
Warning: A non-numeric value encountered in /customers/7/6/8/jcai.dk/httpd.www/wp-content/plugins/download-manager/libs/class.DownloadStats.php on line 35
and then a lot of strange letters and symbols. It can take minutes before all characters are read.
But if I refresh the page, then the file is downloaded without any problem.
I’m using PHP 7.2 if that can help. Otherwise, ask if there is other info you need.
We allocated 1gb memory for PHP framework. When using the jstable function with wpdm_all_packages shortcode (jstable=1) the allocated memory is exceeded. The plugin builds a table with more than 1GB memory for itself. When deactivating (jstable=0 or deleting the entry), it works. So far so good. jstable is fixed used in your code, expecting to have it activated and prevents to switch to the next page. We found a workaround with defining line 1002-1005 of file wpdm-archive-page/wpdm-archive-page.php as commentary. But it has also influence from stats, we unfortunately needed to use. It freezes the system completely by memory allocation overflow. We have currently entered 2090 downloads in WPDM.
Can you check it. Maybe you have ideas for workarounds which doesn’t need to reenter after an update.
Hello;
I’v noticed that there are a huge number of php warning created to apache error log, the infomation is :
[Wed Jan 16 10:04:44.489183 2019] [:error] [pid 1238] [client 46.229.168.129:63562] PHP Warning: file_put_co ntents(/var/www/snailsuite.com/public_html/wp-content/uploads/wpdm-cache//session-38f19b667a74ee8097c610aaa7c 543a0.txt): failed to open stream: No such file or directory in /var/www/snailsuite.com/public_html/wp-conten t/plugins/download-manager/libs/class.Session.php on line 75
but, I’v tested all downloads, it seems all download running ok, do I need worry about it? or how do I deal with it? because it create 100k error log which makes the error log fat, very fat:(
Hi Team,
Yesterday my client’s downloads, all are with Google Drive, stopped working. It just had a blank error 500 page when you clicked the download button after you entered the password.
I renewed my pro license and updated to 4.9 today, thinking that may have been the issue.
When testing today, after I enter a password and click the download button, nothing at all happens. Not even a page refresh.
I then did a test by removing the password and when I click on the download button, it goes to the Google Drive file with no problem.
Can you please advise how to fix the issue as I really need the password lock to work again?
Regards,
Nate
Hi I am trying to set up my front downloads page to look like the categories block page on your demo.
However I can adda block in gertenberg but I can’t seem to select the category.
I can’t type in the box to select a category, if I click on the search icon it just greys out the box and doesnt actually do anything.
Hello there,
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:
[wpdm_category id="tickets-swiss-travel-pass-de" toolbar="0" order_by="field name" order="asc" template="link-template-default"]
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:
<!– WPDM Link Template: Default Template –>
<div class=”panel panel-default wpdm-link-template link-template-default”>
<div class=”panel-body”>
[thumb_200x100]
<div class=”panel-content”>
<h4 style=”padding-top: 0px;border:0px;margin: 0px;line-height: 1.7″>[title]</h4>
<i class=”fas fa-hdd color-red”></i> [icon]
</div>
</div>
<div class=”panel-footer”>
[download_link]
</div>
</div>
5. Can you give me the correct code snippet which will create a view such as this one of yours?
Thank you in advance!
PS. And how can I add a target=”_blank” to the DOWNLOAD button, so that a new tab opens when someone clicks the button?
I can’t get my page to load at all now. Please help.
Hi there,
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"]
On this page: http://www.gdacllc.com/plan-room/current-bids/
Now, we would like to split packages into two categories…each category will get it’s own page.
Can you please help me keep this same layout, but switch with category view instead of all packageS?
It would be very much appreciated!