Nicksxs
V2EX  ›  PHP

用 jQuery-File-Upload 上传图片时,碰到 File Upload Aborted 错误

  •  
  •   Nicksxs · Aug 25, 2015 · 3239 views
    This topic created in 4107 days ago, the information mentioned may be changed or developed.

    在 PHP 项目中使用 jQuery-File-Upload 上传图片,要求是上传图片可以多张,先是在浏览器端显示缩略图,然后一起上传,用 jQuery-File-Upload 时, xhr 返回的 response 中的错误信息是: File Upload Aborted ,

    2 replies  •  2015-09-29 10:38:13 +08:00
    cute
    cute
    Aug 25, 2015
    1
    检查下是不是设置的 timeout 时间太短?
    yuanalexwu
    yuanalexwu
    Sep 29, 2015
    2
    原因有很多,看你的 php.ini 设置里面,最大上传大小,以及 post 的最大限制大小,以及临时目录权限
    About   ·   Help   ·   Advertise   ·   Blog   ·   API   ·   FAQ   ·   Privacy   ·   Solana   ·   913 Online   Highest 6679   ·     Select Language
    创意工作者们的社区
    World is powered by solitude
    VERSION: 3.9.8.5 · 26ms · UTC 19:23 · PVG 03:23 · LAX 11:23 · JFK 14:23
    ♥ Do have faith in what you're doing.