【问题标题】:Magento upload product errorMagento 上传产品错误
【发布时间】:2014-01-09 14:43:04
【问题描述】:

我是 Magento 的新手。当我在产品详细信息中将文件上传为“可下载产品”时,它正在完全上传并显示 100%。但是当我点击“保存”时,它会发出警报

There are files that were selected but not uploaded yet.
Please upload or remove them first.

实际文件大小为 70MB。如果我上传小文件,这里没问题。

哪里出错了?

【问题讨论】:

    标签: php magento upload


    【解决方案1】:

    upload_max_filesize 和 post_max_size 必须设置为相应的值。 配置php.ini

    upload_max_filesize = 1000M
    upload_tmp_dir = /tmp
    post_max_size = 1000M 
    

    【讨论】:

      【解决方案2】:

      尝试更改您的 .httacess 文件,在下面添加代码

      #Maximum allowed size for uploaded files.
      upload_max_filesize = 100M
      #Must be greater than or equal to upload_max_filesize
      post_max_size = 100M
      

      【讨论】:

        猜你喜欢
        • 1970-01-01
        • 2012-04-28
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        • 1970-01-01
        相关资源
        最近更新 更多