• Resolved laurengibb

    (@laurengibb)


    Hello,

    I am trying to upload a zip file and I get this error:

    Memphis Error: The zip file you are trying to upload does not contain any files, or is not a zip file. Please try again with a different file.

    I am uploading a zip file and it does contain files, as I have unzipped and made sure they are there.

    Did you have any ideas as to what could be causing this?

    Thank you.

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

    (@bhaldie)

    try going to mdocs dashboard>Options>Test Server Compatibility> make sure that “ZipArchive Installed” is checked.

    Thread Starter laurengibb

    (@laurengibb)

    Yes it has a green tick.

    Plugin Author bhaldie

    (@bhaldie)

    the other thing you need to check is that you have access to your system temp directory.

    check you php.ini file and check whether upload_tmp_dir is set.

    You can also run this php command to output the system temp dir sys_get_temp_dir()

    Thread Starter laurengibb

    (@laurengibb)

    In my php.ini file under:

    [WebPIChanges] is states
    upload_tmp_dir=C:\Windows\temp

    Plugin Author bhaldie

    (@bhaldie)

    The next question is does php have permission to access that directory. try this command in a php file:

    
    echo sys_get_temp_dir();
    

    let me know the results.

    Thread Starter laurengibb

    (@laurengibb)

    it states: C:\Windows\TEMP at the top of my site

    Plugin Author bhaldie

    (@bhaldie)

    download the new version of mdocs and run the batch upload again, do you see an error message after the upload is complete it looks like this:

    Memphis Info:
    Zip Upload Output:
    name ==> batch.zip
    type ==> application/zip
    tmp_name ==> /tmp
    error ==> There is no error, the file uploaded with success
    size ==> 5879824

    • This reply was modified 9 years, 4 months ago by bhaldie.
    Thread Starter laurengibb

    (@laurengibb)

    I’ve updated to the latest version.

    I still get this error message.

    Memphis Error: The zip file you are trying to upload does not contain any files, or is not a zip file. Please try again with a different file.

    Plugin Author bhaldie

    (@bhaldie)

    You didn’t see the Memphis Info message I described on the previous post?

    Thread Starter laurengibb

    (@laurengibb)

    nope

    Plugin Author bhaldie

    (@bhaldie)

    you may also need to look at your php.ini and check these settings:

    
    upload_max_filesize = 10M
    post_max_size = 10M
    

    make sure these values are bigger than the file you are trying to upload.

    Thread Starter laurengibb

    (@laurengibb)

    my upload file size is 20m and post size is 20m the file I was testing to upload was 719 bytes?

    Thread Starter laurengibb

    (@laurengibb)

    I also cant upload individual documents now, it gets stuck on the loading page.

    Plugin Author bhaldie

    (@bhaldie)

    So uploads did work and now don’t work?

    Have you made any server configuration changes?

    Thread Starter laurengibb

    (@laurengibb)

    I have never been able to bulk import, and today I have lost the ability to just upload a single file.

    I haven’t made any server changes.

Viewing 15 replies - 1 through 15 (of 46 total)

The topic ‘Error Uploading in Batch’ is closed to new replies.