Export Error
-
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.
-
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 = 10I have unlimited storage space and my config vars are:
memory_limit = 256M
upload_max_filesize = 64M
post_max_size = 64M
max_execution_time = 30i would suggest increasing your max_execution_time to 1 minute. See what happens.
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.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.
It is. I just created a little script to write a file to system tmp and verify it was there. Success.
next thing you might try is check your apache logs see if you can see any errors there.
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.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 9 years, 3 months ago by
bhaldie.
Commented the line out… and now it works every time.
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.Yeah looks like I’m going to have to make a change to fix this issue.
-
This reply was modified 9 years, 3 months ago by
The topic ‘Export Error’ is closed to new replies.