WordPress 4.3.1
Host: Wpengine
Url: http://[example.com]/download/%5Bpackagename%5D/?wpdmdl=2597
I can see in the logs it’s returning a 302 redirect but the expiration token was not getting updated. Here’s a log showing the expiration time being significantly off the +1 hour time when a link is generated.
=======================
[ip_address] [example.com]- [18/Sep/2015:02:33:23 +0000] “GET /download/[packagename]/?wpdmdl=2597 HTTP/1.1” 302 0 “http://[example.com]/%5Bpagename%5D/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36”
=======================
If I logged in as an admin, it would generate a valid url.
I then cleared the wpengine cache and a nonlogged in user (me in private mode) was able to get a valid link. Here’s that log
=======================
[ip_address] [example.com] – [18/Sep/2015:02:39:13 +0000] “GET /download/[packagename]/?wpdmdl=2597 HTTP/1.1” 302 0 “http://[example.com]/%5Bpagename%5D/” “Mozilla/5.0 (Macintosh; Intel Mac OS X 10_10_5) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.93 Safari/537.36”
=======================
Can this product do this?
I have set up a temporary admin account. Please let me know how to send the username/password to your support.
When I hit the Download manager tiny mce button to choose a shortcode it gives me the following error:
<h3 style=”color: #000000; font-family: Times; line-height: normal; white-space: pre;”>This page contains the following errors:</h3>
<div style=”color: #000000; line-height: normal; white-space: pre; font-family: monospace; font-size: 12px;”>error on line 409 at column 11: Opening and ending tag mismatch: br line 0 and div</div>
<h3 style=”color: #000000; font-family: Times; line-height: normal; white-space: pre;”>Below is a rendering of the page up to the first error.</h3>
Download Manager » Insert Package or Category .w3eden legend { font-size: 10pt; } .w3eden .nav a:active, .w3eden .nav a:hover, .w3eden .nav a { outline: none !important; } .w3eden button, .w3eden input[type=submit], .w3eden input[type=button], .w3eden input[type=text] { line-height: 26px; min-height: 26px; margin-bottom: 10px; } .w3eden .btn small { font-size: 65%; } #wpdmacats, #wpdmcats { height: 280px; overflow: hidden; border: 1px solid #eeeeee; border-radius: 4px; margin: 0px; padding: 10px; } #wpdmacats:hover, #wpdmcats:hover{ overflow: auto; } #wpdmacats li label , #wpdmcats li label { display: inline; font-size: 11px; font-weight: normal; } #wpdmacats li , #wpdmcats li { list-style: none; } .nav-tabs li a { font-weight: 700; font-size: 9pt; } #wpdm-files_length { display: none; } #wpdm-files_filter { margin-bottom: 10px !important; } .adp-ui-state-highlight { width: 50px; height: 50px; background: #fff; float: left; padding: 4px; border: 1px solid #aaa; } #wpdm-files tbody .ui-sortable-helper { width: 100%; background: #444444; } #wpdm-files tbody .ui-sortable-helper td { color: #fff; vertical-align: middle; } input { padding: 4px 7px; } .dfile { background: #ffdfdf; } .cfile { cursor: move; } .cfile img, .dfile img { cursor: pointer; } .inside { padding: 10px !important; } #editorcontainer textarea { border: 0px; width: 99.9%; } #icon_uploadUploader, #file_uploadUploader { background: transparent url(‘http://178.fad.myftpupload.com/wp-content/plugins/download-manager/images/browse.png’) left top no-repeat; } #icon_uploadUploader:hover, #file_uploadUploader:hover { background-position: left bottom; } .frm td { line-height: 30px; border-bottom: 1px solid #EEEEEE; padding: 5px; font-size: 9pt; font-family: Tahoma; } .fwpdmlock { background: #fff; border-bottom: 1px solid #eee; } .fwpdmlock td { border: 0px !important; } #filelist { margin-top: 10px; } #filelist .file { margin-top: 5px; padding: 0px 10px; color: #444; display: block; margin-bottom: 5px; font-weight: normal; } table.widefat { border-bottom: 0px; } .genpass { cursor: pointer; } h3, h3.handle { cursor: default !important; } #access { width: 250px; } .action #nxt { width: 100%; position: fixed; top: 0px; left: 0px; z-index: 999999; } #nxt a { font-weight: bold; color: #0C490C; } .action-float { position: fixed; top: -33px; left: 0px; width: 100%; z-index: 999999; text-align: right; background: rgba(0, 0, 0, 0.9); } .action .inside, .action-float .inside { margin: 0px; } .action-float #serr { width: 500px; float: left; margin: 4px; z-index: 999999; margin-top: -50px; border: 1px solid #800000; } .action-float #nxt { width: 500px; float: left; margin: 4px; z-index: 999999; margin-top: -40px; border: 1px solid #008000; } .wpdm-accordion div { padding: 10px; } .w3eden select{ border-radius: 3px; } .wpdmlock { opacity: 0; } .wpdmlock + label { width: 16px; height: 16px; vertical-align: middle; } .wpdm-unchecked { display: inline-block; float: left; width: 21px; height: 21px; padding: 0px; margin: 0px; cursor: hand; padding: 3px; margin-top: -4px !important; background-image: url(‘http://178.fad.myftpupload.com/wp-content/plugins/download-manager/images/CheckBox.png’); background-position: -21px 0px; } .wpdm-checked { display: inline-block; float: left; width: 21px; height: 21px; padding: 0px; margin: 0px; cursor: hand; padding: 3px; margin-top: -4px !important; background-image: url(‘http://178.fad.myftpupload.com/wp-content/plugins/download-manager/images/CheckBox.png’); background-position: 0px 0px; } .cb-enable, .cb-disable, .cb-enable span, .cb-disable span { background: url(http://178.fad.myftpupload.com/wp-content/plugins/download-manager/images/switch.gif) repeat-x; display: block; float: left; } .cb-enable span, .cb-disable span { line-height: 30px; display: block; background-repeat: no-repeat; font-weight: bold; } .cb-enable span { background-position: left -90px; padding: 0 10px; } .cb-disable span { background-position: right -180px; padding: 0 10px; } .cb-disable.selected { background-position: 0 -30px; } .cb-disable.selected span { background-position: right -210px; color: #fff; } .cb-enable.selected { background-position: 0 -60px; } .cb-enable.selected span { background-position: left -150px; color: #fff; } .switch label { cursor: pointer; } .switch input { display: none; } p.field.switch { margin: 0px; display: block; float: left; } .drag-drop-inside { text-align: center; padding: 10px; border: 2px dashed #ddd; margin: 10px 0px; } #wpdm-files li { list-style: none; } .w3eden select{ padding: 5px; } .nav-tabs{ margin: 0 !important; } .tab-content{ border: 1px solid #dddddd; border-top: 0; padding: 10px; } Insert Package Insert Category Other Short-codes Link Template: With Audio Preview Call to Action 1 Bootstrap Thumbnail Button Template Call to Action 1 Call to Action 2 Call to Action 3 Call to Action 4 Default Template w/Icon Default Template 3 Columns, Detailed Metro Style Link Template Embedded Panel Search Result Template 1 Column, Extended Widget Template Select Package
Hello,
I have an issue with changing the download file URLS.
All my files (Over 3500 of them) are stored on an external server, and so, I add packages by adding URLS.
The problem I have now is that I want to change these URLS periodically to prevent sharing misuse and to save bandwidth.
I have seen that everything seems to be saved in the postmeta file in the DB. Now, when I update all of the links via the postmeta, reupload the file. The download packages no longer work. The postmeta now holds the updated URLS, but when I go to each package (“Downloads; All Packages; Package 001” etc) The attached file still shows the old URL.
How do ensure that it updates to the new ones? Is there another DB file it uses that I’m missing here?
Many thanks
We’re creating new WordPress sites entirely in SSL and if I log into the WP admin interface on such SSL sites, Download Manager inserts HTML that isn’t “SSL-safe”, causing mixed content warnings. Here’s what happens:
* Download Manager Pro plugin installed and active on SSL site.
* The main admin interface page has this HTML inserted by Download Manager that causes a mixed content warning (yes, it does say “wpdmvarsion”!):
<pre id=”line1″><<span class=”start-tag”>iframe</span> <span class=”attribute-name”>src</span>=”http://cdn.wpdownloadmanager.com/notice.php?wpdmvarsion=4.3.0”
<span id=”line1048″></span> <span class=”attribute-name”>style</span>=”height: 300px;width:100%;border:0px“></<span class=”end-tag”>iframe</span
And, yes, there is a valid secure cert on https://cdn.wpdownloadmanager.com/
so it could have been prefixed with // instead of http://.
* If you load in the iframe URL, this has further issues in its HTML:
<<span class=”start-tag”>link</span> <span class=”attribute-name”>href</span>=’http://fonts.googleapis.com/css?family=Source+Sans+Pro:300,900‘ <span class=”attribute-name”>rel</span>=’stylesheet‘ <span class=”attribute-name”>type</span>=’text/css‘>
This http:// link prevents any attempt to workaround the mixed content warning issue (e.g. with mod_substitute, WordPress for HTTPS etc.).
It should of course start with ‘//fonts.googleapis.com/…
It would be nice if these two simple (and near-identical) fixes were added to the next Download Manager release.
Download Manager Pro doesn’t show any indication in the WP admin interface that there’s a new version available, which is extremely poor, particularly if the new version has security fixes. In fact, the lack of auto-updates of Download Manager Pro is utterly appalling and a major security risk, so I’m going to have to “homebrew” my own way of doing auto-updates.
Firstly, I’m going to need to know what the latest version of Download Manager Pro is – my best guess is to scrape this page:
http://www.wpdownloadmanager.com/category/blog/new-release/
and look for the earliest line with “WordPress Download Manager Pro vX.Y.Z released” and extract the version from that. This seems extremely crude – is there a better way to get the latest version programmatically?
Once a new version is detected, it looks like I’ll have to screen scrape with curl to get to the latest zip file in my account:
* Login to Download Manager site
* Go to http://www.wpdownloadmanager.com/purchases/
* Get the top (“Completed”) Order id line and follow the link
* Grab the Download link for the download-manager-X.Y.Z.zip file (may also need to get License key here)
* Logout from Download manager site
* Copy the zip file onto the server I want to update
* Run a sequence of WP-CLI commands as necessary:
– Deactivate old plugin (if present and activated)
– Delete old plugin (if present)
– Install new plugin
– Activate new plugin
– Add license key if needed (not sure how you do this step!)
* Do some post-upgrade tests (home page HTML OK, returns code 200 etc.)
* Rollback using an old zip file/license key if there’s a problem
It does seem to be a total pain in the backside to have to handcode this (and if the Download Manager site gets reworked, things will fail) – there *really* ought to be better way than this – an auto-updater plugin (which I see was around in 2011, but gone now) or something. I can auto-update all the other free and paid plugins I have installed in our WP sites…except for Download Manager Pro – arrgh!
Hello .. i try to download file to try a pdf stamper add-on but when i press download i get this massage :
Warning: fopen(): http:// wrapper is disabled in the server configuration by allow_url_fopen=0 in /home/****/public_html/wp/wp-content/plugins/wpdm-pdf-stamper/libs/fpdf1.7/fpdf.php on line 1232 Warning: fopen(http://www.******.com/wp/wp-content/uploads/2015/08/******_stamp.png): failed to open stream: no suitable wrapper could be found in /home/***/public_html/wp/wp-content/plugins/wpdm-pdf-stamper/libs/fpdf1.7/fpdf.php on line 1232 FPDF error: Can’t open image file: http://www.*******.com/wp/wp-content/uploads/2015/08/**********_stamp.png
My Apache error log is being flooded with a bunch of errors from the WPDM Pro addon. It appears the addon is creating links for file type icons that don’t (and shouldn’t) exist. It appears that the error occurs when a URL is attached as a package. I’ve attached part of my Apache error log to help track down this issue.
Any help on this would be appreciated. Thanks!