Support » Plugin: Memphis Documents Library » Unable to batch upload

  • Resolved orthonet

    (@orthonet)


    I am unable to get the batch upload function to work. I have tried uploading zip files created in several ways using winrar and zip function within windows 8 on several browsers chrome, IE, firefox but in each instance the batch upload gives a message “Please upload a zip file”

    Ideas as to why the zip file is not being recognized during the upload process?

    https://wordpress.org/plugins/memphis-documents-library/

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

    (@bhaldie)

    You are the second person who has had this issue, I am running on Mac so don’t do much testing with Windows but I will look into it today and let you know what I find.

    Plugin Author bhaldie

    (@bhaldie)

    I found the problem, I will be releasing a new version soon but for today if you replace the code in the mdocs-batch-upload.php file on line 8:

    if(isset($_FILES['mdocs-batch']) && $_FILES['mdocs-batch']['type'] != 'application/zip') {

    With this code

    if(isset($_FILES['mdocs-batch']) && strpos($_FILES['mdocs-batch']['type'],'zip') !== false) {

    Your issue should be solved.

    Cheers

    Thread Starter orthonet

    (@orthonet)

    Gave that a try but still getting the same error. The zip file appears to upload but then the same message “Please upload a zip file” is displayed.

    Regards
    CV

    Plugin Author bhaldie

    (@bhaldie)

    I’m hoping to get a new version out today that will have this issue fixed, stay tune.

    Thread Starter orthonet

    (@orthonet)

    It works with the update
    Great work
    Thanks!

    CV

    Plugin Author bhaldie

    (@bhaldie)

    prefect glad it worked.. I will mark this as resolved then 🙂

    Cheers

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Unable to batch upload’ is closed to new replies.