• Resolved jscongdon

    (@jscongdon)


    Memphis Documents Error: mdocs-export.zip was not found, please contact the owner for assistance.

    When trying to export the library I receive the above error.

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

    (@bhaldie)

    could be a couple of things:

    Not enough space in your system tmp folder, the solution is to free up space or change you php.ini file sys_tmp_dir to a bigger folder.

    Another issue could script time outs:

    take a look at these config variable in your php.ini file:

    
    memory_limit = 32M
    upload_max_filesize = 24M
    post_max_size = 32M
    max_execution_time = 10
    
    Thread Starter jscongdon

    (@jscongdon)

    I have unlimited storage space and my config vars are:

    memory_limit = 256M
    upload_max_filesize = 64M
    post_max_size = 64M
    max_execution_time = 30

    Plugin Author bhaldie

    (@bhaldie)

    i would suggest increasing your max_execution_time to 1 minute. See what happens.

    Thread Starter jscongdon

    (@jscongdon)

    Didn’t work. It sits for about 5 seconds before giving the error.
    I only have 7 documents in the library as well… so it shouldn’t take that long.

    Plugin Author bhaldie

    (@bhaldie)

    is your system tmp directory readable by web service user. If the system tmp directory is not accessible then the process can’t run.

    to find out the location of your system tmp directory you can create a php file and add the following code inside it:

    <?php
    phpinfo();
    ?>

    this will list all configuration values for php.

    Thread Starter jscongdon

    (@jscongdon)

    It is. I just created a little script to write a file to system tmp and verify it was there. Success.

    Plugin Author bhaldie

    (@bhaldie)

    next thing you might try is check your apache logs see if you can see any errors there.

    Thread Starter jscongdon

    (@jscongdon)

    I’m not getting any errors in the logs related to MDocs.
    Though, twice – an actual file downloaded. One had the actual files in it and the other one was invalid.

    Plugin Author bhaldie

    (@bhaldie)

    hmm… can run the export again but also keep your eye on the tmp folder and see if the zip file is being created.

    export cleans up the tmp folder on completion and what might be happening is the file is being deleted before the download process has started. You will have to be quick because you have a small export but you should see a folder called mdocs/ and a zip file called mdocs-export.zip

    You could also try this as well open the file mdocs-localization.php and goto line 121 and comment out this:

    
    //unlink(sys_get_temp_dir().'/mdocs-export.zip');
    

    this will prevent the deletion of the export file in your tmp directory.

    • This reply was modified 7 years, 8 months ago by bhaldie.
    Thread Starter jscongdon

    (@jscongdon)

    Commented the line out… and now it works every time.

    Thread Starter jscongdon

    (@jscongdon)

    Might be able to take a queue from UpdraftPlus Backups. When selecting to download a backup, a zip file is prepared then they give you buttons to Download / Delete from the server.
    I usually download it first and after it’s complete and I can verify it – I go ahead and delete it.

    Plugin Author bhaldie

    (@bhaldie)

    Yeah looks like I’m going to have to make a change to fix this issue.

Viewing 12 replies - 1 through 12 (of 12 total)
  • The topic ‘Export Error’ is closed to new replies.