• Resolved lporterefb

    (@lporterefb)


    Memphis Error:

    Please upload a zip file.

    Output:
    name ==> testforms.zip
    type ==>
    tmp_name ==>
    error ==> 1
    size ==> 0

    As you can see by the error message I am attempting to upload a zip file. Any thoughts as to why I am getting this error?

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

    (@bhaldie)

    please got mdocs>Options>Test Server Compatibility

    And make sure you have all check marks.

    Let me know what your results are.

    Plugin Author bhaldie

    (@bhaldie)

    also you may want to check your php.ini file:

    upload_max_filesize
    post_max_size

    If you file is too big this error ==> 1 will occur.

    Thread Starter lporterefb

    (@lporterefb)

    All green check boxes except for Imagick Installed.
    and
    upload_max_filesize = 1000M
    post_max_size = 2000M
    file is 2.57M
    ??

    Plugin Author bhaldie

    (@bhaldie)

    Make sure all these settings are correct as well:

    • Check upload_tmp_dir in php.ini. This is directory where PHP stores temporary files while uploading.
    • Check open_basedir in php.ini. If defined it limits PHP read/write rights to specified path and its subdirectories. Ensure that upload_tmp_dir is inside this path.
    • Check post_max_size in php.ini. If you want to upload 20 Mbyte files, try something a little bigger, like post_max_size = 21M. This defines largest size of POST message which you are probably using during upload.
    • Check upload_max_filesize in php.ini. This specifies biggest file that can be uploaded.
    • Check memory_limit in php.ini. That’s the maximum amount of memory a script may consume. It’s quite obvious that it can’t be lower than upload size (to be honest I’m not quite sure about it-PHP is probably buffering while copying temporary files).
Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Please upload a zip file.’ is closed to new replies.