WPDM – PDF Viewer
Version 1.2.4
DM
Version 4.8.11
Theme
Avada
We have added the shortcode into the template and now getting error
Frontend Error
Notice: Undefined index: host in /home/…/…/wp-content/plugins/wpdm-pdf-viewer/wpdm-pdf-viewer.php on line 30
Devtools Error
JQMIGRATE: Migrate is installed, version 1.4.1
?__wpdm_pdf_viewer=1123|0:43 Uncaught SyntaxError: Invalid or unexpected token
pdf.js:6211 The provided value ‘moz-chunked-arraybuffer’ is not a valid enum value of type XMLHttpRequestResponseType.
supportsMozChunkedClosure @ pdf.js:6211
viewer.js:10176 Uncaught ReferenceError: DEFAULT_URL is not defined
at getViewerConfiguration (viewer.js:10176)
at HTMLDocument.webViewerLoad (viewer.js:10180)
Hi there, I am trying to add a new download and this item is larger than 2MB. I have placed the item in the some location within the download-manager-files folder. My problem is that I am not able to use the browse option to find this file. I am also not certain what the url would be to add this in since download manager truncates the url with a number after the document id? I have not added a new item in quite a while… so maybe I am just missing a step or setting here? This could also be some sort of plugin conflict, I am not sure? Any help would be appreciated.
Thanks,
Becky
Hi,
I’ve added a page with [wpdm_frontend flaturl=0] and am trying to review what this offers browsers of the site – specifically with the intention of allowing uploads from users.
I can see the “add new” button, I click that and it asks for a title, I type a title in and then the page clears and I just get a small block of json:
{“result”:”_ap_wpdm”,”id”:207}
Also, if I click on File Manager it reports an invalid directory being used by scandir in wp-content/plugins/wpdm-filemanager/filemanager-frontend.php on line 5 – where can I review this setting and change if required?
Thanks
Matt.
Hi,
I am using the directory add-on for a new site and everything seems to be working, except that the search never returns any results regardless of what I search for. The URL is:
https://www.isasa.info/policy-database/
Could there be a conflict with another plugin?
Simon
Hi,
After adding multiple items to cart and pressing the checkout, the cart page appears empty.
Please check url in private reply.
Hi Guys,
Just noticed that there is an audio player modal script added to every page on the website. Why is it added? How can we remove it?
<audio autoplay controls style=’width: 100%;display: none’ id=’wpdm-audio-player’></audio> <script>jQuery(function($){try{$(‘a.wpdm-lightbox’).nivoLightbox();}catch(e){}});</script> <div class=”w3eden”><div id=”wpdm-popup-link” class=”modal fade”><div class=”modal-dialog” style=”width: 750px”><div class=”modal-content”><div class=”modal-header”><h4 class=”modal-title”></h4></div><div class=”modal-body” id=’wpdm-modal-body’><p class=”placeholder”> [ Placeholder content for popup link ] WordPress Download Manager – Best Download Management Plugin</p></div><div class=”modal-footer”> <button type=”button” class=”btn btn-danger” data-dismiss=”modal”>Close</button></div></div></div></div></div> <script language=”JavaScript”>jQuery(function(){jQuery(‘.wpdm-popup-link’).click(function(e){e.preventDefault();jQuery(‘#wpdm-popup-link .modal-title’).html(jQuery(this).data(‘title’));jQuery(‘#wpdm-modal-body’).html(‘<i class=”icon”></i> Please Wait…’);jQuery(‘#wpdm-popup-link’).modal(‘show’);jQuery.post(this.href,{mode:’popup’},function(res){jQuery(‘#wpdm-modal-body’).html(res);});return false;});});</script> <script>(function(){function addEventListener(element,event,handler){if(element.addEventListener){element.addEventListener(event,handler,false);}else if(element.attachEvent){element.attachEvent(‘on’+event,handler);}}function maybePrefixUrlField(){if(this.value.trim()!==”&&this.value.indexOf(‘http’)!==0){this.value=”http://”+this.value;}}
var urlFields=document.querySelectorAll(‘.mc4wp-form input[type=”url”]’);if(urlFields&&urlFields.length>0){for(var j=0;j<urlFields.length;j++){addEventListener(urlFields[j],’blur’,maybePrefixUrlField);}}
var testInput=document.createElement(‘input’);testInput.setAttribute(‘type’,’date’);if(testInput.type!==’date’){var dateFields=document.querySelectorAll(‘.mc4wp-form input[type=”date”]’);for(var i=0;i<dateFields.length;i++){if(!dateFields[i].placeholder){dateFields[i].placeholder=’YYYY-MM-DD’;}
if(!dateFields[i].pattern){dateFields[i].pattern='[0-9]{4}-(0[1-9]|1[012])-(0[1-9]|1[0-9]|2[0-9]|3[01])’;}}}})();</script>
Thanks!
HI,
I tried to use customs fields with quick forms but I have some problems :
I need to add a checkbox for GDPR consent.
1. I need to show a phrase with an url (“i accept conditions <a href=”#”blah blah…)
href is breaking the fields and I get slashes before ‘ : ex: “J\’accepte”
2. I just need to add a checkbox, not all the stuff from Bootstrap for forms : box in a box in box with panel heading and so on… Is there a way to have simple integration or do I have to use css to hide all that ?
3. required checkboxes are checked at the begining. I need it uncheked BUT mandatory
thanks for your help