Magento上传产品错误

时间:2014-01-08 12:07:40

标签: php magento upload

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

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

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

哪里出错?

2 个答案:

答案 0 :(得分:1)

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

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

答案 1 :(得分:0)

尝试更改.htaccess文件,在

下面添加代码
#Maximum allowed size for uploaded files.
upload_max_filesize = 100M
#Must be greater than or equal to upload_max_filesize
post_max_size = 100M