- This topic has 11 replies, 3 voices, and was last updated 8 years, 5 months ago by
Shahjada.
As subjected, I moved the website from “localhost” local server to online domain and when I click the “download” links they just won’t start, means that I click, “waiting for response” on browser status bar for a few seconds and the loading stops with the download page kind of quickly refresh itself with nothing happening: no download dialog window asking for where to save the file.
The “localhost” version on my PC works fine.
Please note:
– plugin is updated
– extended shortcodes plugin is updated
– wordpress is updated and working fine in all of its parts
– permissions on downloads directory are OK (i even assigned a 777 temporary permission both on files and dirs/subdirs)
– static download links works perfectly (i put one on a download page with full URL and the file is downloaded properly)
– already tried adding a package shortcode on the download page but I get exactly the same problem (download won’t start)
– files were originally added through the “Browse” tool on the download edit page (anyway, as a test, I re-added file once online, the file is regularly attached to download page but download won’t start. files browsing works fine, all the downloads files are there)
– permalinks were correctly saved after moving website to domain (Settings > Permalink)
You can test what I’m saying by accessing this page (just click the “Download” link and nothing will happen).
Can you please help me to find a solution? Which other checks should I do?
Thank you!
Hi, Could you please send temporary wp-admin login info in private reply, so I can check this issue in your installation?
Hello!
Can you please let me know about the above request? It is pretty urgent that we solve this problem as our customers are actually unable to access documents about our products, which is awkward by the way.
Thank you for your understanding, we look forward to your reply with the requested informations.
You can use this email address support@wpdownloadmanager.com for temporary user. Keep it activated, I will check at my earliest possible time.
Hello Shahriar,
We kindly ask you to please have a look at our issue as soon as possible, we are to send out an important newsletter (links are pointing out to our website!) regarding a very important event we will take part to in the following days and we need the plugin to work properly.
Temporary login for you is active (as previously mentioned) and we saw that you already verified issues of other users of this forum for the same plugin in less than 24 hours.
We understand our issue might be more complex for you to sort out but it is extremely vital for us that all works perfectly online as it does locally.
Customers are already writing to us saying they are unable to download our brochures and technical specs (since 3 weeks now, which is awkward).
We are sure that you understand our trouble and we are confident that you will verify and find a solution in the shortest time possible.
Look forward to hear from you.
Thanks!
Good morning Shahriar,
we still have no news from you about our issue, no login access from you over the last 2 days.
Please, let us know as soon as possible, we urgently need this to be fixed, it is a very serious problem for our company.
Thank you for your understanding.
Hello Shaon.
Can you please explain what the problem was and how you fixed it? I need this information in order not to repeat this issue and also, as requested, to report activities with your temporary login.
Thank you.
Hello Shaon,
as mentioned above, i need to know exactly what you edited.
Please reply privately or e-mail asap.
Thank you!
WPDM generate download links are packageurl?wpdmdl=packageid which is not working for strange reason in your server, so I had to change it to homeurl?wpdmdl=packageid.
Changed file: class.Package.php
Old Code:
public static function getDownloadURL($ID, $ext = ''){
if(self::isLocked($ID) && !isset($_SESSION['_wpdm_unlocked_'.$ID])) return '#locked';
if ($ext) $ext = '&' . $ext;
$permalink = get_permalink($ID);
$sap = strpos($permalink, '?')?'&':'?';
return $permalink.$sap."wpdmdl={$ID}{$ext}";
}
Changed Code:
public static function getDownloadURL($ID, $ext = ''){
if(self::isLocked($ID) && !isset($_SESSION['_wpdm_unlocked_'.$ID])) return '#locked';
if ($ext) $ext = '&' . $ext;
$permalink = home_url();
$sap = strpos($permalink, '?')?'&':'?';
return $permalink.$sap."wpdmdl={$ID}{$ext}";
}
The topic "Downloads won't start after moving website to domain" is closed to new replies.