• My wordpress site is crashing and I believe it’s due to the Memphis Docs plugin that we’ve been using. The Apache Error.log file shows a lot of lines similar to this:

    PHP Warning: unlink(C:\\Windows\\TEMP/mdocs-export.zip): No such file or directory in E:\\xampp\\htdocs\\wp-content\\plugins\\memphis-documents-library\\includes\\mdocs-downloads.php on line 80

    I’ve checked line 80 on the mdocs-downloads.php file

    if($_REQUEST[‘mdocs-export-donot-delete’] != ‘on’) unlink(sys_get_temp_dir().’/mdocs-export.zip’);

    not sure if I need to change this line to resolve the issue but I think there might be a formatting or problem with this line in the mdocs-downloads.php file.

    I hope someone can point me in the right direction quickly.

Viewing 5 replies - 1 through 5 (of 5 total)
  • Plugin Author bhaldie

    (@bhaldie)

    first thing I would try is to head to the mdocs dashboard > Options > Export > and check the box ‘Check this if you are having difficulty downloading the export file.’ this will disable the removal process.

    Thread Starter nic12937

    (@nic12937)

    I wasn’t actually running an export, it appears these errors are being generated from the end users. I’m just not understanding what this error means but right after this error occurs, my server runs out of memory and the website crashes.

    Here’s a LINK to the screenshot of what I’m talking about

    https://ibb.co/wJnjv49

    Plugin Author bhaldie

    (@bhaldie)

    I would then just comment out line 80 problem should go away. and make sure the checkbox I mentioned earlier is unchecked.

    Thread Starter nic12937

    (@nic12937)

    thanks, looks good so far, no errors since commenting it out.

    I just wanted to chime in here — I’m having the same issue too, except the plugin is actually adding an error message like that to my downloaded editable files (CSV, PPTX, DOCX, etc.). This is what was added to the end of a CSV file (opened in Excel):

    <br />
    <b>Warning</b>: unlink(/tmp/mdocs-export.zip): No such file or directory in <b>/home/customer/www/rc.aps.company/public_html/wp-content/plugins/memphis-documents-library/includes/mdocs-downloads.php</b> on line <b>80</b><br />

Viewing 5 replies - 1 through 5 (of 5 total)

The topic ‘PHP Warning: unlink(C:\\Windows\\TEMP/mdocs-export.zip)’ is closed to new replies.