Support » Plugin: WordPress Download Manager » Unable to download WP_DM .csv History file

  • Resolved adsy1978

    (@adsy1978)


    Not sure how long this has been like it, as I only download the report monthly, but I can no longer get the .csv file through the History menu.

Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Contributor Shahriar

    (@shahriar0822)

    Do you have the latest version of WordPress Download Manager? Please check the plugins page.

    Thread Starter adsy1978

    (@adsy1978)

    I am on version 3.02. I update regularly.

    Same here. Version 3.0.2 installed and I can no longer get the .csv file either. Last month it was working just fine.

    Plugin Contributor Shahriar

    (@shahriar0822)

    The export stats feature is working on my side. Could you please explain what exactly happens after clicking the “Export History” button?

    Thread Starter adsy1978

    (@adsy1978)

    I’m using the latest version of Firefox. When I attempt to download it, either by viewing or saving it, it thinks for a bit, then comes up and says “download-stats-1.csv – Failed”

    Retrying through the download tab, or by going through the whole process again doesn’t improve it.

    I understand from your end when it’s working it is hard to track down, but the last time I pulled the stats correctly would have been in the third week of August. Not sure if that timeline helps with any updates that you have run.

    Same exact error here. I am using Chrome and also tried with Edge.
    It seems that it started when the update that included the top left button “Download History” rolled. That button doesn’t do anything, and the “Export History” gets the error mentioned above.

    Plugin Contributor Shahriar

    (@shahriar0822)

    Please check your error log and let me know if you find any related.

    I have checked the old version code. The only difference I found is in downloadHeaders function in /download-manager/libs/class.FileSyatem.php file. You can try replacing the code inside that function with the following code,

    @ob_end_clean();
    header("Content-Description: File Transfer");
    header("Content-Type: text/plain");
    header("Content-disposition: attachment;filename=\"$filename\"");
    header("Content-Transfer-Encoding: text/plain");
    header("Content-Length: " . $size);

    “Download History” isn’t a button, it just links to the stats page/self and not supposed to do anything else.

    Thank you Shahriar! Replacing the code worked!

    Thread Starter adsy1978

    (@adsy1978)

    YES!! Thank you Shahriar, that code replacement works perfectly!

    Thank you also Paula for backing up my issue. Always hard to justify an issue when no one else has it! 🙂

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Unable to download WP_DM .csv History file’ is closed to new replies.